@orq-ai/node 4.14.14 → 4.14.16

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 (126) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/evaluatorresponsefunction.js +2 -2
  5. package/models/components/evaluatorresponsehttp.js +2 -2
  6. package/models/components/evaluatorresponsejsonschema.js +2 -2
  7. package/models/components/evaluatorresponsellm.js +2 -2
  8. package/models/components/evaluatorresponsepython.js +2 -2
  9. package/models/components/evaluatorresponseragas.js +2 -2
  10. package/models/components/evaluatorresponsetypescript.js +2 -2
  11. package/models/components/reasoningpart.js +1 -1
  12. package/models/operations/createannotationqueue.js +1 -1
  13. package/models/operations/createdataset.js +1 -1
  14. package/models/operations/createdatasetitem.js +5 -5
  15. package/models/operations/createtool.js +4 -4
  16. package/models/operations/getalltools.js +4 -4
  17. package/models/operations/geteval.js +16 -16
  18. package/models/operations/getv2humanevalsets.js +2 -2
  19. package/models/operations/getv2humanevalsetsid.js +2 -2
  20. package/models/operations/listannotationqueues.js +1 -1
  21. package/models/operations/listdatasetdatapoints.js +5 -5
  22. package/models/operations/listdatasets.js +1 -1
  23. package/models/operations/listdatasources.js +1 -1
  24. package/models/operations/listdatasources.js.map +1 -1
  25. package/models/operations/patchv2humanevalsetsid.js +2 -2
  26. package/models/operations/postv2feedbackevaluation.js +4 -4
  27. package/models/operations/postv2humanevalsets.js +2 -2
  28. package/models/operations/retrieveannotationqueue.js +1 -1
  29. package/models/operations/retrievedatapoint.js +5 -5
  30. package/models/operations/retrievedataset.js +1 -1
  31. package/models/operations/retrievetool.js +4 -4
  32. package/models/operations/runagent.js +1 -1
  33. package/models/operations/streamrunagent.js +1 -1
  34. package/models/operations/updateannotationqueue.js +1 -1
  35. package/models/operations/updatedatapoint.js +5 -5
  36. package/models/operations/updatedataset.js +1 -1
  37. package/models/operations/updatetool.js +4 -4
  38. package/package.json +7 -7
  39. package/packages/orq-rc/src/funcs/budgetsCreate.ts +1 -1
  40. package/packages/orq-rc/src/funcs/budgetsDelete.ts +1 -1
  41. package/packages/orq-rc/src/funcs/budgetsGet.ts +1 -1
  42. package/packages/orq-rc/src/funcs/budgetsList.ts +1 -1
  43. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +1 -1
  44. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +1 -1
  45. package/packages/orq-rc/src/funcs/evalsCreate.ts +4 -5
  46. package/packages/orq-rc/src/funcs/evalsGet.ts +4 -5
  47. package/packages/orq-rc/src/funcs/evalsGetVersion.ts +4 -5
  48. package/packages/orq-rc/src/funcs/evalsInvoke.ts +4 -4
  49. package/packages/orq-rc/src/funcs/evalsUpdate.ts +4 -5
  50. package/packages/orq-rc/src/lib/config.ts +2 -2
  51. package/packages/orq-rc/src/models/components/budgetlimit.ts +11 -9
  52. package/packages/orq-rc/src/models/components/chatkitresource.ts +45 -0
  53. package/packages/orq-rc/src/models/components/chatkitresources.ts +36 -0
  54. package/packages/orq-rc/src/models/components/filter.ts +7 -9
  55. package/packages/orq-rc/src/models/components/index.ts +2 -3
  56. package/packages/orq-rc/src/models/components/managementkey.ts +3 -4
  57. package/packages/orq-rc/src/models/components/modelmetadata.ts +6 -0
  58. package/packages/orq-rc/src/models/components/modelsconfig.ts +11 -10
  59. package/packages/orq-rc/src/models/components/monitorfilter.ts +11 -7
  60. package/packages/orq-rc/src/models/components/queryreportrequest.ts +10 -11
  61. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  62. package/packages/orq-rc/src/models/components/responsemeta.ts +6 -7
  63. package/packages/orq-rc/src/models/components/updateworkspacerequest.ts +9 -0
  64. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  65. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
  66. package/packages/orq-rc/src/models/operations/createeval.ts +25 -0
  67. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  68. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  69. package/packages/orq-rc/src/models/operations/geteval.ts +25 -0
  70. package/packages/orq-rc/src/models/operations/getevalversion.ts +25 -0
  71. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  72. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  73. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  74. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  75. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  76. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  77. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
  79. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  80. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  81. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  82. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  83. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
  84. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  85. package/packages/orq-rc/src/models/operations/updateeval.ts +25 -0
  86. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  87. package/packages/orq-rc/src/sdk/budgets.ts +6 -6
  88. package/packages/orq-rc/src/sdk/evals.ts +5 -5
  89. package/packages/orq-rc/src/sdk/sdk.ts +15 -15
  90. package/src/lib/config.ts +2 -2
  91. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  92. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  93. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  94. package/src/models/components/evaluatorresponsellm.ts +2 -2
  95. package/src/models/components/evaluatorresponsepython.ts +2 -2
  96. package/src/models/components/evaluatorresponseragas.ts +2 -2
  97. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  98. package/src/models/components/reasoningpart.ts +1 -1
  99. package/src/models/operations/createannotationqueue.ts +1 -1
  100. package/src/models/operations/createdataset.ts +1 -1
  101. package/src/models/operations/createdatasetitem.ts +5 -5
  102. package/src/models/operations/createtool.ts +4 -4
  103. package/src/models/operations/getalltools.ts +4 -4
  104. package/src/models/operations/geteval.ts +16 -16
  105. package/src/models/operations/getv2humanevalsets.ts +2 -2
  106. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  107. package/src/models/operations/listannotationqueues.ts +1 -1
  108. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  109. package/src/models/operations/listdatasets.ts +1 -1
  110. package/src/models/operations/listdatasources.ts +1 -1
  111. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  112. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  113. package/src/models/operations/postv2humanevalsets.ts +2 -2
  114. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  115. package/src/models/operations/retrievedatapoint.ts +5 -5
  116. package/src/models/operations/retrievedataset.ts +1 -1
  117. package/src/models/operations/retrievetool.ts +4 -4
  118. package/src/models/operations/runagent.ts +1 -1
  119. package/src/models/operations/streamrunagent.ts +1 -1
  120. package/src/models/operations/updateannotationqueue.ts +1 -1
  121. package/src/models/operations/updatedatapoint.ts +5 -5
  122. package/src/models/operations/updatedataset.ts +1 -1
  123. package/src/models/operations/updatetool.ts +4 -4
  124. package/packages/orq-rc/src/models/components/evaluatordocumentresponse.ts +0 -50
  125. package/packages/orq-rc/src/models/components/getevaluatorversionresponse.ts +0 -58
  126. package/packages/orq-rc/src/models/components/invokeevaluatorresponse.ts +0 -47
@@ -74,6 +74,8 @@ export * from "./budgetusage.js";
74
74
  export * from "./cacheconfig.js";
75
75
  export * from "./callsubagenttoolinput.js";
76
76
  export * from "./capabilitiesresponse.js";
77
+ export * from "./chatkitresource.js";
78
+ export * from "./chatkitresources.js";
77
79
  export * from "./chunk.js";
78
80
  export * from "./chunkingcleanupoptions.js";
79
81
  export * from "./chunkingconfiguration.js";
@@ -184,7 +186,6 @@ export * from "./errorpart.js";
184
186
  export * from "./errorstreamingevent.js";
185
187
  export * from "./evaluationcontext.js";
186
188
  export * from "./evaluationresult.js";
187
- export * from "./evaluatordocumentresponse.js";
188
189
  export * from "./evaluatorref.js";
189
190
  export * from "./executionnamedstreamingevent.js";
190
191
  export * from "./executionreviewedstreamingevent.js";
@@ -212,7 +213,6 @@ export * from "./generatewebhooksecretresponse.js";
212
213
  export * from "./getagentresponse.js";
213
214
  export * from "./getalertresponse.js";
214
215
  export * from "./getbudgetresponse.js";
215
- export * from "./getevaluatorversionresponse.js";
216
216
  export * from "./getfilecontentresponse.js";
217
217
  export * from "./getfileresponse.js";
218
218
  export * from "./getguardrailruleresponse.js";
@@ -255,7 +255,6 @@ export * from "./incompletedetails.js";
255
255
  export * from "./inputtokensdetails.js";
256
256
  export * from "./internalretrievalconfig.js";
257
257
  export * from "./invokeevaluatorrequest.js";
258
- export * from "./invokeevaluatorresponse.js";
259
258
  export * from "./ipallowlist.js";
260
259
  export * from "./iprange.js";
261
260
  export * from "./jsonschematoolinput.js";
@@ -43,10 +43,9 @@ export type ManagementKey = {
43
43
  * Per-domain access map. Only populated when `permission_mode` is
44
44
  *
45
45
  * @remarks
46
- * `MANAGEMENT_PERMISSION_MODE_RESTRICTED`. Valid keys are the Domain.id
47
- * values in the management capability catalog — see
48
- * libs/catalog/orq/managementkeys/v1/catalog.textpb for the canonical
49
- * list.
46
+ * `MANAGEMENT_PERMISSION_MODE_RESTRICTED`. The authoritative list of
47
+ * valid keys (Domain.id values) is returned by the List management
48
+ * capability catalog endpoint (GET /v2/management-keys/capabilities).
50
49
  */
51
50
  access?: { [k: string]: AccessLevel } | undefined;
52
51
  /**
@@ -41,6 +41,7 @@ export type ModelMetadata = {
41
41
  embeddingDimensions?: number | undefined;
42
42
  extendedContextPricingMode?: string | undefined;
43
43
  extendedContextThreshold?: number | undefined;
44
+ functionToolsRequireEffortNone?: boolean | undefined;
44
45
  generateAudio?: boolean | undefined;
45
46
  imageInputCost?: number | undefined;
46
47
  imageOutputCost?: number | undefined;
@@ -172,6 +173,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
172
173
  embedding_dimensions: z.number().int().optional(),
173
174
  extended_context_pricing_mode: z.string().optional(),
174
175
  extended_context_threshold: z.number().int().optional(),
176
+ function_tools_require_effort_none: z.boolean().optional(),
175
177
  generate_audio: z.boolean().optional(),
176
178
  image_input_cost: z.number().optional(),
177
179
  image_output_cost: z.number().optional(),
@@ -297,6 +299,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
297
299
  "embedding_dimensions": "embeddingDimensions",
298
300
  "extended_context_pricing_mode": "extendedContextPricingMode",
299
301
  "extended_context_threshold": "extendedContextThreshold",
302
+ "function_tools_require_effort_none": "functionToolsRequireEffortNone",
300
303
  "generate_audio": "generateAudio",
301
304
  "image_input_cost": "imageInputCost",
302
305
  "image_output_cost": "imageOutputCost",
@@ -424,6 +427,7 @@ export type ModelMetadata$Outbound = {
424
427
  embedding_dimensions?: number | undefined;
425
428
  extended_context_pricing_mode?: string | undefined;
426
429
  extended_context_threshold?: number | undefined;
430
+ function_tools_require_effort_none?: boolean | undefined;
427
431
  generate_audio?: boolean | undefined;
428
432
  image_input_cost?: number | undefined;
429
433
  image_output_cost?: number | undefined;
@@ -557,6 +561,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
557
561
  embeddingDimensions: z.number().int().optional(),
558
562
  extendedContextPricingMode: z.string().optional(),
559
563
  extendedContextThreshold: z.number().int().optional(),
564
+ functionToolsRequireEffortNone: z.boolean().optional(),
560
565
  generateAudio: z.boolean().optional(),
561
566
  imageInputCost: z.number().optional(),
562
567
  imageOutputCost: z.number().optional(),
@@ -682,6 +687,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
682
687
  embeddingDimensions: "embedding_dimensions",
683
688
  extendedContextPricingMode: "extended_context_pricing_mode",
684
689
  extendedContextThreshold: "extended_context_threshold",
690
+ functionToolsRequireEffortNone: "function_tools_require_effort_none",
685
691
  generateAudio: "generate_audio",
686
692
  imageInputCost: "image_input_cost",
687
693
  imageOutputCost: "image_output_cost",
@@ -14,26 +14,27 @@ import {
14
14
  ModelRef$outboundSchema,
15
15
  } from "./modelref.js";
16
16
 
17
- export const Mode = {
17
+ export const ModelsConfigMode = {
18
18
  Fallback: "fallback",
19
19
  LatencyBased: "latency_based",
20
20
  Weighted: "weighted",
21
21
  RoundRobin: "round_robin",
22
22
  } as const;
23
- export type Mode = ClosedEnum<typeof Mode>;
23
+ export type ModelsConfigMode = ClosedEnum<typeof ModelsConfigMode>;
24
24
 
25
25
  export type ModelsConfig = {
26
- mode: Mode;
26
+ mode: ModelsConfigMode;
27
27
  models: Array<ModelRef> | null;
28
28
  };
29
29
 
30
30
  /** @internal */
31
- export const Mode$inboundSchema: z.ZodNativeEnum<typeof Mode> = z.nativeEnum(
32
- Mode,
33
- );
31
+ export const ModelsConfigMode$inboundSchema: z.ZodNativeEnum<
32
+ typeof ModelsConfigMode
33
+ > = z.nativeEnum(ModelsConfigMode);
34
34
  /** @internal */
35
- export const Mode$outboundSchema: z.ZodNativeEnum<typeof Mode> =
36
- Mode$inboundSchema;
35
+ export const ModelsConfigMode$outboundSchema: z.ZodNativeEnum<
36
+ typeof ModelsConfigMode
37
+ > = ModelsConfigMode$inboundSchema;
37
38
 
38
39
  /** @internal */
39
40
  export const ModelsConfig$inboundSchema: z.ZodType<
@@ -41,7 +42,7 @@ export const ModelsConfig$inboundSchema: z.ZodType<
41
42
  z.ZodTypeDef,
42
43
  unknown
43
44
  > = z.object({
44
- mode: Mode$inboundSchema,
45
+ mode: ModelsConfigMode$inboundSchema,
45
46
  models: z.nullable(z.array(ModelRef$inboundSchema)),
46
47
  });
47
48
  /** @internal */
@@ -56,7 +57,7 @@ export const ModelsConfig$outboundSchema: z.ZodType<
56
57
  z.ZodTypeDef,
57
58
  ModelsConfig
58
59
  > = z.object({
59
- mode: Mode$outboundSchema,
60
+ mode: ModelsConfigMode$outboundSchema,
60
61
  models: z.nullable(z.array(ModelRef$outboundSchema)),
61
62
  });
62
63
 
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
  /**
12
12
  * Predicate operator. `eq` and `neq` accept exactly one value; `in` and `not_in` accept 1-100 values.
13
13
  */
14
- export const Op = {
14
+ export const MonitorFilterOp = {
15
15
  Eq: "eq",
16
16
  Neq: "neq",
17
17
  In: "in",
@@ -28,7 +28,7 @@ export const Op = {
28
28
  /**
29
29
  * Predicate operator. `eq` and `neq` accept exactly one value; `in` and `not_in` accept 1-100 values.
30
30
  */
31
- export type Op = ClosedEnum<typeof Op>;
31
+ export type MonitorFilterOp = ClosedEnum<typeof MonitorFilterOp>;
32
32
 
33
33
  export type MonitorFilter = {
34
34
  /**
@@ -41,7 +41,7 @@ export type MonitorFilter = {
41
41
  /**
42
42
  * Predicate operator. `eq` and `neq` accept exactly one value; `in` and `not_in` accept 1-100 values.
43
43
  */
44
- op: Op;
44
+ op: MonitorFilterOp;
45
45
  /**
46
46
  * Values compared against the selected field.
47
47
  */
@@ -49,9 +49,13 @@ export type MonitorFilter = {
49
49
  };
50
50
 
51
51
  /** @internal */
52
- export const Op$inboundSchema: z.ZodNativeEnum<typeof Op> = z.nativeEnum(Op);
52
+ export const MonitorFilterOp$inboundSchema: z.ZodNativeEnum<
53
+ typeof MonitorFilterOp
54
+ > = z.nativeEnum(MonitorFilterOp);
53
55
  /** @internal */
54
- export const Op$outboundSchema: z.ZodNativeEnum<typeof Op> = Op$inboundSchema;
56
+ export const MonitorFilterOp$outboundSchema: z.ZodNativeEnum<
57
+ typeof MonitorFilterOp
58
+ > = MonitorFilterOp$inboundSchema;
55
59
 
56
60
  /** @internal */
57
61
  export const MonitorFilter$inboundSchema: z.ZodType<
@@ -60,7 +64,7 @@ export const MonitorFilter$inboundSchema: z.ZodType<
60
64
  unknown
61
65
  > = z.object({
62
66
  field: z.string(),
63
- op: Op$inboundSchema,
67
+ op: MonitorFilterOp$inboundSchema,
64
68
  values: z.array(z.string()),
65
69
  });
66
70
  /** @internal */
@@ -77,7 +81,7 @@ export const MonitorFilter$outboundSchema: z.ZodType<
77
81
  MonitorFilter
78
82
  > = z.object({
79
83
  field: z.string(),
80
- op: Op$outboundSchema,
84
+ op: MonitorFilterOp$outboundSchema,
81
85
  values: z.array(z.string()),
82
86
  });
83
87
 
@@ -98,14 +98,14 @@ export type GroupBy = ClosedEnum<typeof GroupBy>;
98
98
  /**
99
99
  * Value shaping. `timeseries` (default) buckets by time; `scalar` returns one aggregated row per group over the whole window, ordered by value (top list), or a single row when `group_by` is empty.
100
100
  */
101
- export const QueryReportRequestMode = {
101
+ export const Mode = {
102
102
  Timeseries: "timeseries",
103
103
  Scalar: "scalar",
104
104
  } as const;
105
105
  /**
106
106
  * Value shaping. `timeseries` (default) buckets by time; `scalar` returns one aggregated row per group over the whole window, ordered by value (top list), or a single row when `group_by` is empty.
107
107
  */
108
- export type QueryReportRequestMode = ClosedEnum<typeof QueryReportRequestMode>;
108
+ export type Mode = ClosedEnum<typeof Mode>;
109
109
 
110
110
  /**
111
111
  * Value ordering for `scalar` rows. Defaults to `desc`. Ignored for `timeseries`.
@@ -168,7 +168,7 @@ export type QueryReportRequest = {
168
168
  /**
169
169
  * Value shaping. `timeseries` (default) buckets by time; `scalar` returns one aggregated row per group over the whole window, ordered by value (top list), or a single row when `group_by` is empty.
170
170
  */
171
- mode?: QueryReportRequestMode | undefined;
171
+ mode?: Mode | undefined;
172
172
  /**
173
173
  * Value ordering for `scalar` rows. Defaults to `desc`. Ignored for `timeseries`.
174
174
  */
@@ -198,13 +198,12 @@ export const GroupBy$outboundSchema: z.ZodNativeEnum<typeof GroupBy> =
198
198
  GroupBy$inboundSchema;
199
199
 
200
200
  /** @internal */
201
- export const QueryReportRequestMode$inboundSchema: z.ZodNativeEnum<
202
- typeof QueryReportRequestMode
203
- > = z.nativeEnum(QueryReportRequestMode);
201
+ export const Mode$inboundSchema: z.ZodNativeEnum<typeof Mode> = z.nativeEnum(
202
+ Mode,
203
+ );
204
204
  /** @internal */
205
- export const QueryReportRequestMode$outboundSchema: z.ZodNativeEnum<
206
- typeof QueryReportRequestMode
207
- > = QueryReportRequestMode$inboundSchema;
205
+ export const Mode$outboundSchema: z.ZodNativeEnum<typeof Mode> =
206
+ Mode$inboundSchema;
208
207
 
209
208
  /** @internal */
210
209
  export const Sort$inboundSchema: z.ZodNativeEnum<typeof Sort> = z.nativeEnum(
@@ -229,7 +228,7 @@ export const QueryReportRequest$inboundSchema: z.ZodType<
229
228
  limit: z.number().int().optional(),
230
229
  time_zone: z.string().optional(),
231
230
  include_totals: z.boolean().optional(),
232
- mode: QueryReportRequestMode$inboundSchema.optional(),
231
+ mode: Mode$inboundSchema.optional(),
233
232
  sort: Sort$inboundSchema.optional(),
234
233
  }).transform((v) => {
235
234
  return remap$(v, {
@@ -268,7 +267,7 @@ export const QueryReportRequest$outboundSchema: z.ZodType<
268
267
  limit: z.number().int().optional(),
269
268
  timeZone: z.string().optional(),
270
269
  includeTotals: z.boolean().optional(),
271
- mode: QueryReportRequestMode$outboundSchema.optional(),
270
+ mode: Mode$outboundSchema.optional(),
272
271
  sort: Sort$outboundSchema.optional(),
273
272
  }).transform((v) => {
274
273
  return remap$(v, {
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m1xdkt572wktzyzf357vb18b"),
43
+ _id: z.string().default("reasoning_01m25cqy72hdbb584nnv79jg21"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -25,13 +25,13 @@ export type EffectiveGrain = ClosedEnum<typeof EffectiveGrain>;
25
25
  /**
26
26
  * ISO 4217 currency code for cost fields. Always `USD` today.
27
27
  */
28
- export const ResponseMetaCurrency = {
28
+ export const Currency = {
29
29
  Usd: "USD",
30
30
  } as const;
31
31
  /**
32
32
  * ISO 4217 currency code for cost fields. Always `USD` today.
33
33
  */
34
- export type ResponseMetaCurrency = ClosedEnum<typeof ResponseMetaCurrency>;
34
+ export type Currency = ClosedEnum<typeof Currency>;
35
35
 
36
36
  export type ResponseMeta = {
37
37
  /**
@@ -56,7 +56,7 @@ export type ResponseMeta = {
56
56
  /**
57
57
  * ISO 4217 currency code for cost fields. Always `USD` today.
58
58
  */
59
- currency?: ResponseMetaCurrency | undefined;
59
+ currency?: Currency | undefined;
60
60
  /**
61
61
  * Non-fatal warnings about the response. May contain `totals_unavailable` when totals were requested but failed.
62
62
  */
@@ -69,9 +69,8 @@ export const EffectiveGrain$inboundSchema: z.ZodNativeEnum<
69
69
  > = z.nativeEnum(EffectiveGrain);
70
70
 
71
71
  /** @internal */
72
- export const ResponseMetaCurrency$inboundSchema: z.ZodNativeEnum<
73
- typeof ResponseMetaCurrency
74
- > = z.nativeEnum(ResponseMetaCurrency);
72
+ export const Currency$inboundSchema: z.ZodNativeEnum<typeof Currency> = z
73
+ .nativeEnum(Currency);
75
74
 
76
75
  /** @internal */
77
76
  export const ResponseMeta$inboundSchema: z.ZodType<
@@ -82,7 +81,7 @@ export const ResponseMeta$inboundSchema: z.ZodType<
82
81
  effective_grain: EffectiveGrain$inboundSchema.optional(),
83
82
  row_count: z.number().int().optional(),
84
83
  request_id: z.string().optional(),
85
- currency: ResponseMetaCurrency$inboundSchema.optional(),
84
+ currency: Currency$inboundSchema.optional(),
86
85
  warnings: z.array(z.string()).optional(),
87
86
  }).transform((v) => {
88
87
  return remap$(v, {
@@ -4,6 +4,11 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
+ import {
8
+ ChatKitResources,
9
+ ChatKitResources$Outbound,
10
+ ChatKitResources$outboundSchema,
11
+ } from "./chatkitresources.js";
7
12
  import {
8
13
  WorkspaceSettingsFields,
9
14
  WorkspaceSettingsFields$Outbound,
@@ -19,6 +24,7 @@ export type UpdateWorkspaceRequest = {
19
24
  settings?: WorkspaceSettingsFields | undefined;
20
25
  metadata?: UpdateWorkspaceRequestMetadata | undefined;
21
26
  enforceEnabledModels?: boolean | undefined;
27
+ chatKit?: ChatKitResources | undefined;
22
28
  };
23
29
 
24
30
  /** @internal */
@@ -49,6 +55,7 @@ export type UpdateWorkspaceRequest$Outbound = {
49
55
  settings?: WorkspaceSettingsFields$Outbound | undefined;
50
56
  metadata?: UpdateWorkspaceRequestMetadata$Outbound | undefined;
51
57
  enforce_enabled_models?: boolean | undefined;
58
+ chat_kit?: ChatKitResources$Outbound | undefined;
52
59
  };
53
60
 
54
61
  /** @internal */
@@ -64,11 +71,13 @@ export const UpdateWorkspaceRequest$outboundSchema: z.ZodType<
64
71
  metadata: z.lazy(() => UpdateWorkspaceRequestMetadata$outboundSchema)
65
72
  .optional(),
66
73
  enforceEnabledModels: z.boolean().optional(),
74
+ chatKit: ChatKitResources$outboundSchema.optional(),
67
75
  }).transform((v) => {
68
76
  return remap$(v, {
69
77
  displayName: "display_name",
70
78
  logoUrl: "logo_url",
71
79
  enforceEnabledModels: "enforce_enabled_models",
80
+ chatKit: "chat_kit",
72
81
  });
73
82
  });
74
83
 
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-09-07T07:51:27.604Z",
141
+ "2026-09-10T10:10:11.267Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2739,7 +2739,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
2739
2739
  explanation: z.string().optional(),
2740
2740
  reviewed_by_id: z.string(),
2741
2741
  reviewed_at: z.string().datetime({ offset: true }).default(
2742
- "2026-09-07T07:51:36.525Z",
2742
+ "2026-09-10T10:10:18.606Z",
2743
2743
  ).transform(v => new Date(v)),
2744
2744
  type: z.literal("string_array"),
2745
2745
  values: z.array(z.string()),
@@ -2829,7 +2829,7 @@ export const CreateDatasetItemEvaluations3$inboundSchema: z.ZodType<
2829
2829
  explanation: z.string().optional(),
2830
2830
  reviewed_by_id: z.string(),
2831
2831
  reviewed_at: z.string().datetime({ offset: true }).default(
2832
- "2026-09-07T07:51:36.525Z",
2832
+ "2026-09-10T10:10:18.606Z",
2833
2833
  ).transform(v => new Date(v)),
2834
2834
  type: z.literal("boolean"),
2835
2835
  value: z.boolean(),
@@ -2914,7 +2914,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2914
2914
  explanation: z.string().optional(),
2915
2915
  reviewed_by_id: z.string(),
2916
2916
  reviewed_at: z.string().datetime({ offset: true }).default(
2917
- "2026-09-07T07:51:36.524Z",
2917
+ "2026-09-10T10:10:18.606Z",
2918
2918
  ).transform(v => new Date(v)),
2919
2919
  type: z.literal("number"),
2920
2920
  value: z.number(),
@@ -3000,7 +3000,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
3000
3000
  explanation: z.string().optional(),
3001
3001
  reviewed_by_id: z.string(),
3002
3002
  reviewed_at: z.string().datetime({ offset: true }).default(
3003
- "2026-09-07T07:51:36.524Z",
3003
+ "2026-09-10T10:10:18.606Z",
3004
3004
  ).transform(v => new Date(v)),
3005
3005
  type: z.literal("string"),
3006
3006
  value: z.string(),
@@ -3087,7 +3087,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
3087
3087
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3088
3088
  .optional(),
3089
3089
  updated: z.string().datetime({ offset: true }).default(
3090
- "2026-09-07T07:51:27.604Z",
3090
+ "2026-09-10T10:10:11.267Z",
3091
3091
  ).transform(v => new Date(v)),
3092
3092
  }).transform((v) => {
3093
3093
  return remap$(v, {
@@ -3,9 +3,17 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
9
 
7
10
  export type CreateEvalRequestBody = {};
8
11
 
12
+ /**
13
+ * OK
14
+ */
15
+ export type CreateEvalResponseBody = {};
16
+
9
17
  /** @internal */
10
18
  export type CreateEvalRequestBody$Outbound = {};
11
19
 
@@ -23,3 +31,20 @@ export function createEvalRequestBodyToJSON(
23
31
  CreateEvalRequestBody$outboundSchema.parse(createEvalRequestBody),
24
32
  );
25
33
  }
34
+
35
+ /** @internal */
36
+ export const CreateEvalResponseBody$inboundSchema: z.ZodType<
37
+ CreateEvalResponseBody,
38
+ z.ZodTypeDef,
39
+ unknown
40
+ > = z.object({});
41
+
42
+ export function createEvalResponseBodyFromJSON(
43
+ jsonString: string,
44
+ ): SafeParseResult<CreateEvalResponseBody, SDKValidationError> {
45
+ return safeParse(
46
+ jsonString,
47
+ (x) => CreateEvalResponseBody$inboundSchema.parse(JSON.parse(x)),
48
+ `Failed to parse 'CreateEvalResponseBody' from JSON`,
49
+ );
50
+ }
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1573
1573
  z.ZodTypeDef,
1574
1574
  unknown
1575
1575
  > = z.object({
1576
- _id: z.string().default("tool_01M1XDKT9CY8ZRTMW98Y118KTZ"),
1576
+ _id: z.string().default("tool_01M25CQYAKBKBPZEM2T9RFT5T6"),
1577
1577
  path: z.string(),
1578
1578
  key: z.string(),
1579
1579
  display_name: z.string().optional(),
@@ -1759,7 +1759,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1759
1759
  z.ZodTypeDef,
1760
1760
  unknown
1761
1761
  > = z.object({
1762
- _id: z.string().default("tool_01M1XDKT9B7BFKKPA3BR3NNS66"),
1762
+ _id: z.string().default("tool_01M25CQYAKZA1MFJE0ZVCZ14GA"),
1763
1763
  path: z.string(),
1764
1764
  key: z.string(),
1765
1765
  display_name: z.string().optional(),
@@ -1852,7 +1852,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1852
1852
  z.ZodTypeDef,
1853
1853
  unknown
1854
1854
  > = z.object({
1855
- _id: z.string().default("tool_01M1XDKT9AHR23411PCPT9E869"),
1855
+ _id: z.string().default("tool_01M25CQYAJVTTBXCZ0S3CEBKEJ"),
1856
1856
  path: z.string(),
1857
1857
  key: z.string(),
1858
1858
  display_name: z.string().optional(),
@@ -1953,7 +1953,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1953
1953
  z.ZodTypeDef,
1954
1954
  unknown
1955
1955
  > = z.object({
1956
- _id: z.string().default("tool_01M1XDKT9APB3FP7H24JEN5Z59"),
1956
+ _id: z.string().default("tool_01M25CQYAJ2K8VSR7MPQDX6RE6"),
1957
1957
  path: z.string(),
1958
1958
  key: z.string(),
1959
1959
  display_name: z.string().optional(),
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M1XDKT94B27RRYKY4P4GVG5K"),
642
+ _id: z.string().default("tool_01M25CQYAE15YYN1RVPCJZQZY1"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M1XDKT93J1BWT6ZBWC3J14Q6"),
824
+ _id: z.string().default("tool_01M25CQYADENXYCC0RV8BKW1PR"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M1XDKT921FCA6WBXD0Q24TZ2"),
917
+ _id: z.string().default("tool_01M25CQYADPEVFKRTR66Y2PGK7"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M1XDKT91W4GJ6H2D16Z86S02"),
1015
+ _id: z.string().default("tool_01M25CQYACZR0QXBWZCY28QX9V"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -3,11 +3,19 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
9
 
7
10
  export type GetEvalRequest = {
8
11
  id: string;
9
12
  };
10
13
 
14
+ /**
15
+ * OK
16
+ */
17
+ export type GetEvalResponseBody = {};
18
+
11
19
  /** @internal */
12
20
  export type GetEvalRequest$Outbound = {
13
21
  id: string;
@@ -25,3 +33,20 @@ export const GetEvalRequest$outboundSchema: z.ZodType<
25
33
  export function getEvalRequestToJSON(getEvalRequest: GetEvalRequest): string {
26
34
  return JSON.stringify(GetEvalRequest$outboundSchema.parse(getEvalRequest));
27
35
  }
36
+
37
+ /** @internal */
38
+ export const GetEvalResponseBody$inboundSchema: z.ZodType<
39
+ GetEvalResponseBody,
40
+ z.ZodTypeDef,
41
+ unknown
42
+ > = z.object({});
43
+
44
+ export function getEvalResponseBodyFromJSON(
45
+ jsonString: string,
46
+ ): SafeParseResult<GetEvalResponseBody, SDKValidationError> {
47
+ return safeParse(
48
+ jsonString,
49
+ (x) => GetEvalResponseBody$inboundSchema.parse(JSON.parse(x)),
50
+ `Failed to parse 'GetEvalResponseBody' from JSON`,
51
+ );
52
+ }
@@ -4,12 +4,20 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
7
10
 
8
11
  export type GetEvalVersionRequest = {
9
12
  id: string;
10
13
  versionId: string;
11
14
  };
12
15
 
16
+ /**
17
+ * OK
18
+ */
19
+ export type GetEvalVersionResponseBody = {};
20
+
13
21
  /** @internal */
14
22
  export type GetEvalVersionRequest$Outbound = {
15
23
  id: string;
@@ -37,3 +45,20 @@ export function getEvalVersionRequestToJSON(
37
45
  GetEvalVersionRequest$outboundSchema.parse(getEvalVersionRequest),
38
46
  );
39
47
  }
48
+
49
+ /** @internal */
50
+ export const GetEvalVersionResponseBody$inboundSchema: z.ZodType<
51
+ GetEvalVersionResponseBody,
52
+ z.ZodTypeDef,
53
+ unknown
54
+ > = z.object({});
55
+
56
+ export function getEvalVersionResponseBodyFromJSON(
57
+ jsonString: string,
58
+ ): SafeParseResult<GetEvalVersionResponseBody, SDKValidationError> {
59
+ return safeParse(
60
+ jsonString,
61
+ (x) => GetEvalVersionResponseBody$inboundSchema.parse(JSON.parse(x)),
62
+ `Failed to parse 'GetEvalVersionResponseBody' from JSON`,
63
+ );
64
+ }
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-09-07T07:51:27.604Z",
143
+ "2026-09-10T10:10:11.267Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-09-07T07:51:27.604Z",
188
+ "2026-09-10T10:10:11.267Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-09-07T07:51:27.604Z",
144
+ "2026-09-10T10:10:11.267Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-09-07T07:51:27.604Z",
189
+ "2026-09-10T10:10:11.267Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),