@orq-ai/node 4.15.0-rc.52 → 4.15.0-rc.54

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 (153) hide show
  1. package/FUNCTIONS.md +38 -3
  2. package/README.md +252 -71
  3. package/examples/deploymentsInvoke.example.ts +62 -0
  4. package/funcs/deploymentsInvoke.d.ts +18 -0
  5. package/funcs/deploymentsInvoke.d.ts.map +1 -0
  6. package/funcs/deploymentsInvoke.js +116 -0
  7. package/funcs/deploymentsInvoke.js.map +1 -0
  8. package/funcs/deploymentsStream.d.ts +18 -0
  9. package/funcs/deploymentsStream.d.ts.map +1 -0
  10. package/funcs/deploymentsStream.js +129 -0
  11. package/funcs/deploymentsStream.js.map +1 -0
  12. package/funcs/skillsUpdate.d.ts +1 -1
  13. package/funcs/skillsUpdate.js +1 -1
  14. package/jsr.json +1 -1
  15. package/lib/config.d.ts +2 -2
  16. package/lib/config.js +2 -2
  17. package/models/components/agentresponserequest.d.ts +8 -8
  18. package/models/components/agentresponserequest.d.ts.map +1 -1
  19. package/models/components/agentresponserequest.js +10 -9
  20. package/models/components/agentresponserequest.js.map +1 -1
  21. package/models/components/agentthoughtstreamingevent.d.ts +12 -12
  22. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
  23. package/models/components/agentthoughtstreamingevent.js +17 -17
  24. package/models/components/agentthoughtstreamingevent.js.map +1 -1
  25. package/models/components/index.d.ts +1 -0
  26. package/models/components/index.d.ts.map +1 -1
  27. package/models/components/index.js +1 -0
  28. package/models/components/index.js.map +1 -1
  29. package/models/components/invokedeploymentrequest.d.ts +1544 -0
  30. package/models/components/invokedeploymentrequest.d.ts.map +1 -0
  31. package/models/components/invokedeploymentrequest.js +1109 -0
  32. package/models/components/invokedeploymentrequest.js.map +1 -0
  33. package/models/components/reasoningpart.js +1 -1
  34. package/models/components/searchknowledgerequest.d.ts +176 -176
  35. package/models/components/searchknowledgerequest.d.ts.map +1 -1
  36. package/models/components/searchknowledgerequest.js +211 -222
  37. package/models/components/searchknowledgerequest.js.map +1 -1
  38. package/models/components/updatememorystorerequest.d.ts +5 -0
  39. package/models/components/updatememorystorerequest.d.ts.map +1 -1
  40. package/models/components/updatememorystorerequest.js +6 -0
  41. package/models/components/updatememorystorerequest.js.map +1 -1
  42. package/models/components/updateskillrequest.d.ts +1 -1
  43. package/models/operations/createagentrequest.d.ts +1 -1
  44. package/models/operations/createchatcompletion.d.ts +59 -59
  45. package/models/operations/createchatcompletion.d.ts.map +1 -1
  46. package/models/operations/createchatcompletion.js +81 -80
  47. package/models/operations/createchatcompletion.js.map +1 -1
  48. package/models/operations/createdataset.js +1 -1
  49. package/models/operations/createdatasetitem.js +5 -5
  50. package/models/operations/createprompt.d.ts +6 -6
  51. package/models/operations/createprompt.d.ts.map +1 -1
  52. package/models/operations/createprompt.js +5 -6
  53. package/models/operations/createprompt.js.map +1 -1
  54. package/models/operations/createtool.js +4 -4
  55. package/models/operations/deploymentgetconfig.d.ts +442 -442
  56. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  57. package/models/operations/deploymentgetconfig.js +481 -485
  58. package/models/operations/deploymentgetconfig.js.map +1 -1
  59. package/models/operations/deploymentinvoke.d.ts +367 -0
  60. package/models/operations/deploymentinvoke.d.ts.map +1 -0
  61. package/models/operations/deploymentinvoke.js +373 -0
  62. package/models/operations/deploymentinvoke.js.map +1 -0
  63. package/models/operations/deployments.d.ts +16 -16
  64. package/models/operations/deployments.d.ts.map +1 -1
  65. package/models/operations/deployments.js +16 -18
  66. package/models/operations/deployments.js.map +1 -1
  67. package/models/operations/deploymentstream.d.ts +1899 -0
  68. package/models/operations/deploymentstream.d.ts.map +1 -0
  69. package/models/operations/deploymentstream.js +1488 -0
  70. package/models/operations/deploymentstream.js.map +1 -0
  71. package/models/operations/getallprompts.d.ts +1 -1
  72. package/models/operations/getalltools.js +4 -4
  73. package/models/operations/getoneprompt.d.ts +1 -1
  74. package/models/operations/getpromptversion.d.ts +1 -1
  75. package/models/operations/getv2humanevalsets.js +2 -2
  76. package/models/operations/getv2humanevalsetsid.js +2 -2
  77. package/models/operations/index.d.ts +2 -0
  78. package/models/operations/index.d.ts.map +1 -1
  79. package/models/operations/index.js +2 -0
  80. package/models/operations/index.js.map +1 -1
  81. package/models/operations/listdatasetdatapoints.js +5 -5
  82. package/models/operations/listdatasets.js +1 -1
  83. package/models/operations/listpromptversions.d.ts +1 -1
  84. package/models/operations/patchv2humanevalsetsid.js +2 -2
  85. package/models/operations/postv2feedbackevaluation.js +4 -4
  86. package/models/operations/postv2humanevalsets.js +2 -2
  87. package/models/operations/retrievedatapoint.js +5 -5
  88. package/models/operations/retrievedataset.js +1 -1
  89. package/models/operations/retrievetool.js +4 -4
  90. package/models/operations/runagent.d.ts +1 -1
  91. package/models/operations/runagent.js +1 -1
  92. package/models/operations/streamrunagent.d.ts +1 -1
  93. package/models/operations/streamrunagent.js +1 -1
  94. package/models/operations/updateagent.d.ts +1 -1
  95. package/models/operations/updatedatapoint.js +5 -5
  96. package/models/operations/updatedataset.js +1 -1
  97. package/models/operations/updateprompt.d.ts +2 -2
  98. package/models/operations/updatetool.js +4 -4
  99. package/package.json +7 -7
  100. package/sdk/deployments.d.ts +16 -0
  101. package/sdk/deployments.d.ts.map +1 -1
  102. package/sdk/deployments.js +20 -0
  103. package/sdk/deployments.js.map +1 -1
  104. package/sdk/skills.d.ts +1 -1
  105. package/sdk/skills.js +1 -1
  106. package/src/funcs/deploymentsInvoke.ts +170 -0
  107. package/src/funcs/deploymentsStream.ts +180 -0
  108. package/src/funcs/skillsUpdate.ts +1 -1
  109. package/src/lib/config.ts +2 -2
  110. package/src/models/components/agentresponserequest.ts +17 -12
  111. package/src/models/components/agentthoughtstreamingevent.ts +55 -43
  112. package/src/models/components/index.ts +1 -0
  113. package/src/models/components/invokedeploymentrequest.ts +3444 -0
  114. package/src/models/components/reasoningpart.ts +1 -1
  115. package/src/models/components/searchknowledgerequest.ts +680 -469
  116. package/src/models/components/updatememorystorerequest.ts +11 -0
  117. package/src/models/components/updateskillrequest.ts +1 -1
  118. package/src/models/operations/createagentrequest.ts +1 -1
  119. package/src/models/operations/createchatcompletion.ts +314 -249
  120. package/src/models/operations/createdataset.ts +1 -1
  121. package/src/models/operations/createdatasetitem.ts +5 -5
  122. package/src/models/operations/createprompt.ts +9 -8
  123. package/src/models/operations/createtool.ts +4 -4
  124. package/src/models/operations/deploymentgetconfig.ts +1631 -1141
  125. package/src/models/operations/deploymentinvoke.ts +732 -0
  126. package/src/models/operations/deployments.ts +46 -42
  127. package/src/models/operations/deploymentstream.ts +4102 -0
  128. package/src/models/operations/getallprompts.ts +1 -1
  129. package/src/models/operations/getalltools.ts +4 -4
  130. package/src/models/operations/getoneprompt.ts +1 -1
  131. package/src/models/operations/getpromptversion.ts +1 -1
  132. package/src/models/operations/getv2humanevalsets.ts +2 -2
  133. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  134. package/src/models/operations/index.ts +2 -0
  135. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  136. package/src/models/operations/listdatasets.ts +1 -1
  137. package/src/models/operations/listpromptversions.ts +1 -1
  138. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  139. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  140. package/src/models/operations/postv2humanevalsets.ts +2 -2
  141. package/src/models/operations/retrievedatapoint.ts +5 -5
  142. package/src/models/operations/retrievedataset.ts +1 -1
  143. package/src/models/operations/retrievetool.ts +4 -4
  144. package/src/models/operations/runagent.ts +2 -2
  145. package/src/models/operations/streamrunagent.ts +2 -2
  146. package/src/models/operations/updateagent.ts +1 -1
  147. package/src/models/operations/updatedatapoint.ts +5 -5
  148. package/src/models/operations/updatedataset.ts +1 -1
  149. package/src/models/operations/updateprompt.ts +2 -2
  150. package/src/models/operations/updatetool.ts +4 -4
  151. package/src/sdk/deployments.ts +38 -0
  152. package/src/sdk/skills.ts +1 -1
  153. package/examples/deploymentsList.example.ts +0 -26
@@ -1492,7 +1492,7 @@ export type GetAllPromptsPromptField = {
1492
1492
  >
1493
1493
  | undefined;
1494
1494
  /**
1495
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1495
+ * Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1496
1496
  */
1497
1497
  model?: string | null | undefined;
1498
1498
  version?: string | undefined;
@@ -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_01M2MM6E6SQK9RCPPKCS7KN2HA"),
642
+ _id: z.string().default("tool_01M2NBZW0CM1WFX4B0A260PDVR"),
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_01M2MM6E6RDSZCZJQ9PD1JWSZR"),
824
+ _id: z.string().default("tool_01M2NBZW0B4G9GW1QRC709YEN7"),
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_01M2MM6E6Q7V5HV215F28J7CK0"),
917
+ _id: z.string().default("tool_01M2NBZW0AVE5753P57TY3Z9ZK"),
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_01M2MM6E6Q6WMHVD7WQA8RSDVJ"),
1015
+ _id: z.string().default("tool_01M2NBZW09KXA7MDENT3RA7YP9"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -1474,7 +1474,7 @@ export type GetOnePromptPromptField = {
1474
1474
  >
1475
1475
  | undefined;
1476
1476
  /**
1477
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1477
+ * Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1478
1478
  */
1479
1479
  model?: string | null | undefined;
1480
1480
  version?: string | undefined;
@@ -1487,7 +1487,7 @@ export type GetPromptVersionPromptField = {
1487
1487
  >
1488
1488
  | undefined;
1489
1489
  /**
1490
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1490
+ * Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1491
1491
  */
1492
1492
  model?: string | null | undefined;
1493
1493
  version?: string | undefined;
@@ -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-16T08:09:01.077Z",
143
+ "2026-09-16T15:04:51.742Z",
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-16T08:09:01.077Z",
188
+ "2026-09-16T15:04:51.742Z",
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-16T08:09:01.077Z",
144
+ "2026-09-16T15:04:51.742Z",
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-16T08:09:01.077Z",
189
+ "2026-09-16T15:04:51.742Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -69,7 +69,9 @@ export * from "./deletesession.js";
69
69
  export * from "./deletetool.js";
70
70
  export * from "./deletev2humanevalsetsid.js";
71
71
  export * from "./deploymentgetconfig.js";
72
+ export * from "./deploymentinvoke.js";
72
73
  export * from "./deployments.js";
74
+ export * from "./deploymentstream.js";
73
75
  export * from "./filecontent.js";
74
76
  export * from "./filedelete.js";
75
77
  export * from "./fileget.js";
@@ -1653,7 +1653,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
1653
1653
  explanation: z.string().optional(),
1654
1654
  reviewed_by_id: z.string(),
1655
1655
  reviewed_at: z.string().datetime({ offset: true }).default(
1656
- "2026-09-16T08:09:10.143Z",
1656
+ "2026-09-16T15:05:00.722Z",
1657
1657
  ).transform(v => new Date(v)),
1658
1658
  type: z.literal("string_array"),
1659
1659
  values: z.array(z.string()),
@@ -1749,7 +1749,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1749
1749
  explanation: z.string().optional(),
1750
1750
  reviewed_by_id: z.string(),
1751
1751
  reviewed_at: z.string().datetime({ offset: true }).default(
1752
- "2026-09-16T08:09:10.143Z",
1752
+ "2026-09-16T15:05:00.722Z",
1753
1753
  ).transform(v => new Date(v)),
1754
1754
  type: z.literal("boolean"),
1755
1755
  value: z.boolean(),
@@ -1853,7 +1853,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1853
1853
  explanation: z.string().optional(),
1854
1854
  reviewed_by_id: z.string(),
1855
1855
  reviewed_at: z.string().datetime({ offset: true }).default(
1856
- "2026-09-16T08:09:10.143Z",
1856
+ "2026-09-16T15:05:00.721Z",
1857
1857
  ).transform(v => new Date(v)),
1858
1858
  type: z.literal("number"),
1859
1859
  value: z.number(),
@@ -1959,7 +1959,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1959
1959
  explanation: z.string().optional(),
1960
1960
  reviewed_by_id: z.string(),
1961
1961
  reviewed_at: z.string().datetime({ offset: true }).default(
1962
- "2026-09-16T08:09:10.142Z",
1962
+ "2026-09-16T15:05:00.721Z",
1963
1963
  ).transform(v => new Date(v)),
1964
1964
  type: z.literal("string"),
1965
1965
  value: z.string(),
@@ -2042,7 +2042,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2042
2042
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2043
2043
  .optional(),
2044
2044
  updated: z.string().datetime({ offset: true }).default(
2045
- "2026-09-16T08:09:01.077Z",
2045
+ "2026-09-16T15:04:51.742Z",
2046
2046
  ).transform(v => new Date(v)),
2047
2047
  }).transform((v) => {
2048
2048
  return remap$(v, {
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
169
169
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
170
170
  .optional(),
171
171
  updated: z.string().datetime({ offset: true }).default(
172
- "2026-09-16T08:09:01.077Z",
172
+ "2026-09-16T15:04:51.742Z",
173
173
  ).transform(v => new Date(v)),
174
174
  }).transform((v) => {
175
175
  return remap$(v, {
@@ -1502,7 +1502,7 @@ export type ListPromptVersionsPromptField = {
1502
1502
  >
1503
1503
  | undefined;
1504
1504
  /**
1505
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1505
+ * Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
1506
1506
  */
1507
1507
  model?: string | null | undefined;
1508
1508
  version?: string | undefined;
@@ -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-09-16T08:09:01.077Z",
321
+ "2026-09-16T15:04:51.742Z",
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-09-16T08:09:01.077Z",
367
+ "2026-09-16T15:04:51.742Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
245
245
  PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
246
246
  .default("orq"),
247
247
  explanation: z.string().optional(),
248
- reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
248
+ reviewedAt: z.date().default(() => new Date("2026-09-16T15:05:00.798Z"))
249
249
  .transform(v => v.toISOString()),
250
250
  type: z.literal("string_array"),
251
251
  values: z.array(z.string()),
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
299
299
  source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
300
300
  .default("orq"),
301
301
  explanation: z.string().optional(),
302
- reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
302
+ reviewedAt: z.date().default(() => new Date("2026-09-16T15:05:00.798Z"))
303
303
  .transform(v => v.toISOString()),
304
304
  type: z.literal("boolean"),
305
305
  value: z.boolean(),
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
353
353
  "orq",
354
354
  ),
355
355
  explanation: z.string().optional(),
356
- reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
356
+ reviewedAt: z.date().default(() => new Date("2026-09-16T15:05:00.797Z"))
357
357
  .transform(v => v.toISOString()),
358
358
  type: z.literal("number"),
359
359
  value: z.number(),
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
405
405
  humanReviewId: z.string().optional(),
406
406
  source: RequestBodySource$outboundSchema.default("orq"),
407
407
  explanation: z.string().optional(),
408
- reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
408
+ reviewedAt: z.date().default(() => new Date("2026-09-16T15:05:00.797Z"))
409
409
  .transform(v => v.toISOString()),
410
410
  type: z.literal("string"),
411
411
  value: z.string(),
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
271
271
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
272
272
  .optional(),
273
273
  updated: z.string().datetime({ offset: true }).default(
274
- "2026-09-16T08:09:01.077Z",
274
+ "2026-09-16T15:04:51.742Z",
275
275
  ).transform(v => new Date(v)),
276
276
  filter_type: z.literal("name"),
277
277
  filter_value: z.string(),
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
316
316
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
317
317
  .optional(),
318
318
  updated: z.string().datetime({ offset: true }).default(
319
- "2026-09-16T08:09:01.077Z",
319
+ "2026-09-16T15:04:51.742Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -1585,7 +1585,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
1585
1585
  explanation: z.string().optional(),
1586
1586
  reviewed_by_id: z.string(),
1587
1587
  reviewed_at: z.string().datetime({ offset: true }).default(
1588
- "2026-09-16T08:09:10.147Z",
1588
+ "2026-09-16T15:05:00.728Z",
1589
1589
  ).transform(v => new Date(v)),
1590
1590
  type: z.literal("string_array"),
1591
1591
  values: z.array(z.string()),
@@ -1685,7 +1685,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
1685
1685
  explanation: z.string().optional(),
1686
1686
  reviewed_by_id: z.string(),
1687
1687
  reviewed_at: z.string().datetime({ offset: true }).default(
1688
- "2026-09-16T08:09:10.147Z",
1688
+ "2026-09-16T15:05:00.727Z",
1689
1689
  ).transform(v => new Date(v)),
1690
1690
  type: z.literal("boolean"),
1691
1691
  value: z.boolean(),
@@ -1783,7 +1783,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
1783
1783
  explanation: z.string().optional(),
1784
1784
  reviewed_by_id: z.string(),
1785
1785
  reviewed_at: z.string().datetime({ offset: true }).default(
1786
- "2026-09-16T08:09:10.146Z",
1786
+ "2026-09-16T15:05:00.727Z",
1787
1787
  ).transform(v => new Date(v)),
1788
1788
  type: z.literal("number"),
1789
1789
  value: z.number(),
@@ -1871,7 +1871,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
1871
1871
  explanation: z.string().optional(),
1872
1872
  reviewed_by_id: z.string(),
1873
1873
  reviewed_at: z.string().datetime({ offset: true }).default(
1874
- "2026-09-16T08:09:10.146Z",
1874
+ "2026-09-16T15:05:00.725Z",
1875
1875
  ).transform(v => new Date(v)),
1876
1876
  type: z.literal("string"),
1877
1877
  value: z.string(),
@@ -1952,7 +1952,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
1952
1952
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1953
1953
  .optional(),
1954
1954
  updated: z.string().datetime({ offset: true }).default(
1955
- "2026-09-16T08:09:01.077Z",
1955
+ "2026-09-16T15:04:51.742Z",
1956
1956
  ).transform(v => new Date(v)),
1957
1957
  }).transform((v) => {
1958
1958
  return remap$(v, {
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
126
126
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
127
127
  .optional(),
128
128
  updated: z.string().datetime({ offset: true }).default(
129
- "2026-09-16T08:09:01.077Z",
129
+ "2026-09-16T15:04:51.742Z",
130
130
  ).transform(v => new Date(v)),
131
131
  }).transform((v) => {
132
132
  return remap$(v, {
@@ -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_01M2MM6E7GD8AMAGW00Y0TBS8C"),
627
+ _id: z.string().default("tool_01M2NBZW15553FJ678YYSYBHR0"),
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_01M2MM6E7FNW3A26W9AKP2AGX4"),
823
+ _id: z.string().default("tool_01M2NBZW14P41E4JRWF2N63T7M"),
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_01M2MM6E7F93AVBQVBC102T4FS"),
919
+ _id: z.string().default("tool_01M2NBZW13X210NPN3QF3V5YAW"),
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_01M2MM6E7E8DEAWM6W4FY3DEQ6"),
1025
+ _id: z.string().default("tool_01M2NBZW12KPN13AY4G9FCWRWW"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -479,7 +479,7 @@ export type RunAgentModelConfigurationRetry = {
479
479
  */
480
480
  export type RunAgentModelConfiguration2 = {
481
481
  /**
482
- * A model ID string (e.g., `openai/gpt-4o` or `anthropic/claude-haiku-4-5-20251001`). Only models that support tool calling can be used with agents.
482
+ * A model ID string (e.g., `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`). Only models that support tool calling can be used with agents.
483
483
  */
484
484
  id: string;
485
485
  /**
@@ -3890,7 +3890,7 @@ export const Tools$outboundSchema: z.ZodType<
3890
3890
  z.ZodTypeDef,
3891
3891
  Tools
3892
3892
  > = z.object({
3893
- id: z.string().default("01M2MM6E4AYVDDZH7DVWH9DKEP"),
3893
+ id: z.string().default("01M2NBZVXQ6ZF9TTB4SKMT89R1"),
3894
3894
  name: z.string(),
3895
3895
  description: z.string().optional(),
3896
3896
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -490,7 +490,7 @@ export type StreamRunAgentModelConfigurationRetry = {
490
490
  */
491
491
  export type StreamRunAgentModelConfiguration2 = {
492
492
  /**
493
- * A model ID string (e.g., `openai/gpt-4o` or `anthropic/claude-haiku-4-5-20251001`). Only models that support tool calling can be used with agents.
493
+ * A model ID string (e.g., `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`). Only models that support tool calling can be used with agents.
494
494
  */
495
495
  id: string;
496
496
  /**
@@ -3949,7 +3949,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3949
3949
  z.ZodTypeDef,
3950
3950
  AgentToolInputRunTools
3951
3951
  > = z.object({
3952
- id: z.string().default("01M2MM6E51J5Z2HDGRSAB18KKE"),
3952
+ id: z.string().default("01M2NBZVYFV2RR2KC82W3A7R8R"),
3953
3953
  name: z.string(),
3954
3954
  description: z.string().optional(),
3955
3955
  schema: z.lazy(() =>
@@ -481,7 +481,7 @@ export type ModelConfigurationRetry = {
481
481
  */
482
482
  export type UpdateAgentModelConfiguration2 = {
483
483
  /**
484
- * A model ID string (e.g., `openai/gpt-4o` or `anthropic/claude-haiku-4-5-20251001`). Only models that support tool calling can be used with agents.
484
+ * A model ID string (e.g., `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`). Only models that support tool calling can be used with agents.
485
485
  */
486
486
  id: string;
487
487
  /**
@@ -2760,7 +2760,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
2760
2760
  explanation: z.string().optional(),
2761
2761
  reviewed_by_id: z.string(),
2762
2762
  reviewed_at: z.string().datetime({ offset: true }).default(
2763
- "2026-09-16T08:09:10.163Z",
2763
+ "2026-09-16T15:05:00.744Z",
2764
2764
  ).transform(v => new Date(v)),
2765
2765
  type: z.literal("string_array"),
2766
2766
  values: z.array(z.string()),
@@ -2860,7 +2860,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
2860
2860
  explanation: z.string().optional(),
2861
2861
  reviewed_by_id: z.string(),
2862
2862
  reviewed_at: z.string().datetime({ offset: true }).default(
2863
- "2026-09-16T08:09:10.162Z",
2863
+ "2026-09-16T15:05:00.743Z",
2864
2864
  ).transform(v => new Date(v)),
2865
2865
  type: z.literal("boolean"),
2866
2866
  value: z.boolean(),
@@ -2957,7 +2957,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
2957
2957
  explanation: z.string().optional(),
2958
2958
  reviewed_by_id: z.string(),
2959
2959
  reviewed_at: z.string().datetime({ offset: true }).default(
2960
- "2026-09-16T08:09:10.162Z",
2960
+ "2026-09-16T15:05:00.743Z",
2961
2961
  ).transform(v => new Date(v)),
2962
2962
  type: z.literal("number"),
2963
2963
  value: z.number(),
@@ -3046,7 +3046,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
3046
3046
  explanation: z.string().optional(),
3047
3047
  reviewed_by_id: z.string(),
3048
3048
  reviewed_at: z.string().datetime({ offset: true }).default(
3049
- "2026-09-16T08:09:10.161Z",
3049
+ "2026-09-16T15:05:00.743Z",
3050
3050
  ).transform(v => new Date(v)),
3051
3051
  type: z.literal("string"),
3052
3052
  value: z.string(),
@@ -3131,7 +3131,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
3131
3131
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3132
3132
  .optional(),
3133
3133
  updated: z.string().datetime({ offset: true }).default(
3134
- "2026-09-16T08:09:01.077Z",
3134
+ "2026-09-16T15:04:51.742Z",
3135
3135
  ).transform(v => new Date(v)),
3136
3136
  }).transform((v) => {
3137
3137
  return remap$(v, {
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
182
182
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
183
183
  .optional(),
184
184
  updated: z.string().datetime({ offset: true }).default(
185
- "2026-09-16T08:09:01.077Z",
185
+ "2026-09-16T15:04:51.742Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -742,7 +742,7 @@ export type UpdatePromptPromptInput = {
742
742
  >
743
743
  | undefined;
744
744
  /**
745
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway/supported-models. Only chat models are supported.
745
+ * Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway/supported-models. Only chat models are supported.
746
746
  */
747
747
  model?: string | null | undefined;
748
748
  /**
@@ -2477,7 +2477,7 @@ export type UpdatePromptPromptField = {
2477
2477
  >
2478
2478
  | undefined;
2479
2479
  /**
2480
- * Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
2480
+ * Model ID used to generate the response, like `openai/gpt-5.6-sol` or `anthropic/claude-sonnet-5`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
2481
2481
  */
2482
2482
  model?: string | null | undefined;
2483
2483
  version?: string | undefined;
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1764
1764
  z.ZodTypeDef,
1765
1765
  unknown
1766
1766
  > = z.object({
1767
- _id: z.string().default("tool_01M2MM6E77GWBRCD8SE8D5K1D5"),
1767
+ _id: z.string().default("tool_01M2NBZW0VH389T9VB903BEYGX"),
1768
1768
  path: z.string(),
1769
1769
  key: z.string(),
1770
1770
  display_name: z.string().optional(),
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1959
1959
  z.ZodTypeDef,
1960
1960
  unknown
1961
1961
  > = z.object({
1962
- _id: z.string().default("tool_01M2MM6E76HFK1JGBTZQVM07S0"),
1962
+ _id: z.string().default("tool_01M2NBZW0SZHC78V8QHM8CXCX8"),
1963
1963
  path: z.string(),
1964
1964
  key: z.string(),
1965
1965
  display_name: z.string().optional(),
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2054
2054
  z.ZodTypeDef,
2055
2055
  unknown
2056
2056
  > = z.object({
2057
- _id: z.string().default("tool_01M2MM6E76XXHDZ3H6WNN2C1VC"),
2057
+ _id: z.string().default("tool_01M2NBZW0SVFA20YZE7FY8GZCH"),
2058
2058
  path: z.string(),
2059
2059
  key: z.string(),
2060
2060
  display_name: z.string().optional(),
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2157
2157
  z.ZodTypeDef,
2158
2158
  unknown
2159
2159
  > = z.object({
2160
- _id: z.string().default("tool_01M2MM6E75KVWZ0SPDT91998PK"),
2160
+ _id: z.string().default("tool_01M2NBZW0RSTQP2KBXJGB42SBP"),
2161
2161
  path: z.string(),
2162
2162
  key: z.string(),
2163
2163
  display_name: z.string().optional(),
@@ -3,12 +3,50 @@
3
3
  */
4
4
 
5
5
  import { deploymentsGetConfig } from "../funcs/deploymentsGetConfig.js";
6
+ import { deploymentsInvoke } from "../funcs/deploymentsInvoke.js";
6
7
  import { deploymentsList } from "../funcs/deploymentsList.js";
8
+ import { deploymentsStream } from "../funcs/deploymentsStream.js";
9
+ import { EventStream } from "../lib/event-streams.js";
7
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
+ import * as components from "../models/components/index.js";
8
12
  import * as operations from "../models/operations/index.js";
9
13
  import { unwrapAsync } from "../types/fp.js";
10
14
 
11
15
  export class Deployments extends ClientSDK {
16
+ /**
17
+ * Invoke
18
+ *
19
+ * @remarks
20
+ * Invoke a deployment with a given payload
21
+ */
22
+ async invoke(
23
+ request: components.InvokeDeploymentRequest,
24
+ options?: RequestOptions,
25
+ ): Promise<operations.DeploymentInvokeResponseBody | undefined> {
26
+ return unwrapAsync(deploymentsInvoke(
27
+ this,
28
+ request,
29
+ options,
30
+ ));
31
+ }
32
+
33
+ /**
34
+ * Stream
35
+ *
36
+ * @remarks
37
+ * Stream deployment generation. Only supported for completions and chat completions.
38
+ */
39
+ async stream(
40
+ request: operations.DeploymentStreamRequestBody,
41
+ options?: RequestOptions,
42
+ ): Promise<EventStream<operations.DeploymentStreamResponseBody>> {
43
+ return unwrapAsync(deploymentsStream(
44
+ this,
45
+ request,
46
+ options,
47
+ ));
48
+ }
49
+
12
50
  /**
13
51
  * List all deployments
14
52
  *
package/src/sdk/skills.ts CHANGED
@@ -85,7 +85,7 @@ export class Skills extends ClientSDK {
85
85
  * Update a skill
86
86
  *
87
87
  * @remarks
88
- * Updates mutable skill fields. Omitted optional fields keep their current values. Repeated fields such as `tags` replace the existing collection when provided.
88
+ * Updates mutable skill fields. Omitted fields keep their current values. When `tags` is provided it replaces the existing tags; send an empty array to clear them.
89
89
  */
90
90
  async update(
91
91
  request: operations.SkillUpdateRequest,
@@ -1,26 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import dotenv from "dotenv";
6
- dotenv.config();
7
- /**
8
- * Example usage of the @orq-ai/node SDK
9
- *
10
- * To run this example from the examples directory:
11
- * npm run build && npx tsx deploymentsList.example.ts
12
- */
13
-
14
- import { Orq } from "@orq-ai/node";
15
-
16
- const orq = new Orq({
17
- apiKey: process.env["ORQ_API_KEY"] ?? "",
18
- });
19
-
20
- async function main() {
21
- const result = await orq.deployments.list({});
22
-
23
- console.log(result);
24
- }
25
-
26
- main().catch(console.error);