@orq-ai/node 4.15.0-rc.26 → 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 (70) 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/jsr.json +1 -1
  14. package/lib/config.d.ts +2 -2
  15. package/lib/config.js +2 -2
  16. package/models/components/managementkey.d.ts +3 -4
  17. package/models/components/managementkey.d.ts.map +1 -1
  18. package/models/components/managementkey.js.map +1 -1
  19. package/models/components/reasoningpart.js +1 -1
  20. package/models/operations/createdataset.js +1 -1
  21. package/models/operations/createdatasetitem.js +5 -5
  22. package/models/operations/createtool.js +4 -4
  23. package/models/operations/getalltools.js +4 -4
  24. package/models/operations/getv2humanevalsets.js +2 -2
  25. package/models/operations/getv2humanevalsetsid.js +2 -2
  26. package/models/operations/listdatasetdatapoints.js +5 -5
  27. package/models/operations/listdatasets.js +1 -1
  28. package/models/operations/patchv2humanevalsetsid.js +2 -2
  29. package/models/operations/postv2feedbackevaluation.js +4 -4
  30. package/models/operations/postv2humanevalsets.js +2 -2
  31. package/models/operations/retrievedatapoint.js +5 -5
  32. package/models/operations/retrievedataset.js +1 -1
  33. package/models/operations/retrievetool.js +4 -4
  34. package/models/operations/runagent.js +1 -1
  35. package/models/operations/streamrunagent.js +1 -1
  36. package/models/operations/updatedatapoint.js +5 -5
  37. package/models/operations/updatedataset.js +1 -1
  38. package/models/operations/updatetool.js +4 -4
  39. package/package.json +5 -5
  40. package/sdk/budgets.d.ts +6 -6
  41. package/sdk/budgets.js +6 -6
  42. package/src/funcs/budgetsCreate.ts +1 -1
  43. package/src/funcs/budgetsDelete.ts +1 -1
  44. package/src/funcs/budgetsGet.ts +1 -1
  45. package/src/funcs/budgetsList.ts +1 -1
  46. package/src/funcs/budgetsResetConsumption.ts +1 -1
  47. package/src/funcs/budgetsUpdate.ts +1 -1
  48. package/src/lib/config.ts +2 -2
  49. package/src/models/components/managementkey.ts +3 -4
  50. package/src/models/components/reasoningpart.ts +1 -1
  51. package/src/models/operations/createdataset.ts +1 -1
  52. package/src/models/operations/createdatasetitem.ts +5 -5
  53. package/src/models/operations/createtool.ts +4 -4
  54. package/src/models/operations/getalltools.ts +4 -4
  55. package/src/models/operations/getv2humanevalsets.ts +2 -2
  56. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  57. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  58. package/src/models/operations/listdatasets.ts +1 -1
  59. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  60. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  61. package/src/models/operations/postv2humanevalsets.ts +2 -2
  62. package/src/models/operations/retrievedatapoint.ts +5 -5
  63. package/src/models/operations/retrievedataset.ts +1 -1
  64. package/src/models/operations/retrievetool.ts +4 -4
  65. package/src/models/operations/runagent.ts +1 -1
  66. package/src/models/operations/streamrunagent.ts +1 -1
  67. package/src/models/operations/updatedatapoint.ts +5 -5
  68. package/src/models/operations/updatedataset.ts +1 -1
  69. package/src/models/operations/updatetool.ts +4 -4
  70. package/src/sdk/budgets.ts +6 -6
@@ -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-08T00:03:36.349Z",
1588
+ "2026-09-08T09:48:32.284Z",
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-08T00:03:36.349Z",
1688
+ "2026-09-08T09:48:32.284Z",
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-08T00:03:36.348Z",
1786
+ "2026-09-08T09:48:32.282Z",
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-08T00:03:36.348Z",
1874
+ "2026-09-08T09:48:32.281Z",
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-08T00:03:29.341Z",
1955
+ "2026-09-08T09:48:23.645Z",
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-08T00:03:29.341Z",
129
+ "2026-09-08T09:48:23.645Z",
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_01M1Z57K8HX84EVXJJW5T5GH1C"),
627
+ _id: z.string().default("tool_01M206PMMAHQVYR782EJVTFXJ5"),
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_01M1Z57K8GH6VNAE8PHHEERXQX"),
823
+ _id: z.string().default("tool_01M206PMMA9BT09AX8820ZX9X2"),
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_01M1Z57K8GE1Q3N3RPZMGZGYZ3"),
919
+ _id: z.string().default("tool_01M206PMM9V7PK8VGCWNXCJ3SB"),
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_01M1Z57K8FPK5P9E08ES6G66C8"),
1025
+ _id: z.string().default("tool_01M206PMM8GM823A08TJ251429"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -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("01M1Z57K65WJT07AMXXAEQ3GRY"),
3893
+ id: z.string().default("01M206PMH3BX99KQ6EA26C1P7E"),
3894
3894
  name: z.string(),
3895
3895
  description: z.string().optional(),
3896
3896
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -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("01M1Z57K6PE22RM21C34PRFX4B"),
3952
+ id: z.string().default("01M206PMHVZ2VNA7ZXKFDDG497"),
3953
3953
  name: z.string(),
3954
3954
  description: z.string().optional(),
3955
3955
  schema: z.lazy(() =>
@@ -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-08T00:03:36.361Z",
2763
+ "2026-09-08T09:48:32.299Z",
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-08T00:03:36.361Z",
2863
+ "2026-09-08T09:48:32.299Z",
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-08T00:03:36.360Z",
2960
+ "2026-09-08T09:48:32.299Z",
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-08T00:03:36.360Z",
3049
+ "2026-09-08T09:48:32.298Z",
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-08T00:03:29.341Z",
3134
+ "2026-09-08T09:48:23.645Z",
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-08T00:03:29.341Z",
185
+ "2026-09-08T09:48:23.645Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -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_01M1Z57K8AWE68QY0RBYCYM3S4"),
1767
+ _id: z.string().default("tool_01M206PMM2CPFDTMF59P6SJ2N3"),
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_01M1Z57K88CDS5SZ9Y50HN3W1A"),
1962
+ _id: z.string().default("tool_01M206PMM1BJ1347BZWV7NRFVA"),
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_01M1Z57K881KEHHYNNK6E9FS12"),
2057
+ _id: z.string().default("tool_01M206PMM0Y0FQ7GT7VYHMNY61"),
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_01M1Z57K87Y5PNPDQ0MZGGF674"),
2160
+ _id: z.string().default("tool_01M206PMKZWWJWCX19977140G4"),
2161
2161
  path: z.string(),
2162
2162
  key: z.string(),
2163
2163
  display_name: z.string().optional(),
@@ -18,7 +18,7 @@ export class Budgets extends ClientSDK {
18
18
  * List budgets
19
19
  *
20
20
  * @remarks
21
- * 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.
21
+ * 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.
22
22
  */
23
23
  async list(
24
24
  request?: operations.BudgetListRequest | undefined,
@@ -35,7 +35,7 @@ export class Budgets extends ClientSDK {
35
35
  * Create a new budget
36
36
  *
37
37
  * @remarks
38
- * 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).
38
+ * 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.
39
39
  */
40
40
  async create(
41
41
  request: components.CreateBudgetRequest,
@@ -52,7 +52,7 @@ export class Budgets extends ClientSDK {
52
52
  * Retrieve a budget
53
53
  *
54
54
  * @remarks
55
- * Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
55
+ * 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.
56
56
  */
57
57
  async get(
58
58
  request: operations.BudgetGetRequest,
@@ -69,7 +69,7 @@ export class Budgets extends ClientSDK {
69
69
  * Delete a budget
70
70
  *
71
71
  * @remarks
72
- * Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
72
+ * 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.
73
73
  */
74
74
  async delete(
75
75
  request: operations.BudgetDeleteRequest,
@@ -86,7 +86,7 @@ export class Budgets extends ClientSDK {
86
86
  * Update a budget
87
87
  *
88
88
  * @remarks
89
- * 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.
89
+ * 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.
90
90
  */
91
91
  async update(
92
92
  request: operations.BudgetUpdateRequest,
@@ -103,7 +103,7 @@ export class Budgets extends ClientSDK {
103
103
  * Reset budget consumption
104
104
  *
105
105
  * @remarks
106
- * Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
106
+ * 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.
107
107
  */
108
108
  async resetConsumption(
109
109
  request: operations.BudgetResetConsumptionRequest,