@orq-ai/node 4.15.0-rc.25 → 4.15.0-rc.27

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 (138) hide show
  1. package/funcs/budgetsCreate.d.ts +1 -1
  2. package/funcs/budgetsCreate.js +1 -1
  3. package/funcs/budgetsDelete.d.ts +1 -1
  4. package/funcs/budgetsDelete.js +1 -1
  5. package/funcs/budgetsGet.d.ts +1 -1
  6. package/funcs/budgetsGet.js +1 -1
  7. package/funcs/budgetsList.d.ts +1 -1
  8. package/funcs/budgetsList.js +1 -1
  9. package/funcs/budgetsResetConsumption.d.ts +1 -1
  10. package/funcs/budgetsResetConsumption.js +1 -1
  11. package/funcs/budgetsUpdate.d.ts +1 -1
  12. package/funcs/budgetsUpdate.js +1 -1
  13. package/funcs/evalsCreate.d.ts +1 -2
  14. package/funcs/evalsCreate.d.ts.map +1 -1
  15. package/funcs/evalsCreate.js +2 -2
  16. package/funcs/evalsCreate.js.map +1 -1
  17. package/funcs/evalsGet.d.ts +1 -2
  18. package/funcs/evalsGet.d.ts.map +1 -1
  19. package/funcs/evalsGet.js +1 -2
  20. package/funcs/evalsGet.js.map +1 -1
  21. package/funcs/evalsGetVersion.d.ts +1 -2
  22. package/funcs/evalsGetVersion.d.ts.map +1 -1
  23. package/funcs/evalsGetVersion.js +1 -2
  24. package/funcs/evalsGetVersion.js.map +1 -1
  25. package/funcs/evalsInvoke.d.ts +1 -1
  26. package/funcs/evalsInvoke.d.ts.map +1 -1
  27. package/funcs/evalsInvoke.js +1 -1
  28. package/funcs/evalsInvoke.js.map +1 -1
  29. package/funcs/evalsUpdate.d.ts +1 -2
  30. package/funcs/evalsUpdate.d.ts.map +1 -1
  31. package/funcs/evalsUpdate.js +1 -2
  32. package/funcs/evalsUpdate.js.map +1 -1
  33. package/jsr.json +1 -1
  34. package/lib/config.d.ts +2 -2
  35. package/lib/config.js +2 -2
  36. package/models/components/index.d.ts +0 -3
  37. package/models/components/index.d.ts.map +1 -1
  38. package/models/components/index.js +0 -3
  39. package/models/components/index.js.map +1 -1
  40. package/models/components/managementkey.d.ts +3 -4
  41. package/models/components/managementkey.d.ts.map +1 -1
  42. package/models/components/managementkey.js.map +1 -1
  43. package/models/components/reasoningpart.js +1 -1
  44. package/models/operations/createdataset.js +1 -1
  45. package/models/operations/createdatasetitem.js +5 -5
  46. package/models/operations/createeval.d.ts +9 -0
  47. package/models/operations/createeval.d.ts.map +1 -1
  48. package/models/operations/createeval.js +8 -1
  49. package/models/operations/createeval.js.map +1 -1
  50. package/models/operations/createtool.js +4 -4
  51. package/models/operations/getalltools.js +4 -4
  52. package/models/operations/geteval.d.ts +9 -0
  53. package/models/operations/geteval.d.ts.map +1 -1
  54. package/models/operations/geteval.js +8 -1
  55. package/models/operations/geteval.js.map +1 -1
  56. package/models/operations/getevalversion.d.ts +9 -0
  57. package/models/operations/getevalversion.d.ts.map +1 -1
  58. package/models/operations/getevalversion.js +8 -1
  59. package/models/operations/getevalversion.js.map +1 -1
  60. package/models/operations/getv2humanevalsets.js +2 -2
  61. package/models/operations/getv2humanevalsetsid.js +2 -2
  62. package/models/operations/listdatasetdatapoints.js +5 -5
  63. package/models/operations/listdatasets.js +1 -1
  64. package/models/operations/patchv2humanevalsetsid.js +2 -2
  65. package/models/operations/postv2feedbackevaluation.js +4 -4
  66. package/models/operations/postv2humanevalsets.js +2 -2
  67. package/models/operations/retrievedatapoint.js +5 -5
  68. package/models/operations/retrievedataset.js +1 -1
  69. package/models/operations/retrievetool.js +4 -4
  70. package/models/operations/runagent.js +1 -1
  71. package/models/operations/streamrunagent.js +1 -1
  72. package/models/operations/updatedatapoint.js +5 -5
  73. package/models/operations/updatedataset.js +1 -1
  74. package/models/operations/updateeval.d.ts +9 -0
  75. package/models/operations/updateeval.d.ts.map +1 -1
  76. package/models/operations/updateeval.js +8 -1
  77. package/models/operations/updateeval.js.map +1 -1
  78. package/models/operations/updatetool.js +4 -4
  79. package/package.json +5 -5
  80. package/sdk/budgets.d.ts +6 -6
  81. package/sdk/budgets.js +6 -6
  82. package/sdk/evals.d.ts +5 -5
  83. package/sdk/evals.d.ts.map +1 -1
  84. package/src/funcs/budgetsCreate.ts +1 -1
  85. package/src/funcs/budgetsDelete.ts +1 -1
  86. package/src/funcs/budgetsGet.ts +1 -1
  87. package/src/funcs/budgetsList.ts +1 -1
  88. package/src/funcs/budgetsResetConsumption.ts +1 -1
  89. package/src/funcs/budgetsUpdate.ts +1 -1
  90. package/src/funcs/evalsCreate.ts +4 -5
  91. package/src/funcs/evalsGet.ts +4 -5
  92. package/src/funcs/evalsGetVersion.ts +4 -5
  93. package/src/funcs/evalsInvoke.ts +4 -4
  94. package/src/funcs/evalsUpdate.ts +4 -5
  95. package/src/lib/config.ts +2 -2
  96. package/src/models/components/index.ts +0 -3
  97. package/src/models/components/managementkey.ts +3 -4
  98. package/src/models/components/reasoningpart.ts +1 -1
  99. package/src/models/operations/createdataset.ts +1 -1
  100. package/src/models/operations/createdatasetitem.ts +5 -5
  101. package/src/models/operations/createeval.ts +25 -0
  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 +25 -0
  105. package/src/models/operations/getevalversion.ts +25 -0
  106. package/src/models/operations/getv2humanevalsets.ts +2 -2
  107. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  108. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  109. package/src/models/operations/listdatasets.ts +1 -1
  110. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  111. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  112. package/src/models/operations/postv2humanevalsets.ts +2 -2
  113. package/src/models/operations/retrievedatapoint.ts +5 -5
  114. package/src/models/operations/retrievedataset.ts +1 -1
  115. package/src/models/operations/retrievetool.ts +4 -4
  116. package/src/models/operations/runagent.ts +1 -1
  117. package/src/models/operations/streamrunagent.ts +1 -1
  118. package/src/models/operations/updatedatapoint.ts +5 -5
  119. package/src/models/operations/updatedataset.ts +1 -1
  120. package/src/models/operations/updateeval.ts +25 -0
  121. package/src/models/operations/updatetool.ts +4 -4
  122. package/src/sdk/budgets.ts +6 -6
  123. package/src/sdk/evals.ts +5 -5
  124. package/models/components/evaluatordocumentresponse.d.ts +0 -14
  125. package/models/components/evaluatordocumentresponse.d.ts.map +0 -1
  126. package/models/components/evaluatordocumentresponse.js +0 -56
  127. package/models/components/evaluatordocumentresponse.js.map +0 -1
  128. package/models/components/getevaluatorversionresponse.d.ts +0 -20
  129. package/models/components/getevaluatorversionresponse.d.ts.map +0 -1
  130. package/models/components/getevaluatorversionresponse.js +0 -57
  131. package/models/components/getevaluatorversionresponse.js.map +0 -1
  132. package/models/components/invokeevaluatorresponse.d.ts +0 -23
  133. package/models/components/invokeevaluatorresponse.d.ts.map +0 -1
  134. package/models/components/invokeevaluatorresponse.js +0 -51
  135. package/models/components/invokeevaluatorresponse.js.map +0 -1
  136. package/src/models/components/evaluatordocumentresponse.ts +0 -50
  137. package/src/models/components/getevaluatorversionresponse.ts +0 -58
  138. package/src/models/components/invokeevaluatorresponse.ts +0 -47
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
164
164
  }
165
165
  /** @internal */
166
166
  exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
167
- _id: z.string().default("tool_01M1XYQRJ1CP8DAG53AM97BPRV"),
167
+ _id: z.string().default("tool_01M206PMMAHQVYR782EJVTFXJ5"),
168
168
  path: z.string(),
169
169
  key: z.string(),
170
170
  display_name: z.string().optional(),
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
253
253
  }
254
254
  /** @internal */
255
255
  exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
256
- _id: z.string().default("tool_01M1XYQRJ07P6G7AK6GYCPBBH2"),
256
+ _id: z.string().default("tool_01M206PMMA9BT09AX8820ZX9X2"),
257
257
  path: z.string(),
258
258
  key: z.string(),
259
259
  display_name: z.string().optional(),
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
303
303
  }
304
304
  /** @internal */
305
305
  exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
306
- _id: z.string().default("tool_01M1XYQRHZBC66QZRSPTSCAD8Y"),
306
+ _id: z.string().default("tool_01M206PMM9V7PK8VGCWNXCJ3SB"),
307
307
  path: z.string(),
308
308
  key: z.string(),
309
309
  display_name: z.string().optional(),
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
357
357
  }
358
358
  /** @internal */
359
359
  exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
360
- _id: z.string().default("tool_01M1XYQRHYSYAPZMWG4DJX2D89"),
360
+ _id: z.string().default("tool_01M206PMM8GM823A08TJ251429"),
361
361
  path: z.string(),
362
362
  key: z.string(),
363
363
  display_name: z.string().optional(),
@@ -1098,7 +1098,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
1098
1098
  }
1099
1099
  /** @internal */
1100
1100
  exports.Tools$outboundSchema = z.object({
1101
- id: z.string().default("01M1XYQRES5NPNNQ4S2ACYB8Y7"),
1101
+ id: z.string().default("01M206PMH3BX99KQ6EA26C1P7E"),
1102
1102
  name: z.string(),
1103
1103
  description: z.string().optional(),
1104
1104
  schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
@@ -1064,7 +1064,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
1064
1064
  }
1065
1065
  /** @internal */
1066
1066
  exports.AgentToolInputRunTools$outboundSchema = z.object({
1067
- id: z.string().default("01M1XYQRFHJKD9TQG6M4STT3GH"),
1067
+ id: z.string().default("01M206PMHVZ2VNA7ZXKFDDG497"),
1068
1068
  name: z.string(),
1069
1069
  description: z.string().optional(),
1070
1070
  schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
@@ -866,7 +866,7 @@ exports.UpdateDatapointEvaluations4$inboundSchema = z.object({
866
866
  parent_annotation_id: z.string().optional(),
867
867
  explanation: z.string().optional(),
868
868
  reviewed_by_id: z.string(),
869
- reviewed_at: z.string().datetime({ offset: true }).default("2026-09-07T12:50:51.619Z").transform(v => new Date(v)),
869
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T09:48:32.299Z").transform(v => new Date(v)),
870
870
  type: z.literal("string_array"),
871
871
  values: z.array(z.string()),
872
872
  }).transform((v) => {
@@ -917,7 +917,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
917
917
  parent_annotation_id: z.string().optional(),
918
918
  explanation: z.string().optional(),
919
919
  reviewed_by_id: z.string(),
920
- reviewed_at: z.string().datetime({ offset: true }).default("2026-09-07T12:50:51.618Z").transform(v => new Date(v)),
920
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T09:48:32.299Z").transform(v => new Date(v)),
921
921
  type: z.literal("boolean"),
922
922
  value: z.boolean(),
923
923
  }).transform((v) => {
@@ -968,7 +968,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
968
968
  parent_annotation_id: z.string().optional(),
969
969
  explanation: z.string().optional(),
970
970
  reviewed_by_id: z.string(),
971
- reviewed_at: z.string().datetime({ offset: true }).default("2026-09-07T12:50:51.618Z").transform(v => new Date(v)),
971
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T09:48:32.299Z").transform(v => new Date(v)),
972
972
  type: z.literal("number"),
973
973
  value: z.number(),
974
974
  }).transform((v) => {
@@ -1018,7 +1018,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
1018
1018
  parent_annotation_id: z.string().optional(),
1019
1019
  explanation: z.string().optional(),
1020
1020
  reviewed_by_id: z.string(),
1021
- reviewed_at: z.string().datetime({ offset: true }).default("2026-09-07T12:50:51.617Z").transform(v => new Date(v)),
1021
+ reviewed_at: z.string().datetime({ offset: true }).default("2026-09-08T09:48:32.298Z").transform(v => new Date(v)),
1022
1022
  type: z.literal("string"),
1023
1023
  value: z.string(),
1024
1024
  }).transform((v) => {
@@ -1069,7 +1069,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
1069
1069
  updated_by_id: z.nullable(z.string()).optional(),
1070
1070
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1071
1071
  .optional(),
1072
- updated: z.string().datetime({ offset: true }).default("2026-09-07T12:50:42.661Z").transform(v => new Date(v)),
1072
+ updated: z.string().datetime({ offset: true }).default("2026-09-08T09:48:23.645Z").transform(v => new Date(v)),
1073
1073
  }).transform((v) => {
1074
1074
  return (0, primitives_js_1.remap)(v, {
1075
1075
  "_id": "id",
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
95
95
  updated_by_id: z.nullable(z.string()).optional(),
96
96
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
97
97
  .optional(),
98
- updated: z.string().datetime({ offset: true }).default("2026-09-07T12:50:42.661Z").transform(v => new Date(v)),
98
+ updated: z.string().datetime({ offset: true }).default("2026-09-08T09:48:23.645Z").transform(v => new Date(v)),
99
99
  }).transform((v) => {
100
100
  return (0, primitives_js_1.remap)(v, {
101
101
  "_id": "id",
@@ -1,9 +1,15 @@
1
1
  import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
2
4
  export type UpdateEvalRequestBody = {};
3
5
  export type UpdateEvalRequest = {
4
6
  id: string;
5
7
  requestBody: UpdateEvalRequestBody;
6
8
  };
9
+ /**
10
+ * OK
11
+ */
12
+ export type UpdateEvalResponseBody = {};
7
13
  /** @internal */
8
14
  export type UpdateEvalRequestBody$Outbound = {};
9
15
  /** @internal */
@@ -17,4 +23,7 @@ export type UpdateEvalRequest$Outbound = {
17
23
  /** @internal */
18
24
  export declare const UpdateEvalRequest$outboundSchema: z.ZodType<UpdateEvalRequest$Outbound, z.ZodTypeDef, UpdateEvalRequest>;
19
25
  export declare function updateEvalRequestToJSON(updateEvalRequest: UpdateEvalRequest): string;
26
+ /** @internal */
27
+ export declare const UpdateEvalResponseBody$inboundSchema: z.ZodType<UpdateEvalResponseBody, z.ZodTypeDef, unknown>;
28
+ export declare function updateEvalResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateEvalResponseBody, SDKValidationError>;
20
29
  //# sourceMappingURL=updateeval.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateeval.d.ts","sourceRoot":"","sources":["../../src/models/operations/updateeval.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,qBAAqB,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CACP,CAAC;AAEjB,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,8BAA8B,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAQjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
1
+ {"version":3,"file":"updateeval.d.ts","sourceRoot":"","sources":["../../src/models/operations/updateeval.ts"],"names":[],"mappings":"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{
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.UpdateEvalRequest$outboundSchema = exports.UpdateEvalRequestBody$outboundSchema = void 0;
39
+ exports.UpdateEvalResponseBody$inboundSchema = exports.UpdateEvalRequest$outboundSchema = exports.UpdateEvalRequestBody$outboundSchema = void 0;
40
40
  exports.updateEvalRequestBodyToJSON = updateEvalRequestBodyToJSON;
41
41
  exports.updateEvalRequestToJSON = updateEvalRequestToJSON;
42
+ exports.updateEvalResponseBodyFromJSON = updateEvalResponseBodyFromJSON;
42
43
  const z = __importStar(require("zod/v3"));
43
44
  const primitives_js_1 = require("../../lib/primitives.js");
45
+ const schemas_js_1 = require("../../lib/schemas.js");
44
46
  /** @internal */
45
47
  exports.UpdateEvalRequestBody$outboundSchema = z.object({});
46
48
  function updateEvalRequestBodyToJSON(updateEvalRequestBody) {
@@ -58,4 +60,9 @@ exports.UpdateEvalRequest$outboundSchema = z.object({
58
60
  function updateEvalRequestToJSON(updateEvalRequest) {
59
61
  return JSON.stringify(exports.UpdateEvalRequest$outboundSchema.parse(updateEvalRequest));
60
62
  }
63
+ /** @internal */
64
+ exports.UpdateEvalResponseBody$inboundSchema = z.object({});
65
+ function updateEvalResponseBodyFromJSON(jsonString) {
66
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateEvalResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateEvalResponseBody' from JSON`);
67
+ }
61
68
  //# sourceMappingURL=updateeval.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateeval.js","sourceRoot":"","sources":["../../src/models/operations/updateeval.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBH,kEAMC;AAsBD,0DAMC;AAtDD,0CAA4B;AAC5B,2DAA0D;AAY1D,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEj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oC,CAAC;CAChE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,aAAa;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
536
536
  }
537
537
  /** @internal */
538
538
  exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
539
- _id: z.string().default("tool_01M1XYQRHQNN4V9ZMCZBRMQK60"),
539
+ _id: z.string().default("tool_01M206PMM2CPFDTMF59P6SJ2N3"),
540
540
  path: z.string(),
541
541
  key: z.string(),
542
542
  display_name: z.string().optional(),
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
625
625
  }
626
626
  /** @internal */
627
627
  exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
628
- _id: z.string().default("tool_01M1XYQRHPNB4AE6ZKSP25MG5A"),
628
+ _id: z.string().default("tool_01M206PMM1BJ1347BZWV7NRFVA"),
629
629
  path: z.string(),
630
630
  key: z.string(),
631
631
  display_name: z.string().optional(),
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
675
675
  }
676
676
  /** @internal */
677
677
  exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
678
- _id: z.string().default("tool_01M1XYQRHPBKSWD0WPXFZVXZE0"),
678
+ _id: z.string().default("tool_01M206PMM0Y0FQ7GT7VYHMNY61"),
679
679
  path: z.string(),
680
680
  key: z.string(),
681
681
  display_name: z.string().optional(),
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
729
729
  }
730
730
  /** @internal */
731
731
  exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
732
- _id: z.string().default("tool_01M1XYQRHN0QC1BS6CQSRKXPK0"),
732
+ _id: z.string().default("tool_01M206PMKZWWJWCX19977140G4"),
733
733
  path: z.string(),
734
734
  key: z.string(),
735
735
  display_name: z.string().optional(),
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "4.15.0-rc.25",
3
+ "version": "4.15.0-rc.27",
4
4
  "author": "Orq",
5
5
  "exports": {
6
6
  ".": {
7
- "require": "./index.js",
8
7
  "types": "./index.d.ts",
9
- "import": "./index.js"
8
+ "import": "./index.js",
9
+ "require": "./index.js"
10
10
  },
11
11
  "./*": "./*",
12
12
  "./langchain": {
13
+ "types": "./langchain/index.d.mts",
13
14
  "import": "./langchain/index.mjs",
14
- "require": "./langchain/index.js",
15
- "types": "./langchain/index.d.mts"
15
+ "require": "./langchain/index.js"
16
16
  }
17
17
  },
18
18
  "main": "./index.js",
package/sdk/budgets.d.ts CHANGED
@@ -6,42 +6,42 @@ export declare class Budgets extends ClientSDK {
6
6
  * List budgets
7
7
  *
8
8
  * @remarks
9
- * Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense.
9
+ * Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
10
10
  */
11
11
  list(request?: operations.BudgetListRequest | undefined, options?: RequestOptions): Promise<components.ListBudgetsResponse>;
12
12
  /**
13
13
  * Create a new budget
14
14
  *
15
15
  * @remarks
16
- * Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
16
+ * Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
17
17
  */
18
18
  create(request: components.CreateBudgetRequest, options?: RequestOptions): Promise<components.CreateBudgetResponse>;
19
19
  /**
20
20
  * Retrieve a budget
21
21
  *
22
22
  * @remarks
23
- * Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
23
+ * Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
24
24
  */
25
25
  get(request: operations.BudgetGetRequest, options?: RequestOptions): Promise<components.GetBudgetResponse>;
26
26
  /**
27
27
  * Delete a budget
28
28
  *
29
29
  * @remarks
30
- * Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
30
+ * Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
31
31
  */
32
32
  delete(request: operations.BudgetDeleteRequest, options?: RequestOptions): Promise<components.DeleteBudgetResponse>;
33
33
  /**
34
34
  * Update a budget
35
35
  *
36
36
  * @remarks
37
- * Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values.
37
+ * Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
38
38
  */
39
39
  update(request: operations.BudgetUpdateRequest, options?: RequestOptions): Promise<components.UpdateBudgetResponse>;
40
40
  /**
41
41
  * Reset budget consumption
42
42
  *
43
43
  * @remarks
44
- * Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
44
+ * Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
45
45
  */
46
46
  resetConsumption(request: operations.BudgetResetConsumptionRequest, options?: RequestOptions): Promise<components.ResetBudgetConsumptionResponse>;
47
47
  }
package/sdk/budgets.js CHANGED
@@ -17,7 +17,7 @@ class Budgets extends sdks_js_1.ClientSDK {
17
17
  * List budgets
18
18
  *
19
19
  * @remarks
20
- * Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense.
20
+ * Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
21
21
  */
22
22
  async list(request, options) {
23
23
  return (0, fp_js_1.unwrapAsync)((0, budgetsList_js_1.budgetsList)(this, request, options));
@@ -26,7 +26,7 @@ class Budgets extends sdks_js_1.ClientSDK {
26
26
  * Create a new budget
27
27
  *
28
28
  * @remarks
29
- * Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
29
+ * Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
30
30
  */
31
31
  async create(request, options) {
32
32
  return (0, fp_js_1.unwrapAsync)((0, budgetsCreate_js_1.budgetsCreate)(this, request, options));
@@ -35,7 +35,7 @@ class Budgets extends sdks_js_1.ClientSDK {
35
35
  * Retrieve a budget
36
36
  *
37
37
  * @remarks
38
- * Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
38
+ * Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
39
39
  */
40
40
  async get(request, options) {
41
41
  return (0, fp_js_1.unwrapAsync)((0, budgetsGet_js_1.budgetsGet)(this, request, options));
@@ -44,7 +44,7 @@ class Budgets extends sdks_js_1.ClientSDK {
44
44
  * Delete a budget
45
45
  *
46
46
  * @remarks
47
- * Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
47
+ * Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
48
48
  */
49
49
  async delete(request, options) {
50
50
  return (0, fp_js_1.unwrapAsync)((0, budgetsDelete_js_1.budgetsDelete)(this, request, options));
@@ -53,7 +53,7 @@ class Budgets extends sdks_js_1.ClientSDK {
53
53
  * Update a budget
54
54
  *
55
55
  * @remarks
56
- * Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values.
56
+ * Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
57
57
  */
58
58
  async update(request, options) {
59
59
  return (0, fp_js_1.unwrapAsync)((0, budgetsUpdate_js_1.budgetsUpdate)(this, request, options));
@@ -62,7 +62,7 @@ class Budgets extends sdks_js_1.ClientSDK {
62
62
  * Reset budget consumption
63
63
  *
64
64
  * @remarks
65
- * Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
65
+ * Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
66
66
  */
67
67
  async resetConsumption(request, options) {
68
68
  return (0, fp_js_1.unwrapAsync)((0, budgetsResetConsumption_js_1.budgetsResetConsumption)(this, request, options));
package/sdk/evals.d.ts CHANGED
@@ -15,14 +15,14 @@ export declare class Evals extends ClientSDK {
15
15
  * @remarks
16
16
  * Create a new evaluator in the workspace.
17
17
  */
18
- create(request: operations.CreateEvalRequestBody, options?: RequestOptions): Promise<components.EvaluatorDocumentResponse>;
18
+ create(request: operations.CreateEvalRequestBody, options?: RequestOptions): Promise<operations.CreateEvalResponseBody>;
19
19
  /**
20
20
  * Retrieve an Evaluator
21
21
  *
22
22
  * @remarks
23
23
  * Retrieve a single evaluator by ID with more detail than the list endpoint: full type-specific config, owner, domain_id, metadata, enabled, and output_type.
24
24
  */
25
- get(request: operations.GetEvalRequest, options?: RequestOptions): Promise<components.EvaluatorDocumentResponse>;
25
+ get(request: operations.GetEvalRequest, options?: RequestOptions): Promise<operations.GetEvalResponseBody>;
26
26
  /**
27
27
  * Delete an Evaluator
28
28
  *
@@ -36,7 +36,7 @@ export declare class Evals extends ClientSDK {
36
36
  * @remarks
37
37
  * Update an evaluator by ID with the provided fields.
38
38
  */
39
- update(request: operations.UpdateEvalRequest, options?: RequestOptions): Promise<components.EvaluatorDocumentResponse>;
39
+ update(request: operations.UpdateEvalRequest, options?: RequestOptions): Promise<operations.UpdateEvalResponseBody>;
40
40
  /**
41
41
  * List evaluator versions
42
42
  *
@@ -50,13 +50,13 @@ export declare class Evals extends ClientSDK {
50
50
  * @remarks
51
51
  * Returns a specific version of an evaluator.
52
52
  */
53
- getVersion(request: operations.GetEvalVersionRequest, options?: RequestOptions): Promise<components.GetEvaluatorVersionResponse>;
53
+ getVersion(request: operations.GetEvalVersionRequest, options?: RequestOptions): Promise<operations.GetEvalVersionResponseBody>;
54
54
  /**
55
55
  * Invoke a Custom Evaluator
56
56
  *
57
57
  * @remarks
58
58
  * Runs an evaluator that already exists in the workspace. Accepts either a conversation or the structured input and output fields; when both are present the conversation wins.
59
59
  */
60
- invoke(request: operations.InvokeEvalRequest, options?: RequestOptions): Promise<components.InvokeEvaluatorResponse>;
60
+ invoke(request: operations.InvokeEvalRequest, options?: RequestOptions): Promise<components.EvaluationResult>;
61
61
  }
62
62
  //# sourceMappingURL=evals.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"evals.d.ts","sourceRoot":"","sources":["../src/sdk/evals.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,KAAM,SAAQ,SAAS;IAClC;;;;;OAKG;IACG,GAAG,CACP,OAAO,CAAC,EAAE,UAAU,CAAC,eAAe,GAAG,SAAS,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB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cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAQ1C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAQ9C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAQpD;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;CAOxC"}
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * Create a new budget
30
30
  *
31
31
  * @remarks
32
- * Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
32
+ * Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
33
33
  */
34
34
  export function budgetsCreate(
35
35
  client: OrqCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Delete a budget
31
31
  *
32
32
  * @remarks
33
- * Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
33
+ * Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
34
34
  */
35
35
  export function budgetsDelete(
36
36
  client: OrqCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Retrieve a budget
31
31
  *
32
32
  * @remarks
33
- * Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
33
+ * Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
34
34
  */
35
35
  export function budgetsGet(
36
36
  client: OrqCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * List budgets
31
31
  *
32
32
  * @remarks
33
- * Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense.
33
+ * Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
34
34
  */
35
35
  export function budgetsList(
36
36
  client: OrqCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Reset budget consumption
31
31
  *
32
32
  * @remarks
33
- * Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
33
+ * Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
34
34
  */
35
35
  export function budgetsResetConsumption(
36
36
  client: OrqCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Update a budget
31
31
  *
32
32
  * @remarks
33
- * Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values.
33
+ * Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
34
34
  */
35
35
  export function budgetsUpdate(
36
36
  client: OrqCore,
@@ -9,7 +9,6 @@ import { compactMap } from "../lib/primitives.js";
9
9
  import { RequestOptions } from "../lib/sdks.js";
10
10
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
11
11
  import { pathToFunc } from "../lib/url.js";
12
- import * as components from "../models/components/index.js";
13
12
  import {
14
13
  ConnectionError,
15
14
  InvalidRequestError,
@@ -36,7 +35,7 @@ export function evalsCreate(
36
35
  options?: RequestOptions,
37
36
  ): APIPromise<
38
37
  Result<
39
- components.EvaluatorDocumentResponse,
38
+ operations.CreateEvalResponseBody,
40
39
  | OrqError
41
40
  | ResponseValidationError
42
41
  | ConnectionError
@@ -61,7 +60,7 @@ async function $do(
61
60
  ): Promise<
62
61
  [
63
62
  Result<
64
- components.EvaluatorDocumentResponse,
63
+ operations.CreateEvalResponseBody,
65
64
  | OrqError
66
65
  | ResponseValidationError
67
66
  | ConnectionError
@@ -127,7 +126,7 @@ async function $do(
127
126
  const response = doResult.value;
128
127
 
129
128
  const [result] = await M.match<
130
- components.EvaluatorDocumentResponse,
129
+ operations.CreateEvalResponseBody,
131
130
  | OrqError
132
131
  | ResponseValidationError
133
132
  | ConnectionError
@@ -137,7 +136,7 @@ async function $do(
137
136
  | UnexpectedClientError
138
137
  | SDKValidationError
139
138
  >(
140
- M.json(200, components.EvaluatorDocumentResponse$inboundSchema),
139
+ M.json(200, operations.CreateEvalResponseBody$inboundSchema),
141
140
  M.fail("4XX"),
142
141
  M.fail("5XX"),
143
142
  )(response, req);
@@ -11,7 +11,6 @@ import { safeParse } from "../lib/schemas.js";
11
11
  import { RequestOptions } from "../lib/sdks.js";
12
12
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
13
  import { pathToFunc } from "../lib/url.js";
14
- import * as components from "../models/components/index.js";
15
14
  import {
16
15
  ConnectionError,
17
16
  InvalidRequestError,
@@ -38,7 +37,7 @@ export function evalsGet(
38
37
  options?: RequestOptions,
39
38
  ): APIPromise<
40
39
  Result<
41
- components.EvaluatorDocumentResponse,
40
+ operations.GetEvalResponseBody,
42
41
  | OrqError
43
42
  | ResponseValidationError
44
43
  | ConnectionError
@@ -63,7 +62,7 @@ async function $do(
63
62
  ): Promise<
64
63
  [
65
64
  Result<
66
- components.EvaluatorDocumentResponse,
65
+ operations.GetEvalResponseBody,
67
66
  | OrqError
68
67
  | ResponseValidationError
69
68
  | ConnectionError
@@ -146,7 +145,7 @@ async function $do(
146
145
  const response = doResult.value;
147
146
 
148
147
  const [result] = await M.match<
149
- components.EvaluatorDocumentResponse,
148
+ operations.GetEvalResponseBody,
150
149
  | OrqError
151
150
  | ResponseValidationError
152
151
  | ConnectionError
@@ -156,7 +155,7 @@ async function $do(
156
155
  | UnexpectedClientError
157
156
  | SDKValidationError
158
157
  >(
159
- M.json(200, components.EvaluatorDocumentResponse$inboundSchema),
158
+ M.json(200, operations.GetEvalResponseBody$inboundSchema),
160
159
  M.fail("4XX"),
161
160
  M.fail("5XX"),
162
161
  )(response, req);
@@ -11,7 +11,6 @@ import { safeParse } from "../lib/schemas.js";
11
11
  import { RequestOptions } from "../lib/sdks.js";
12
12
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
13
  import { pathToFunc } from "../lib/url.js";
14
- import * as components from "../models/components/index.js";
15
14
  import {
16
15
  ConnectionError,
17
16
  InvalidRequestError,
@@ -38,7 +37,7 @@ export function evalsGetVersion(
38
37
  options?: RequestOptions,
39
38
  ): APIPromise<
40
39
  Result<
41
- components.GetEvaluatorVersionResponse,
40
+ operations.GetEvalVersionResponseBody,
42
41
  | OrqError
43
42
  | ResponseValidationError
44
43
  | ConnectionError
@@ -63,7 +62,7 @@ async function $do(
63
62
  ): Promise<
64
63
  [
65
64
  Result<
66
- components.GetEvaluatorVersionResponse,
65
+ operations.GetEvalVersionResponseBody,
67
66
  | OrqError
68
67
  | ResponseValidationError
69
68
  | ConnectionError
@@ -152,7 +151,7 @@ async function $do(
152
151
  const response = doResult.value;
153
152
 
154
153
  const [result] = await M.match<
155
- components.GetEvaluatorVersionResponse,
154
+ operations.GetEvalVersionResponseBody,
156
155
  | OrqError
157
156
  | ResponseValidationError
158
157
  | ConnectionError
@@ -162,7 +161,7 @@ async function $do(
162
161
  | UnexpectedClientError
163
162
  | SDKValidationError
164
163
  >(
165
- M.json(200, components.GetEvaluatorVersionResponse$inboundSchema),
164
+ M.json(200, operations.GetEvalVersionResponseBody$inboundSchema),
166
165
  M.fail("4XX"),
167
166
  M.fail("5XX"),
168
167
  )(response, req);
@@ -38,7 +38,7 @@ export function evalsInvoke(
38
38
  options?: RequestOptions,
39
39
  ): APIPromise<
40
40
  Result<
41
- components.InvokeEvaluatorResponse,
41
+ components.EvaluationResult,
42
42
  | OrqError
43
43
  | ResponseValidationError
44
44
  | ConnectionError
@@ -63,7 +63,7 @@ async function $do(
63
63
  ): Promise<
64
64
  [
65
65
  Result<
66
- components.InvokeEvaluatorResponse,
66
+ components.EvaluationResult,
67
67
  | OrqError
68
68
  | ResponseValidationError
69
69
  | ConnectionError
@@ -149,7 +149,7 @@ async function $do(
149
149
  const response = doResult.value;
150
150
 
151
151
  const [result] = await M.match<
152
- components.InvokeEvaluatorResponse,
152
+ components.EvaluationResult,
153
153
  | OrqError
154
154
  | ResponseValidationError
155
155
  | ConnectionError
@@ -159,7 +159,7 @@ async function $do(
159
159
  | UnexpectedClientError
160
160
  | SDKValidationError
161
161
  >(
162
- M.json(200, components.InvokeEvaluatorResponse$inboundSchema),
162
+ M.json(200, components.EvaluationResult$inboundSchema),
163
163
  M.fail("4XX"),
164
164
  M.fail("5XX"),
165
165
  )(response, req);