@orq-ai/node 4.9.2 → 4.9.4

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 (134) hide show
  1. package/jsr.json +1 -1
  2. package/langchain/async-handler.d.mts.map +1 -1
  3. package/langchain/async-handler.mjs +8 -11
  4. package/langchain/async-handler.mjs.map +1 -1
  5. package/langchain/events.d.mts.map +1 -1
  6. package/langchain/events.mjs +12 -0
  7. package/langchain/events.mjs.map +1 -1
  8. package/langchain/handler.d.mts.map +1 -1
  9. package/langchain/handler.mjs +8 -11
  10. package/langchain/handler.mjs.map +1 -1
  11. package/langchain/span-builder.mjs +3 -3
  12. package/langchain/span-builder.mjs.map +1 -1
  13. package/langchain/utils.d.mts.map +1 -1
  14. package/langchain/utils.mjs +115 -0
  15. package/langchain/utils.mjs.map +1 -1
  16. package/lib/config.d.ts +3 -3
  17. package/lib/config.js +3 -3
  18. package/models/components/reasoningpart.js +1 -1
  19. package/models/operations/createcontact.js +1 -1
  20. package/models/operations/createdataset.js +1 -1
  21. package/models/operations/createdatasetitem.js +4 -4
  22. package/models/operations/createdatasource.js +1 -1
  23. package/models/operations/createeval.js +16 -16
  24. package/models/operations/createidentity.js +1 -1
  25. package/models/operations/createrouterresponse.d.ts +6 -11
  26. package/models/operations/createrouterresponse.d.ts.map +1 -1
  27. package/models/operations/createrouterresponse.js +2 -8
  28. package/models/operations/createrouterresponse.js.map +1 -1
  29. package/models/operations/createtool.js +6 -6
  30. package/models/operations/getalltools.js +6 -6
  31. package/models/operations/getevals.js +16 -16
  32. package/models/operations/getv2humanevalsets.js +2 -2
  33. package/models/operations/getv2humanevalsetsid.js +2 -2
  34. package/models/operations/listdatasetdatapoints.js +4 -4
  35. package/models/operations/listdatasets.js +1 -1
  36. package/models/operations/listdatasources.js +1 -1
  37. package/models/operations/listidentities.js +1 -1
  38. package/models/operations/patchv2humanevalsetsid.js +2 -2
  39. package/models/operations/postv2feedbackevaluation.js +3 -3
  40. package/models/operations/postv2humanevalsets.js +2 -2
  41. package/models/operations/retrievedatapoint.js +4 -4
  42. package/models/operations/retrievedataset.js +1 -1
  43. package/models/operations/retrievedatasource.js +1 -1
  44. package/models/operations/retrieveidentity.js +1 -1
  45. package/models/operations/retrievetool.js +6 -6
  46. package/models/operations/runagent.js +1 -1
  47. package/models/operations/streamrunagent.js +1 -1
  48. package/models/operations/updatedatapoint.js +4 -4
  49. package/models/operations/updatedataset.js +1 -1
  50. package/models/operations/updatedatasource.js +1 -1
  51. package/models/operations/updateeval.js +16 -16
  52. package/models/operations/updateidentity.js +1 -1
  53. package/models/operations/updatetool.js +7 -7
  54. package/package.json +7 -7
  55. package/packages/orq-rc/src/lib/config.ts +3 -3
  56. package/packages/orq-rc/src/models/components/modelref.ts +6 -0
  57. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  58. package/packages/orq-rc/src/models/operations/createagentrequest.ts +3 -3
  59. package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
  60. package/packages/orq-rc/src/models/operations/createdataset.ts +4 -4
  61. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  62. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  63. package/packages/orq-rc/src/models/operations/createeval.ts +31 -31
  64. package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
  65. package/packages/orq-rc/src/models/operations/createknowledge.ts +9 -9
  66. package/packages/orq-rc/src/models/operations/creatememorystore.ts +3 -3
  67. package/packages/orq-rc/src/models/operations/createprompt.ts +3 -3
  68. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +3 -24
  69. package/packages/orq-rc/src/models/operations/createtool.ts +36 -36
  70. package/packages/orq-rc/src/models/operations/getalltools.ts +21 -21
  71. package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
  72. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +6 -6
  73. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  74. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  75. package/packages/orq-rc/src/models/operations/listagents.ts +3 -3
  76. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  77. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  78. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  79. package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
  80. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +6 -6
  81. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  83. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3 -3
  85. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  86. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  87. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  88. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
  89. package/packages/orq-rc/src/models/operations/retrievetool.ts +21 -21
  90. package/packages/orq-rc/src/models/operations/runagent.ts +4 -4
  91. package/packages/orq-rc/src/models/operations/streamrunagent.ts +4 -4
  92. package/packages/orq-rc/src/models/operations/updateagent.ts +6 -6
  93. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  94. package/packages/orq-rc/src/models/operations/updatedataset.ts +4 -4
  95. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  96. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  97. package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
  98. package/packages/orq-rc/src/models/operations/updateknowledge.ts +12 -12
  99. package/packages/orq-rc/src/models/operations/updateprompt.ts +3 -3
  100. package/packages/orq-rc/src/models/operations/updatetool.ts +37 -37
  101. package/src/lib/config.ts +3 -3
  102. package/src/models/components/reasoningpart.ts +1 -1
  103. package/src/models/operations/createcontact.ts +1 -1
  104. package/src/models/operations/createdataset.ts +1 -1
  105. package/src/models/operations/createdatasetitem.ts +4 -4
  106. package/src/models/operations/createdatasource.ts +1 -1
  107. package/src/models/operations/createeval.ts +16 -16
  108. package/src/models/operations/createidentity.ts +1 -1
  109. package/src/models/operations/createrouterresponse.ts +3 -24
  110. package/src/models/operations/createtool.ts +6 -6
  111. package/src/models/operations/getalltools.ts +6 -6
  112. package/src/models/operations/getevals.ts +16 -16
  113. package/src/models/operations/getv2humanevalsets.ts +2 -2
  114. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  115. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  116. package/src/models/operations/listdatasets.ts +1 -1
  117. package/src/models/operations/listdatasources.ts +1 -1
  118. package/src/models/operations/listidentities.ts +1 -1
  119. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  120. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  121. package/src/models/operations/postv2humanevalsets.ts +2 -2
  122. package/src/models/operations/retrievedatapoint.ts +4 -4
  123. package/src/models/operations/retrievedataset.ts +1 -1
  124. package/src/models/operations/retrievedatasource.ts +1 -1
  125. package/src/models/operations/retrieveidentity.ts +1 -1
  126. package/src/models/operations/retrievetool.ts +6 -6
  127. package/src/models/operations/runagent.ts +1 -1
  128. package/src/models/operations/streamrunagent.ts +1 -1
  129. package/src/models/operations/updatedatapoint.ts +4 -4
  130. package/src/models/operations/updatedataset.ts +1 -1
  131. package/src/models/operations/updatedatasource.ts +1 -1
  132. package/src/models/operations/updateeval.ts +16 -16
  133. package/src/models/operations/updateidentity.ts +1 -1
  134. package/src/models/operations/updatetool.ts +7 -7
@@ -2577,13 +2577,13 @@ export type CreateAgentRequestResponseBody = {
2577
2577
  */
2578
2578
  version?: string | undefined;
2579
2579
  /**
2580
- * Entity storage path in the format: `project/folder/subfolder/...`
2580
+ * Entity storage path.
2581
2581
  *
2582
2582
  * @remarks
2583
2583
  *
2584
- * The first element identifies the project, followed by nested folders (auto-created as needed).
2584
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
2585
2585
  *
2586
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
2586
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
2587
2587
  */
2588
2588
  path: string;
2589
2589
  /**
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
134
134
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
135
135
  .optional(),
136
136
  updated: z.string().datetime({ offset: true }).default(
137
- "2026-05-13T09:56:59.680Z",
137
+ "2026-05-15T03:37:24.790Z",
138
138
  ).transform(v => new Date(v)),
139
139
  }).transform((v) => {
140
140
  return remap$(v, {
@@ -14,13 +14,13 @@ export type CreateDatasetRequestBody = {
14
14
  */
15
15
  displayName: string;
16
16
  /**
17
- * Entity storage path in the format: `project/folder/subfolder/...`
17
+ * Entity storage path.
18
18
  *
19
19
  * @remarks
20
20
  *
21
- * The first element identifies the project, followed by nested folders (auto-created as needed).
21
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
22
22
  *
23
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
23
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
24
24
  */
25
25
  path: string;
26
26
  };
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-05-13T09:56:59.680Z",
141
+ "2026-05-15T03:37:24.790Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
2355
2355
  ),
2356
2356
  reviewed_by_id: z.string(),
2357
2357
  reviewed_at: z.string().datetime({ offset: true }).default(
2358
- "2026-05-13T09:57:14.693Z",
2358
+ "2026-05-15T03:37:40.049Z",
2359
2359
  ).transform(v => new Date(v)),
2360
2360
  type: z.literal("string_array"),
2361
2361
  values: z.array(z.string()),
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2400
2400
  source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
2401
2401
  reviewed_by_id: z.string(),
2402
2402
  reviewed_at: z.string().datetime({ offset: true }).default(
2403
- "2026-05-13T09:57:14.692Z",
2403
+ "2026-05-15T03:37:40.048Z",
2404
2404
  ).transform(v => new Date(v)),
2405
2405
  type: z.literal("number"),
2406
2406
  value: z.number(),
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
2446
2446
  source: EvaluationsSource$inboundSchema.default("orq"),
2447
2447
  reviewed_by_id: z.string(),
2448
2448
  reviewed_at: z.string().datetime({ offset: true }).default(
2449
- "2026-05-13T09:57:14.692Z",
2449
+ "2026-05-15T03:37:40.047Z",
2450
2450
  ).transform(v => new Date(v)),
2451
2451
  type: z.literal("string"),
2452
2452
  value: z.string(),
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
2529
2529
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2530
2530
  .optional(),
2531
2531
  updated: z.string().datetime({ offset: true }).default(
2532
- "2026-05-13T09:56:59.680Z",
2532
+ "2026-05-15T03:37:24.790Z",
2533
2533
  ).transform(v => new Date(v)),
2534
2534
  }).transform((v) => {
2535
2535
  return remap$(v, {
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
403
403
  z.ZodTypeDef,
404
404
  unknown
405
405
  > = z.object({
406
- _id: z.string().default("01KRGC9RQQKFTW0EAS452257WK"),
406
+ _id: z.string().default("01KRMVC5WMJXT1GYFABAAPHB4K"),
407
407
  display_name: z.string(),
408
408
  description: z.string().optional(),
409
409
  status: CreateDatasourceStatus$inboundSchema,
@@ -74,13 +74,13 @@ export type Python = {
74
74
  code: string;
75
75
  type: CreateEvalRequestBodyType;
76
76
  /**
77
- * Entity storage path in the format: `project/folder/subfolder/...`
77
+ * Entity storage path.
78
78
  *
79
79
  * @remarks
80
80
  *
81
- * The first element identifies the project, followed by nested folders (auto-created as needed).
81
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
82
82
  *
83
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
83
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
84
84
  */
85
85
  path: string;
86
86
  description?: string | undefined;
@@ -170,13 +170,13 @@ export type RequestBodyHTTP = {
170
170
  headers: { [k: string]: string };
171
171
  payload: { [k: string]: any };
172
172
  /**
173
- * Entity storage path in the format: `project/folder/subfolder/...`
173
+ * Entity storage path.
174
174
  *
175
175
  * @remarks
176
176
  *
177
- * The first element identifies the project, followed by nested folders (auto-created as needed).
177
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
178
178
  *
179
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
179
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
180
180
  */
181
181
  path: string;
182
182
  description?: string | undefined;
@@ -245,13 +245,13 @@ export type Json = {
245
245
  type: CreateEvalRequestBodyEvalsType;
246
246
  schema: string;
247
247
  /**
248
- * Entity storage path in the format: `project/folder/subfolder/...`
248
+ * Entity storage path.
249
249
  *
250
250
  * @remarks
251
251
  *
252
- * The first element identifies the project, followed by nested folders (auto-created as needed).
252
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
253
253
  *
254
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
254
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
255
255
  */
256
256
  path: string;
257
257
  description?: string | undefined;
@@ -379,13 +379,13 @@ export type Llm2 = {
379
379
  categories?: Array<string> | undefined;
380
380
  categoricalLabels?: Array<LLMCategoricalLabels> | undefined;
381
381
  /**
382
- * Entity storage path in the format: `project/folder/subfolder/...`
382
+ * Entity storage path.
383
383
  *
384
384
  * @remarks
385
385
  *
386
- * The first element identifies the project, followed by nested folders (auto-created as needed).
386
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
387
387
  *
388
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
388
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
389
389
  */
390
390
  path: string;
391
391
  description?: string | undefined;
@@ -476,13 +476,13 @@ export type Llm1 = {
476
476
  categories?: Array<string> | undefined;
477
477
  categoricalLabels?: Array<CreateEvalLLMCategoricalLabels> | undefined;
478
478
  /**
479
- * Entity storage path in the format: `project/folder/subfolder/...`
479
+ * Entity storage path.
480
480
  *
481
481
  * @remarks
482
482
  *
483
- * The first element identifies the project, followed by nested folders (auto-created as needed).
483
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
484
484
  *
485
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
485
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
486
486
  */
487
487
  path: string;
488
488
  description?: string | undefined;
@@ -2776,8 +2776,8 @@ export const Typescript$inboundSchema: z.ZodType<
2776
2776
  > = z.object({
2777
2777
  _id: z.string(),
2778
2778
  description: z.string(),
2779
- created: z.string().default("2026-05-13T09:57:01.760Z"),
2780
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
2779
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
2780
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
2781
2781
  guardrail_config: z.nullable(
2782
2782
  z.union([
2783
2783
  z.lazy(() =>
@@ -2965,8 +2965,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
2965
2965
  .object({
2966
2966
  _id: z.string(),
2967
2967
  description: z.string(),
2968
- created: z.string().default("2026-05-13T09:57:01.760Z"),
2969
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
2968
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
2969
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
2970
2970
  guardrail_config: z.nullable(
2971
2971
  z.union([
2972
2972
  z.lazy(() =>
@@ -3789,8 +3789,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
3789
3789
  > = z.object({
3790
3790
  _id: z.string(),
3791
3791
  description: z.string(),
3792
- created: z.string().default("2026-05-13T09:57:01.760Z"),
3793
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
3792
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
3793
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
3794
3794
  guardrail_config: z.nullable(
3795
3795
  z.union([
3796
3796
  z.lazy(() =>
@@ -4008,8 +4008,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
4008
4008
  > = z.object({
4009
4009
  _id: z.string(),
4010
4010
  description: z.string(),
4011
- created: z.string().default("2026-05-13T09:57:01.760Z"),
4012
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
4011
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
4012
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
4013
4013
  guardrail_config: z.nullable(
4014
4014
  z.union([
4015
4015
  z.lazy(() =>
@@ -4190,8 +4190,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
4190
4190
  > = z.object({
4191
4191
  _id: z.string(),
4192
4192
  description: z.string(),
4193
- created: z.string().default("2026-05-13T09:57:01.760Z"),
4194
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
4193
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
4194
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
4195
4195
  guardrail_config: z.nullable(
4196
4196
  z.union([
4197
4197
  z.lazy(() =>
@@ -4367,8 +4367,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
4367
4367
  > = z.object({
4368
4368
  _id: z.string(),
4369
4369
  description: z.string(),
4370
- created: z.string().default("2026-05-13T09:57:01.760Z"),
4371
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
4370
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
4371
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
4372
4372
  guardrail_config: z.nullable(
4373
4373
  z.union([
4374
4374
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -4738,8 +4738,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
4738
4738
  > = z.object({
4739
4739
  _id: z.string(),
4740
4740
  description: z.string(),
4741
- created: z.string().default("2026-05-13T09:57:01.760Z"),
4742
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
4741
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
4742
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
4743
4743
  guardrail_config: z.nullable(
4744
4744
  z.union([
4745
4745
  z.lazy(() =>
@@ -4954,8 +4954,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
4954
4954
  > = z.object({
4955
4955
  _id: z.string(),
4956
4956
  description: z.string(),
4957
- created: z.string().default("2026-05-13T09:57:01.760Z"),
4958
- updated: z.string().default("2026-05-13T09:57:01.760Z"),
4957
+ created: z.string().default("2026-05-15T03:37:26.966Z"),
4958
+ updated: z.string().default("2026-05-15T03:37:26.966Z"),
4959
4959
  guardrail_config: z.nullable(
4960
4960
  z.union([
4961
4961
  z.lazy(() =>
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
139
139
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
140
140
  .optional(),
141
141
  updated: z.string().datetime({ offset: true }).default(
142
- "2026-05-13T09:56:59.680Z",
142
+ "2026-05-15T03:37:24.790Z",
143
143
  ).transform(v => new Date(v)),
144
144
  }).transform((v) => {
145
145
  return remap$(v, {
@@ -128,13 +128,13 @@ export type CreateKnowledgeRequestBody1 = {
128
128
  */
129
129
  retrievalSettings?: RetrievalSettings | undefined;
130
130
  /**
131
- * Entity storage path in the format: `project/folder/subfolder/...`
131
+ * Entity storage path.
132
132
  *
133
133
  * @remarks
134
134
  *
135
- * The first element identifies the project, followed by nested folders (auto-created as needed).
135
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
136
136
  *
137
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
137
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
138
138
  */
139
139
  path: string;
140
140
  };
@@ -236,13 +236,13 @@ export type ResponseBody2 = {
236
236
  */
237
237
  domainId: string;
238
238
  /**
239
- * Entity storage path in the format: `project/folder/subfolder/...`
239
+ * Entity storage path.
240
240
  *
241
241
  * @remarks
242
242
  *
243
- * The first element identifies the project, followed by nested folders (auto-created as needed).
243
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
244
244
  *
245
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
245
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
246
246
  */
247
247
  path?: string | undefined;
248
248
  createdById?: string | null | undefined;
@@ -357,13 +357,13 @@ export type ResponseBody1 = {
357
357
  */
358
358
  domainId: string;
359
359
  /**
360
- * Entity storage path in the format: `project/folder/subfolder/...`
360
+ * Entity storage path.
361
361
  *
362
362
  * @remarks
363
363
  *
364
- * The first element identifies the project, followed by nested folders (auto-created as needed).
364
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
365
365
  *
366
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
366
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
367
367
  */
368
368
  path?: string | undefined;
369
369
  createdById?: string | null | undefined;
@@ -30,13 +30,13 @@ export type CreateMemoryStoreRequestBody = {
30
30
  */
31
31
  ttl?: number | undefined;
32
32
  /**
33
- * Entity storage path in the format: `project/folder/subfolder/...`
33
+ * Entity storage path.
34
34
  *
35
35
  * @remarks
36
36
  *
37
- * The first element identifies the project, followed by nested folders (auto-created as needed).
37
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
38
38
  *
39
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
39
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
40
40
  */
41
41
  path: string;
42
42
  };
@@ -871,13 +871,13 @@ export type CreatePromptRequestBody = {
871
871
  */
872
872
  prompt: PromptInput;
873
873
  /**
874
- * Entity storage path in the format: `project/folder/subfolder/...`
874
+ * Entity storage path.
875
875
  *
876
876
  * @remarks
877
877
  *
878
- * The first element identifies the project, followed by nested folders (auto-created as needed).
878
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
879
879
  *
880
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
880
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
881
881
  */
882
882
  path: string;
883
883
  };
@@ -318,11 +318,6 @@ export type OrqAiTool = {
318
318
  type: CreateRouterResponseToolsType;
319
319
  };
320
320
 
321
- /**
322
- * The parameters the function accepts, as a JSON Schema object.
323
- */
324
- export type ToolsParameters = {};
325
-
326
321
  /**
327
322
  * A function tool the model can call.
328
323
  */
@@ -338,7 +333,7 @@ export type ToolsFunction = {
338
333
  /**
339
334
  * The parameters the function accepts, as a JSON Schema object.
340
335
  */
341
- parameters?: ToolsParameters | undefined;
336
+ parameters?: { [k: string]: any } | undefined;
342
337
  /**
343
338
  * Whether to enforce strict parameter validation.
344
339
  */
@@ -1100,27 +1095,11 @@ export function orqAiToolToJSON(orqAiTool: OrqAiTool): string {
1100
1095
  return JSON.stringify(OrqAiTool$outboundSchema.parse(orqAiTool));
1101
1096
  }
1102
1097
 
1103
- /** @internal */
1104
- export type ToolsParameters$Outbound = {};
1105
-
1106
- /** @internal */
1107
- export const ToolsParameters$outboundSchema: z.ZodType<
1108
- ToolsParameters$Outbound,
1109
- z.ZodTypeDef,
1110
- ToolsParameters
1111
- > = z.object({});
1112
-
1113
- export function toolsParametersToJSON(
1114
- toolsParameters: ToolsParameters,
1115
- ): string {
1116
- return JSON.stringify(ToolsParameters$outboundSchema.parse(toolsParameters));
1117
- }
1118
-
1119
1098
  /** @internal */
1120
1099
  export type ToolsFunction$Outbound = {
1121
1100
  description?: string | undefined;
1122
1101
  name: string;
1123
- parameters?: ToolsParameters$Outbound | undefined;
1102
+ parameters?: { [k: string]: any } | undefined;
1124
1103
  strict?: boolean | undefined;
1125
1104
  type: "function";
1126
1105
  };
@@ -1133,7 +1112,7 @@ export const ToolsFunction$outboundSchema: z.ZodType<
1133
1112
  > = z.object({
1134
1113
  description: z.string().optional(),
1135
1114
  name: z.string(),
1136
- parameters: z.lazy(() => ToolsParameters$outboundSchema).optional(),
1115
+ parameters: z.record(z.any()).optional(),
1137
1116
  strict: z.boolean().optional(),
1138
1117
  type: z.literal("function"),
1139
1118
  });