@orq-ai/node 4.17.0-rc.41 → 4.17.0-rc.44

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 (135) hide show
  1. package/README.md +77 -81
  2. package/funcs/humanReviewSetsCreate.d.ts +5 -0
  3. package/funcs/humanReviewSetsCreate.d.ts.map +1 -1
  4. package/funcs/humanReviewSetsCreate.js +5 -0
  5. package/funcs/humanReviewSetsCreate.js.map +1 -1
  6. package/funcs/humanReviewSetsDelete.d.ts +5 -0
  7. package/funcs/humanReviewSetsDelete.d.ts.map +1 -1
  8. package/funcs/humanReviewSetsDelete.js +5 -0
  9. package/funcs/humanReviewSetsDelete.js.map +1 -1
  10. package/funcs/humanReviewSetsGet.d.ts +5 -0
  11. package/funcs/humanReviewSetsGet.d.ts.map +1 -1
  12. package/funcs/humanReviewSetsGet.js +5 -0
  13. package/funcs/humanReviewSetsGet.js.map +1 -1
  14. package/funcs/humanReviewSetsList.d.ts +5 -0
  15. package/funcs/humanReviewSetsList.d.ts.map +1 -1
  16. package/funcs/humanReviewSetsList.js +5 -0
  17. package/funcs/humanReviewSetsList.js.map +1 -1
  18. package/funcs/humanReviewSetsUpdate.d.ts +5 -0
  19. package/funcs/humanReviewSetsUpdate.d.ts.map +1 -1
  20. package/funcs/humanReviewSetsUpdate.js +5 -0
  21. package/funcs/humanReviewSetsUpdate.js.map +1 -1
  22. package/jsr.json +1 -1
  23. package/lib/config.d.ts +3 -3
  24. package/lib/config.js +3 -3
  25. package/models/components/filecontentpartschema.d.ts +1 -1
  26. package/models/components/publicresponseresource.d.ts +1 -1
  27. package/models/components/reasoningpart.js +1 -1
  28. package/models/components/redactresponse.d.ts +1 -1
  29. package/models/operations/createprompt.d.ts +1 -1
  30. package/models/operations/createrouterresponse.d.ts +3 -3
  31. package/models/operations/createtool.js +4 -4
  32. package/models/operations/deploymentgetconfig.d.ts +1 -1
  33. package/models/operations/deploymentinvoke.d.ts +5 -5
  34. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  35. package/models/operations/deploymentinvoke.js +8 -7
  36. package/models/operations/deploymentinvoke.js.map +1 -1
  37. package/models/operations/deployments.d.ts +1 -1
  38. package/models/operations/deploymentstream.d.ts +5 -5
  39. package/models/operations/deploymentstream.d.ts.map +1 -1
  40. package/models/operations/deploymentstream.js +7 -7
  41. package/models/operations/deploymentstream.js.map +1 -1
  42. package/models/operations/getallprompts.d.ts +1 -1
  43. package/models/operations/getalltools.js +4 -4
  44. package/models/operations/getoneprompt.d.ts +1 -1
  45. package/models/operations/getpromptversion.d.ts +1 -1
  46. package/models/operations/getv2humanevalsets.js +2 -2
  47. package/models/operations/getv2humanevalsetsid.js +2 -2
  48. package/models/operations/index.d.ts +0 -2
  49. package/models/operations/index.d.ts.map +1 -1
  50. package/models/operations/index.js +0 -2
  51. package/models/operations/index.js.map +1 -1
  52. package/models/operations/listdeploymentversions.d.ts +1 -1
  53. package/models/operations/listdeploymentversions.js +1 -1
  54. package/models/operations/listpromptversions.d.ts +1 -1
  55. package/models/operations/patchv2humanevalsetsid.js +2 -2
  56. package/models/operations/postv2humanevalsets.d.ts +10 -10
  57. package/models/operations/postv2humanevalsets.d.ts.map +1 -1
  58. package/models/operations/postv2humanevalsets.js +13 -13
  59. package/models/operations/postv2humanevalsets.js.map +1 -1
  60. package/models/operations/retrieveresponse.d.ts +1 -1
  61. package/models/operations/retrievetool.js +4 -4
  62. package/models/operations/runagent.js +1 -1
  63. package/models/operations/streamrunagent.js +1 -1
  64. package/models/operations/updateprompt.d.ts +1 -1
  65. package/models/operations/updatetool.js +4 -4
  66. package/package.json +1 -1
  67. package/sdk/feedback.d.ts +0 -8
  68. package/sdk/feedback.d.ts.map +1 -1
  69. package/sdk/feedback.js +0 -14
  70. package/sdk/feedback.js.map +1 -1
  71. package/sdk/humanreviewsets.d.ts +25 -0
  72. package/sdk/humanreviewsets.d.ts.map +1 -1
  73. package/sdk/humanreviewsets.js +25 -0
  74. package/sdk/humanreviewsets.js.map +1 -1
  75. package/sdk/sdk.d.ts +2 -2
  76. package/sdk/sdk.d.ts.map +1 -1
  77. package/sdk/sdk.js +3 -3
  78. package/sdk/sdk.js.map +1 -1
  79. package/src/funcs/humanReviewSetsCreate.ts +5 -0
  80. package/src/funcs/humanReviewSetsDelete.ts +5 -0
  81. package/src/funcs/humanReviewSetsGet.ts +5 -0
  82. package/src/funcs/humanReviewSetsList.ts +5 -0
  83. package/src/funcs/humanReviewSetsUpdate.ts +5 -0
  84. package/src/lib/config.ts +3 -3
  85. package/src/models/components/filecontentpartschema.ts +1 -1
  86. package/src/models/components/publicresponseresource.ts +1 -1
  87. package/src/models/components/reasoningpart.ts +1 -1
  88. package/src/models/components/redactresponse.ts +1 -1
  89. package/src/models/operations/createprompt.ts +1 -1
  90. package/src/models/operations/createrouterresponse.ts +3 -3
  91. package/src/models/operations/createtool.ts +4 -4
  92. package/src/models/operations/deploymentgetconfig.ts +1 -1
  93. package/src/models/operations/deploymentinvoke.ts +15 -18
  94. package/src/models/operations/deployments.ts +1 -1
  95. package/src/models/operations/deploymentstream.ts +11 -14
  96. package/src/models/operations/getallprompts.ts +1 -1
  97. package/src/models/operations/getalltools.ts +4 -4
  98. package/src/models/operations/getoneprompt.ts +1 -1
  99. package/src/models/operations/getpromptversion.ts +1 -1
  100. package/src/models/operations/getv2humanevalsets.ts +2 -2
  101. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  102. package/src/models/operations/index.ts +0 -2
  103. package/src/models/operations/listdeploymentversions.ts +2 -2
  104. package/src/models/operations/listpromptversions.ts +1 -1
  105. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  106. package/src/models/operations/postv2humanevalsets.ts +21 -35
  107. package/src/models/operations/retrieveresponse.ts +1 -1
  108. package/src/models/operations/retrievetool.ts +4 -4
  109. package/src/models/operations/runagent.ts +1 -1
  110. package/src/models/operations/streamrunagent.ts +1 -1
  111. package/src/models/operations/updateprompt.ts +1 -1
  112. package/src/models/operations/updatetool.ts +4 -4
  113. package/src/sdk/feedback.ts +0 -30
  114. package/src/sdk/humanreviewsets.ts +25 -0
  115. package/src/sdk/sdk.ts +5 -5
  116. package/funcs/feedbackCreateEvaluation.d.ts +0 -15
  117. package/funcs/feedbackCreateEvaluation.d.ts.map +0 -1
  118. package/funcs/feedbackCreateEvaluation.js +0 -120
  119. package/funcs/feedbackCreateEvaluation.js.map +0 -1
  120. package/funcs/feedbackRemoveEvaluation.d.ts +0 -15
  121. package/funcs/feedbackRemoveEvaluation.d.ts.map +0 -1
  122. package/funcs/feedbackRemoveEvaluation.js +0 -120
  123. package/funcs/feedbackRemoveEvaluation.js.map +0 -1
  124. package/models/operations/postv2feedbackevaluation.d.ts +0 -257
  125. package/models/operations/postv2feedbackevaluation.d.ts.map +0 -1
  126. package/models/operations/postv2feedbackevaluation.js +0 -210
  127. package/models/operations/postv2feedbackevaluation.js.map +0 -1
  128. package/models/operations/postv2feedbackevaluationremove.d.ts +0 -14
  129. package/models/operations/postv2feedbackevaluationremove.d.ts.map +0 -1
  130. package/models/operations/postv2feedbackevaluationremove.js +0 -55
  131. package/models/operations/postv2feedbackevaluationremove.js.map +0 -1
  132. package/src/funcs/feedbackCreateEvaluation.ts +0 -173
  133. package/src/funcs/feedbackRemoveEvaluation.ts +0 -173
  134. package/src/models/operations/postv2feedbackevaluation.ts +0 -453
  135. package/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
@@ -75,7 +75,7 @@ export type PublicResponseResource = {
75
75
  maxToolCalls: number | null;
76
76
  memory?: MemoryParam | undefined;
77
77
  /**
78
- * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>).
78
+ * Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
79
79
  */
80
80
  metadata: { [k: string]: string };
81
81
  model: string;
@@ -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_01m5bw40bh25ndffer0kdarrj7"),
43
+ _id: z.string().default("reasoning_01m5ccjq2se6kr17ct5f68yyh5"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
  export type RedactResponse = {
12
12
  redactedText?: string | undefined;
13
13
  /**
14
- * Maps each placeholder (e.g. "<PERSON_1>") to the original value it replaced.
14
+ * Maps each placeholder (e.g. `<PERSON_1>`) to the original value it replaced.
15
15
  */
16
16
  mappings?: { [k: string]: string } | undefined;
17
17
  };
@@ -1450,7 +1450,7 @@ export type CreatePromptRole = ClosedEnum<typeof CreatePromptRole>;
1450
1450
 
1451
1451
  export type CreatePrompt2File = {
1452
1452
  /**
1453
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
1453
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
1454
1454
  */
1455
1455
  fileData?: string | undefined;
1456
1456
  /**
@@ -947,11 +947,11 @@ export type CreateRouterResponseRequestBody = {
947
947
  maxToolCalls?: number | undefined;
948
948
  memory?: components.MemoryParam | undefined;
949
949
  /**
950
- * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>). Non-string values are rejected with a 400.
950
+ * Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`). Non-string values are rejected with a 400.
951
951
  */
952
952
  metadata?: { [k: string]: string } | undefined;
953
953
  /**
954
- * The model to use in provider/model format (e.g. openai/gpt-4o). Use agent/<key> to invoke a pre-configured agent from the orq.ai platform.
954
+ * The model to use in provider/model format (e.g. openai/gpt-4o). Use `agent/<key>` to invoke a pre-configured agent from the orq.ai platform.
955
955
  */
956
956
  model?: string | undefined;
957
957
  /**
@@ -1132,7 +1132,7 @@ export type CreateRouterResponseResponseBody = {
1132
1132
  maxToolCalls: number | null;
1133
1133
  memory?: components.MemoryParam | undefined;
1134
1134
  /**
1135
- * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>).
1135
+ * Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
1136
1136
  */
1137
1137
  metadata: { [k: string]: string };
1138
1138
  model: string;
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1575
1575
  z.ZodTypeDef,
1576
1576
  unknown
1577
1577
  > = z.object({
1578
- _id: z.string().default("tool_01M5BW40F8X5A747P7NMKRZMRE"),
1578
+ _id: z.string().default("tool_01M5CCJQ7K0NQ90ADTS3T57SKZ"),
1579
1579
  path: z.string(),
1580
1580
  key: z.string(),
1581
1581
  display_name: z.string().optional(),
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1761
1761
  z.ZodTypeDef,
1762
1762
  unknown
1763
1763
  > = z.object({
1764
- _id: z.string().default("tool_01M5BW40F7WRCAJ51S70ZTXMVN"),
1764
+ _id: z.string().default("tool_01M5CCJQ7JXSSNCZVPF0DPYRJ7"),
1765
1765
  path: z.string(),
1766
1766
  key: z.string(),
1767
1767
  display_name: z.string().optional(),
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1854
1854
  z.ZodTypeDef,
1855
1855
  unknown
1856
1856
  > = z.object({
1857
- _id: z.string().default("tool_01M5BW40F760A39F3T767RR9ZZ"),
1857
+ _id: z.string().default("tool_01M5CCJQ7H4FDD5A988ZEZPS3G"),
1858
1858
  path: z.string(),
1859
1859
  key: z.string(),
1860
1860
  display_name: z.string().optional(),
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1955
1955
  z.ZodTypeDef,
1956
1956
  unknown
1957
1957
  > = z.object({
1958
- _id: z.string().default("tool_01M5BW40F6M1NW69NFCYFK5SEZ"),
1958
+ _id: z.string().default("tool_01M5CCJQ7G0DRNNNRJPFBXZM8D"),
1959
1959
  path: z.string(),
1960
1960
  key: z.string(),
1961
1961
  display_name: z.string().optional(),
@@ -1220,7 +1220,7 @@ export type DeploymentGetConfigRole = ClosedEnum<
1220
1220
 
1221
1221
  export type DeploymentGetConfig2File = {
1222
1222
  /**
1223
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
1223
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
1224
1224
  */
1225
1225
  fileData?: string | undefined;
1226
1226
  /**
@@ -168,7 +168,7 @@ export type DeploymentInvokeMessageRole = ClosedEnum<
168
168
  typeof DeploymentInvokeMessageRole
169
169
  >;
170
170
 
171
- export type Message3 = {
171
+ export type Three = {
172
172
  type: "image";
173
173
  /**
174
174
  * The role of the prompt message
@@ -282,11 +282,11 @@ export type Message1 = {
282
282
  redactedReasoning?: string | undefined;
283
283
  };
284
284
 
285
- export type Message = Message1 | Message2 | Message3;
285
+ export type Message = Message1 | Message2 | Three;
286
286
 
287
287
  export type Choices = {
288
288
  index: number;
289
- message: Message1 | Message2 | Message3;
289
+ message: Message1 | Message2 | Three;
290
290
  finishReason?: string | null | undefined;
291
291
  };
292
292
 
@@ -517,23 +517,20 @@ export const DeploymentInvokeMessageRole$inboundSchema: z.ZodNativeEnum<
517
517
  > = z.nativeEnum(DeploymentInvokeMessageRole);
518
518
 
519
519
  /** @internal */
520
- export const Message3$inboundSchema: z.ZodType<
521
- Message3,
522
- z.ZodTypeDef,
523
- unknown
524
- > = z.object({
525
- type: z.literal("image"),
526
- role: DeploymentInvokeMessageRole$inboundSchema,
527
- url: z.string(),
528
- });
520
+ export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
521
+ .object({
522
+ type: z.literal("image"),
523
+ role: DeploymentInvokeMessageRole$inboundSchema,
524
+ url: z.string(),
525
+ });
529
526
 
530
- export function message3FromJSON(
527
+ export function threeFromJSON(
531
528
  jsonString: string,
532
- ): SafeParseResult<Message3, SDKValidationError> {
529
+ ): SafeParseResult<Three, SDKValidationError> {
533
530
  return safeParse(
534
531
  jsonString,
535
- (x) => Message3$inboundSchema.parse(JSON.parse(x)),
536
- `Failed to parse 'Message3' from JSON`,
532
+ (x) => Three$inboundSchema.parse(JSON.parse(x)),
533
+ `Failed to parse 'Three' from JSON`,
537
534
  );
538
535
  }
539
536
 
@@ -659,7 +656,7 @@ export const Message$inboundSchema: z.ZodType<Message, z.ZodTypeDef, unknown> =
659
656
  z.union([
660
657
  z.lazy(() => Message1$inboundSchema),
661
658
  z.lazy(() => Message2$inboundSchema),
662
- z.lazy(() => Message3$inboundSchema),
659
+ z.lazy(() => Three$inboundSchema),
663
660
  ]);
664
661
 
665
662
  export function messageFromJSON(
@@ -679,7 +676,7 @@ export const Choices$inboundSchema: z.ZodType<Choices, z.ZodTypeDef, unknown> =
679
676
  message: z.union([
680
677
  z.lazy(() => Message1$inboundSchema),
681
678
  z.lazy(() => Message2$inboundSchema),
682
- z.lazy(() => Message3$inboundSchema),
679
+ z.lazy(() => Three$inboundSchema),
683
680
  ]),
684
681
  finish_reason: z.nullable(z.string()).optional(),
685
682
  }).transform((v) => {
@@ -528,7 +528,7 @@ export type DeploymentsRole = ClosedEnum<typeof DeploymentsRole>;
528
528
 
529
529
  export type Deployments2File = {
530
530
  /**
531
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
531
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
532
532
  */
533
533
  fileData?: string | undefined;
534
534
  /**
@@ -1276,7 +1276,7 @@ export type DeploymentStreamMessageDeploymentsResponseRole = ClosedEnum<
1276
1276
  typeof DeploymentStreamMessageDeploymentsResponseRole
1277
1277
  >;
1278
1278
 
1279
- export type DeploymentStreamMessage3 = {
1279
+ export type Message3 = {
1280
1280
  type: "image";
1281
1281
  /**
1282
1282
  * The role of the prompt message
@@ -1395,14 +1395,11 @@ export type DeploymentStreamMessage1 = {
1395
1395
  export type DeploymentStreamMessage =
1396
1396
  | DeploymentStreamMessage1
1397
1397
  | DeploymentStreamMessage2
1398
- | DeploymentStreamMessage3;
1398
+ | Message3;
1399
1399
 
1400
1400
  export type DeploymentStreamChoices = {
1401
1401
  index: number;
1402
- message:
1403
- | DeploymentStreamMessage1
1404
- | DeploymentStreamMessage2
1405
- | DeploymentStreamMessage3;
1402
+ message: DeploymentStreamMessage1 | DeploymentStreamMessage2 | Message3;
1406
1403
  finishReason?: string | null | undefined;
1407
1404
  };
1408
1405
 
@@ -3974,8 +3971,8 @@ export const DeploymentStreamMessageDeploymentsResponseRole$inboundSchema:
3974
3971
  .nativeEnum(DeploymentStreamMessageDeploymentsResponseRole);
3975
3972
 
3976
3973
  /** @internal */
3977
- export const DeploymentStreamMessage3$inboundSchema: z.ZodType<
3978
- DeploymentStreamMessage3,
3974
+ export const Message3$inboundSchema: z.ZodType<
3975
+ Message3,
3979
3976
  z.ZodTypeDef,
3980
3977
  unknown
3981
3978
  > = z.object({
@@ -3984,13 +3981,13 @@ export const DeploymentStreamMessage3$inboundSchema: z.ZodType<
3984
3981
  url: z.string(),
3985
3982
  });
3986
3983
 
3987
- export function deploymentStreamMessage3FromJSON(
3984
+ export function message3FromJSON(
3988
3985
  jsonString: string,
3989
- ): SafeParseResult<DeploymentStreamMessage3, SDKValidationError> {
3986
+ ): SafeParseResult<Message3, SDKValidationError> {
3990
3987
  return safeParse(
3991
3988
  jsonString,
3992
- (x) => DeploymentStreamMessage3$inboundSchema.parse(JSON.parse(x)),
3993
- `Failed to parse 'DeploymentStreamMessage3' from JSON`,
3989
+ (x) => Message3$inboundSchema.parse(JSON.parse(x)),
3990
+ `Failed to parse 'Message3' from JSON`,
3994
3991
  );
3995
3992
  }
3996
3993
 
@@ -4122,7 +4119,7 @@ export const DeploymentStreamMessage$inboundSchema: z.ZodType<
4122
4119
  > = z.union([
4123
4120
  z.lazy(() => DeploymentStreamMessage1$inboundSchema),
4124
4121
  z.lazy(() => DeploymentStreamMessage2$inboundSchema),
4125
- z.lazy(() => DeploymentStreamMessage3$inboundSchema),
4122
+ z.lazy(() => Message3$inboundSchema),
4126
4123
  ]);
4127
4124
 
4128
4125
  export function deploymentStreamMessageFromJSON(
@@ -4145,7 +4142,7 @@ export const DeploymentStreamChoices$inboundSchema: z.ZodType<
4145
4142
  message: z.union([
4146
4143
  z.lazy(() => DeploymentStreamMessage1$inboundSchema),
4147
4144
  z.lazy(() => DeploymentStreamMessage2$inboundSchema),
4148
- z.lazy(() => DeploymentStreamMessage3$inboundSchema),
4145
+ z.lazy(() => Message3$inboundSchema),
4149
4146
  ]),
4150
4147
  finish_reason: z.nullable(z.string()).optional(),
4151
4148
  }).transform((v) => {
@@ -479,7 +479,7 @@ export type GetAllPromptsRole = ClosedEnum<typeof GetAllPromptsRole>;
479
479
 
480
480
  export type GetAllPrompts2File = {
481
481
  /**
482
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
482
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
483
483
  */
484
484
  fileData?: string | undefined;
485
485
  /**
@@ -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_01M5BW40F30A2BFBQ2KSVAYVV7"),
642
+ _id: z.string().default("tool_01M5CCJQ7AAAX62AVAEWJDVV50"),
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_01M5BW40F2XVBCS9RM8KK5PGZK"),
824
+ _id: z.string().default("tool_01M5CCJQ79R2Q41WYSNJ74TG8X"),
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_01M5BW40F04SQ3AWQK58GMCJKW"),
917
+ _id: z.string().default("tool_01M5CCJQ78M38A0HJ709SWT1SC"),
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_01M5BW40F0X77HAVET97026TXG"),
1015
+ _id: z.string().default("tool_01M5CCJQ77Q248BDQ1CSX3HQND"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -463,7 +463,7 @@ export type GetOnePromptRole = ClosedEnum<typeof GetOnePromptRole>;
463
463
 
464
464
  export type GetOnePrompt2File = {
465
465
  /**
466
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
466
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
467
467
  */
468
468
  fileData?: string | undefined;
469
469
  /**
@@ -471,7 +471,7 @@ export type GetPromptVersionRole = ClosedEnum<typeof GetPromptVersionRole>;
471
471
 
472
472
  export type GetPromptVersion2File = {
473
473
  /**
474
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
474
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
475
475
  */
476
476
  fileData?: string | undefined;
477
477
  /**
@@ -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-10-20T05:21:28.288Z",
143
+ "2026-10-20T10:09:06.014Z",
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-10-20T05:21:28.288Z",
188
+ "2026-10-20T10:09:06.014Z",
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-10-20T05:21:28.288Z",
144
+ "2026-10-20T10:09:06.014Z",
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-10-20T05:21:28.288Z",
189
+ "2026-10-20T10:09:06.014Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -211,8 +211,6 @@ export * from "./policyget.js";
211
211
  export * from "./policylist.js";
212
212
  export * from "./policyupdate.js";
213
213
  export * from "./postv2feedback.js";
214
- export * from "./postv2feedbackevaluation.js";
215
- export * from "./postv2feedbackevaluationremove.js";
216
214
  export * from "./postv2feedbackremove.js";
217
215
  export * from "./postv2humanevalsets.js";
218
216
  export * from "./postv2routerocr.js";
@@ -489,7 +489,7 @@ export type ListDeploymentVersionsRole = ClosedEnum<
489
489
 
490
490
  export type ListDeploymentVersions2File = {
491
491
  /**
492
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
492
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
493
493
  */
494
494
  fileData?: string | undefined;
495
495
  /**
@@ -2525,7 +2525,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
2525
2525
  z.ZodTypeDef,
2526
2526
  unknown
2527
2527
  > = z.object({
2528
- id: z.string().default("01M5BW40AG93W9C541ZMTG5GKC"),
2528
+ id: z.string().default("01M5CCJQ1E45QMEEDH9EP6YB2F"),
2529
2529
  knowledge_id: z.string(),
2530
2530
  configuration: z.union([
2531
2531
  z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
@@ -485,7 +485,7 @@ export type ListPromptVersionsRole = ClosedEnum<typeof ListPromptVersionsRole>;
485
485
 
486
486
  export type ListPromptVersions2File = {
487
487
  /**
488
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
488
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
489
489
  */
490
490
  fileData?: string | undefined;
491
491
  /**
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-10-20T05:21:28.288Z",
321
+ "2026-10-20T10:09:06.014Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-10-20T05:21:28.288Z",
367
+ "2026-10-20T10:09:06.014Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -8,7 +8,7 @@ import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
- export type PostV2HumanEvalSetsRequestBody2 = {
11
+ export type RequestBody2 = {
12
12
  /**
13
13
  * Display name of the human review set
14
14
  */
@@ -32,7 +32,7 @@ export type PostV2HumanEvalSetsRequestBody2 = {
32
32
  filterValue: string;
33
33
  };
34
34
 
35
- export type PostV2HumanEvalSetsRequestBody1 = {
35
+ export type RequestBody1 = {
36
36
  /**
37
37
  * Display name of the human review set
38
38
  */
@@ -56,9 +56,7 @@ export type PostV2HumanEvalSetsRequestBody1 = {
56
56
  filterValues: Array<string>;
57
57
  };
58
58
 
59
- export type PostV2HumanEvalSetsRequestBody =
60
- | PostV2HumanEvalSetsRequestBody1
61
- | PostV2HumanEvalSetsRequestBody2;
59
+ export type PostV2HumanEvalSetsRequestBody = RequestBody1 | RequestBody2;
62
60
 
63
61
  export type PostV2HumanEvalSetsResponseBody2 = {
64
62
  /**
@@ -146,7 +144,7 @@ export type PostV2HumanEvalSetsResponseBody =
146
144
  | PostV2HumanEvalSetsResponseBody2;
147
145
 
148
146
  /** @internal */
149
- export type PostV2HumanEvalSetsRequestBody2$Outbound = {
147
+ export type RequestBody2$Outbound = {
150
148
  display_name: string;
151
149
  description?: string | undefined;
152
150
  human_eval_ids: Array<string>;
@@ -156,10 +154,10 @@ export type PostV2HumanEvalSetsRequestBody2$Outbound = {
156
154
  };
157
155
 
158
156
  /** @internal */
159
- export const PostV2HumanEvalSetsRequestBody2$outboundSchema: z.ZodType<
160
- PostV2HumanEvalSetsRequestBody2$Outbound,
157
+ export const RequestBody2$outboundSchema: z.ZodType<
158
+ RequestBody2$Outbound,
161
159
  z.ZodTypeDef,
162
- PostV2HumanEvalSetsRequestBody2
160
+ RequestBody2
163
161
  > = z.object({
164
162
  displayName: z.string(),
165
163
  description: z.string().optional(),
@@ -177,18 +175,12 @@ export const PostV2HumanEvalSetsRequestBody2$outboundSchema: z.ZodType<
177
175
  });
178
176
  });
179
177
 
180
- export function postV2HumanEvalSetsRequestBody2ToJSON(
181
- postV2HumanEvalSetsRequestBody2: PostV2HumanEvalSetsRequestBody2,
182
- ): string {
183
- return JSON.stringify(
184
- PostV2HumanEvalSetsRequestBody2$outboundSchema.parse(
185
- postV2HumanEvalSetsRequestBody2,
186
- ),
187
- );
178
+ export function requestBody2ToJSON(requestBody2: RequestBody2): string {
179
+ return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2));
188
180
  }
189
181
 
190
182
  /** @internal */
191
- export type PostV2HumanEvalSetsRequestBody1$Outbound = {
183
+ export type RequestBody1$Outbound = {
192
184
  display_name: string;
193
185
  description?: string | undefined;
194
186
  human_eval_ids: Array<string>;
@@ -198,10 +190,10 @@ export type PostV2HumanEvalSetsRequestBody1$Outbound = {
198
190
  };
199
191
 
200
192
  /** @internal */
201
- export const PostV2HumanEvalSetsRequestBody1$outboundSchema: z.ZodType<
202
- PostV2HumanEvalSetsRequestBody1$Outbound,
193
+ export const RequestBody1$outboundSchema: z.ZodType<
194
+ RequestBody1$Outbound,
203
195
  z.ZodTypeDef,
204
- PostV2HumanEvalSetsRequestBody1
196
+ RequestBody1
205
197
  > = z.object({
206
198
  displayName: z.string(),
207
199
  description: z.string().optional(),
@@ -219,20 +211,14 @@ export const PostV2HumanEvalSetsRequestBody1$outboundSchema: z.ZodType<
219
211
  });
220
212
  });
221
213
 
222
- export function postV2HumanEvalSetsRequestBody1ToJSON(
223
- postV2HumanEvalSetsRequestBody1: PostV2HumanEvalSetsRequestBody1,
224
- ): string {
225
- return JSON.stringify(
226
- PostV2HumanEvalSetsRequestBody1$outboundSchema.parse(
227
- postV2HumanEvalSetsRequestBody1,
228
- ),
229
- );
214
+ export function requestBody1ToJSON(requestBody1: RequestBody1): string {
215
+ return JSON.stringify(RequestBody1$outboundSchema.parse(requestBody1));
230
216
  }
231
217
 
232
218
  /** @internal */
233
219
  export type PostV2HumanEvalSetsRequestBody$Outbound =
234
- | PostV2HumanEvalSetsRequestBody1$Outbound
235
- | PostV2HumanEvalSetsRequestBody2$Outbound;
220
+ | RequestBody1$Outbound
221
+ | RequestBody2$Outbound;
236
222
 
237
223
  /** @internal */
238
224
  export const PostV2HumanEvalSetsRequestBody$outboundSchema: z.ZodType<
@@ -240,8 +226,8 @@ export const PostV2HumanEvalSetsRequestBody$outboundSchema: z.ZodType<
240
226
  z.ZodTypeDef,
241
227
  PostV2HumanEvalSetsRequestBody
242
228
  > = z.union([
243
- z.lazy(() => PostV2HumanEvalSetsRequestBody1$outboundSchema),
244
- z.lazy(() => PostV2HumanEvalSetsRequestBody2$outboundSchema),
229
+ z.lazy(() => RequestBody1$outboundSchema),
230
+ z.lazy(() => RequestBody2$outboundSchema),
245
231
  ]);
246
232
 
247
233
  export function postV2HumanEvalSetsRequestBodyToJSON(
@@ -271,7 +257,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
271
257
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
272
258
  .optional(),
273
259
  updated: z.string().datetime({ offset: true }).default(
274
- "2026-10-20T05:21:28.288Z",
260
+ "2026-10-20T10:09:06.014Z",
275
261
  ).transform(v => new Date(v)),
276
262
  filter_type: z.literal("name"),
277
263
  filter_value: z.string(),
@@ -316,7 +302,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
316
302
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
317
303
  .optional(),
318
304
  updated: z.string().datetime({ offset: true }).default(
319
- "2026-10-20T05:21:28.288Z",
305
+ "2026-10-20T10:09:06.014Z",
320
306
  ).transform(v => new Date(v)),
321
307
  filter_type: z.literal("span_type"),
322
308
  filter_values: z.array(z.string()),
@@ -68,7 +68,7 @@ export type RetrieveResponseResponseBody = {
68
68
  maxToolCalls: number | null;
69
69
  memory?: components.MemoryParam | undefined;
70
70
  /**
71
- * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>).
71
+ * Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
72
72
  */
73
73
  metadata: { [k: string]: string };
74
74
  model: string;
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
624
624
  z.ZodTypeDef,
625
625
  unknown
626
626
  > = z.object({
627
- _id: z.string().default("tool_01M5BW40FQFT7KR83V71YQ2NN9"),
627
+ _id: z.string().default("tool_01M5CCJQ824B2PRSTWYK53HXH5"),
628
628
  path: z.string(),
629
629
  key: z.string(),
630
630
  display_name: z.string().optional(),
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
820
820
  z.ZodTypeDef,
821
821
  unknown
822
822
  > = z.object({
823
- _id: z.string().default("tool_01M5BW40FPNN621EF65NNX65PH"),
823
+ _id: z.string().default("tool_01M5CCJQ81EF4VPNZ0H5YGRJZD"),
824
824
  path: z.string(),
825
825
  key: z.string(),
826
826
  display_name: z.string().optional(),
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
916
916
  z.ZodTypeDef,
917
917
  unknown
918
918
  > = z.object({
919
- _id: z.string().default("tool_01M5BW40FN6NMD0AXN2D68VB0T"),
919
+ _id: z.string().default("tool_01M5CCJQ80P04QV8FJZY6E3QJ5"),
920
920
  path: z.string(),
921
921
  key: z.string(),
922
922
  display_name: z.string().optional(),
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1022
1022
  z.ZodTypeDef,
1023
1023
  unknown
1024
1024
  > = z.object({
1025
- _id: z.string().default("tool_01M5BW40FNZE0EPX2JHDR6E02S"),
1025
+ _id: z.string().default("tool_01M5CCJQ80A77C2WBGV3VZV4R2"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -3904,7 +3904,7 @@ export const Tools$outboundSchema: z.ZodType<
3904
3904
  z.ZodTypeDef,
3905
3905
  Tools
3906
3906
  > = z.object({
3907
- id: z.string().default("01M5BW40D672NY10T2ZYBCB4DR"),
3907
+ id: z.string().default("01M5CCJQ4QT034FD2Y107WVFKM"),
3908
3908
  name: z.string(),
3909
3909
  description: z.string().optional(),
3910
3910
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3963,7 +3963,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3963
3963
  z.ZodTypeDef,
3964
3964
  AgentToolInputRunTools
3965
3965
  > = z.object({
3966
- id: z.string().default("01M5BW40DPNXDRF86J37PECPQ1"),
3966
+ id: z.string().default("01M5CCJQ5FP8CMSVE3JJYP9ASZ"),
3967
3967
  name: z.string(),
3968
3968
  description: z.string().optional(),
3969
3969
  schema: z.lazy(() =>
@@ -1472,7 +1472,7 @@ export type UpdatePromptRole = ClosedEnum<typeof UpdatePromptRole>;
1472
1472
 
1473
1473
  export type UpdatePrompt2File = {
1474
1474
  /**
1475
- * The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
1475
+ * The file data as a data URI string in the format `data:<mime-type>;base64,<base64-encoded-data>`. Example: `data:image/png;base64,iVBORw0KGgoAAAANS...`
1476
1476
  */
1477
1477
  fileData?: string | undefined;
1478
1478
  /**