@orq-ai/node 3.12.13 → 3.12.14

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 (120) hide show
  1. package/README.md +1 -1
  2. package/bin/mcp-server.js +113 -112
  3. package/bin/mcp-server.js.map +32 -32
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/server.js +1 -1
  10. package/models/errors/index.d.ts +1 -0
  11. package/models/errors/index.d.ts.map +1 -1
  12. package/models/errors/index.js +1 -0
  13. package/models/errors/index.js.map +1 -1
  14. package/models/operations/createbudget.js +2 -2
  15. package/models/operations/createcontact.js +2 -2
  16. package/models/operations/createdataset.js +2 -2
  17. package/models/operations/createdatasetitem.js +2 -2
  18. package/models/operations/createdatasource.js +2 -2
  19. package/models/operations/createeval.js +16 -16
  20. package/models/operations/fileget.js +2 -2
  21. package/models/operations/filelist.js +2 -2
  22. package/models/operations/fileupload.js +2 -2
  23. package/models/operations/getbudget.js +2 -2
  24. package/models/operations/getevals.js +28 -28
  25. package/models/operations/listbudgets.js +2 -2
  26. package/models/operations/listcontacts.js +2 -2
  27. package/models/operations/listdatasetdatapoints.js +2 -2
  28. package/models/operations/listdatasets.js +2 -2
  29. package/models/operations/listdatasources.js +2 -2
  30. package/models/operations/retrievecontact.js +2 -2
  31. package/models/operations/retrievedatapoint.js +2 -2
  32. package/models/operations/retrievedataset.js +2 -2
  33. package/models/operations/retrievedatasource.js +2 -2
  34. package/models/operations/updatebudget.js +2 -2
  35. package/models/operations/updatecontact.js +2 -2
  36. package/models/operations/updatedatapoint.js +2 -2
  37. package/models/operations/updatedataset.js +2 -2
  38. package/models/operations/updatedatasource.js +2 -2
  39. package/models/operations/updateeval.js +16 -16
  40. package/package.json +1 -1
  41. package/packages/orq-rc/README.md +90 -92
  42. package/packages/orq-rc/docs/sdks/agents/README.md +94 -80
  43. package/packages/orq-rc/examples/package-lock.json +1 -1
  44. package/packages/orq-rc/jsr.json +1 -1
  45. package/packages/orq-rc/package-lock.json +2 -2
  46. package/packages/orq-rc/package.json +1 -1
  47. package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
  48. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
  49. package/packages/orq-rc/src/lib/config.ts +3 -3
  50. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  51. package/packages/orq-rc/src/mcp-server/server.ts +1 -3
  52. package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +1 -1
  53. package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +1 -1
  54. package/packages/orq-rc/src/models/errors/index.ts +1 -0
  55. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  56. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  57. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  60. package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
  61. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  62. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  63. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  64. package/packages/orq-rc/src/models/operations/getagent.ts +2 -9
  65. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  66. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  67. package/packages/orq-rc/src/models/operations/index.ts +0 -1
  68. package/packages/orq-rc/src/models/operations/listagents.ts +2 -9
  69. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  70. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  71. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  72. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  73. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  74. package/packages/orq-rc/src/models/operations/retrieveaction.ts +14 -16
  75. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  76. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  79. package/packages/orq-rc/src/models/operations/runagent.ts +183 -14
  80. package/packages/orq-rc/src/models/operations/streamrunagent.ts +194 -14
  81. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  85. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
  87. package/packages/orq-rc/src/sdk/agents.ts +2 -20
  88. package/src/lib/config.ts +3 -3
  89. package/src/mcp-server/mcp-server.ts +1 -1
  90. package/src/mcp-server/server.ts +1 -1
  91. package/src/models/errors/index.ts +1 -0
  92. package/src/models/operations/createbudget.ts +2 -2
  93. package/src/models/operations/createcontact.ts +2 -2
  94. package/src/models/operations/createdataset.ts +2 -2
  95. package/src/models/operations/createdatasetitem.ts +2 -2
  96. package/src/models/operations/createdatasource.ts +2 -2
  97. package/src/models/operations/createeval.ts +16 -16
  98. package/src/models/operations/fileget.ts +2 -2
  99. package/src/models/operations/filelist.ts +2 -2
  100. package/src/models/operations/fileupload.ts +2 -2
  101. package/src/models/operations/getbudget.ts +2 -2
  102. package/src/models/operations/getevals.ts +28 -28
  103. package/src/models/operations/listbudgets.ts +2 -2
  104. package/src/models/operations/listcontacts.ts +2 -2
  105. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  106. package/src/models/operations/listdatasets.ts +2 -2
  107. package/src/models/operations/listdatasources.ts +2 -2
  108. package/src/models/operations/retrievecontact.ts +2 -2
  109. package/src/models/operations/retrievedatapoint.ts +2 -2
  110. package/src/models/operations/retrievedataset.ts +2 -2
  111. package/src/models/operations/retrievedatasource.ts +2 -2
  112. package/src/models/operations/updatebudget.ts +2 -2
  113. package/src/models/operations/updatecontact.ts +2 -2
  114. package/src/models/operations/updatedatapoint.ts +2 -2
  115. package/src/models/operations/updatedataset.ts +2 -2
  116. package/src/models/operations/updatedatasource.ts +2 -2
  117. package/src/models/operations/updateeval.ts +16 -16
  118. package/packages/orq-rc/src/funcs/agentsReviewAction.ts +0 -177
  119. package/packages/orq-rc/src/mcp-server/tools/agentsReviewAction.ts +0 -37
  120. package/packages/orq-rc/src/models/operations/reviewaction.ts +0 -258
@@ -12,7 +12,6 @@
12
12
  * [streamRun](#streamrun) - Run and stream agent execution
13
13
  * [listActions](#listactions) - List all actions
14
14
  * [retrieveAction](#retrieveaction) - Retrieve an action executed by an agent task.
15
- * [reviewAction](#reviewaction) - Review a tool execution
16
15
 
17
16
  ## list
18
17
 
@@ -235,7 +234,7 @@ run();
235
234
 
236
235
  ## run
237
236
 
238
- Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.
237
+ Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution.
239
238
 
240
239
  ### Example Usage
241
240
 
@@ -261,6 +260,29 @@ async function run() {
261
260
  },
262
261
  ],
263
262
  },
263
+ contact: {
264
+ id: "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
265
+ displayName: "Jane Doe",
266
+ email: "jane.doe@example.com",
267
+ metadata: [
268
+ {
269
+ "department": "Engineering",
270
+ "role": "Senior Developer",
271
+ },
272
+ ],
273
+ logoUrl: "https://example.com/avatars/jane-doe.jpg",
274
+ tags: [
275
+ "hr",
276
+ "engineering",
277
+ ],
278
+ },
279
+ thread: {
280
+ id: "thread_01ARZ3NDEKTSV4RRFFQ69G5FAV",
281
+ tags: [
282
+ "customer-support",
283
+ "priority-high",
284
+ ],
285
+ },
264
286
  path: "Default",
265
287
  settings: {
266
288
  tools: [
@@ -306,6 +328,29 @@ async function run() {
306
328
  },
307
329
  ],
308
330
  },
331
+ contact: {
332
+ id: "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
333
+ displayName: "Jane Doe",
334
+ email: "jane.doe@example.com",
335
+ metadata: [
336
+ {
337
+ "department": "Engineering",
338
+ "role": "Senior Developer",
339
+ },
340
+ ],
341
+ logoUrl: "https://example.com/avatars/jane-doe.jpg",
342
+ tags: [
343
+ "hr",
344
+ "engineering",
345
+ ],
346
+ },
347
+ thread: {
348
+ id: "thread_01ARZ3NDEKTSV4RRFFQ69G5FAV",
349
+ tags: [
350
+ "customer-support",
351
+ "priority-high",
352
+ ],
353
+ },
309
354
  path: "Default",
310
355
  settings: {
311
356
  tools: [
@@ -348,7 +393,7 @@ run();
348
393
 
349
394
  ## streamRun
350
395
 
351
- Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.
396
+ Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout.
352
397
 
353
398
  ### Example Usage
354
399
 
@@ -377,6 +422,29 @@ async function run() {
377
422
  },
378
423
  ],
379
424
  },
425
+ contact: {
426
+ id: "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
427
+ displayName: "Jane Doe",
428
+ email: "jane.doe@example.com",
429
+ metadata: [
430
+ {
431
+ "department": "Engineering",
432
+ "role": "Senior Developer",
433
+ },
434
+ ],
435
+ logoUrl: "https://example.com/avatars/jane-doe.jpg",
436
+ tags: [
437
+ "hr",
438
+ "engineering",
439
+ ],
440
+ },
441
+ thread: {
442
+ id: "thread_01ARZ3NDEKTSV4RRFFQ69G5FAV",
443
+ tags: [
444
+ "customer-support",
445
+ "priority-high",
446
+ ],
447
+ },
380
448
  path: "Default",
381
449
  settings: {
382
450
  tools: [
@@ -427,6 +495,29 @@ async function run() {
427
495
  },
428
496
  ],
429
497
  },
498
+ contact: {
499
+ id: "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
500
+ displayName: "Jane Doe",
501
+ email: "jane.doe@example.com",
502
+ metadata: [
503
+ {
504
+ "department": "Engineering",
505
+ "role": "Senior Developer",
506
+ },
507
+ ],
508
+ logoUrl: "https://example.com/avatars/jane-doe.jpg",
509
+ tags: [
510
+ "hr",
511
+ "engineering",
512
+ ],
513
+ },
514
+ thread: {
515
+ id: "thread_01ARZ3NDEKTSV4RRFFQ69G5FAV",
516
+ tags: [
517
+ "customer-support",
518
+ "priority-high",
519
+ ],
520
+ },
430
521
  path: "Default",
431
522
  settings: {
432
523
  tools: [
@@ -618,83 +709,6 @@ run();
618
709
 
619
710
  ### Errors
620
711
 
621
- | Error Type | Status Code | Content Type |
622
- | --------------- | --------------- | --------------- |
623
- | errors.APIError | 4XX, 5XX | \*/\* |
624
-
625
- ## reviewAction
626
-
627
- Review a tool execution and approve, reject or mock it. This will trigger the next step in the agent execution.
628
-
629
- ### Example Usage
630
-
631
- <!-- UsageSnippet language="typescript" operationID="ReviewAction" method="post" path="/v2/agents/{agent_key}/tasks/{task_id}/actions/{action_id}/review" -->
632
- ```typescript
633
- import { Orq } from "@orq-ai/node";
634
-
635
- const orq = new Orq({
636
- apiKey: process.env["ORQ_API_KEY"] ?? "",
637
- });
638
-
639
- async function run() {
640
- const result = await orq.agents.reviewAction({
641
- agentKey: "<value>",
642
- taskId: "<id>",
643
- actionId: "<id>",
644
- });
645
-
646
- console.log(result);
647
- }
648
-
649
- run();
650
- ```
651
-
652
- ### Standalone function
653
-
654
- The standalone function version of this method:
655
-
656
- ```typescript
657
- import { OrqCore } from "@orq-ai/node/core.js";
658
- import { agentsReviewAction } from "@orq-ai/node/funcs/agentsReviewAction.js";
659
-
660
- // Use `OrqCore` for best tree-shaking performance.
661
- // You can create one instance of it to use across an application.
662
- const orq = new OrqCore({
663
- apiKey: process.env["ORQ_API_KEY"] ?? "",
664
- });
665
-
666
- async function run() {
667
- const res = await agentsReviewAction(orq, {
668
- agentKey: "<value>",
669
- taskId: "<id>",
670
- actionId: "<id>",
671
- });
672
- if (res.ok) {
673
- const { value: result } = res;
674
- console.log(result);
675
- } else {
676
- console.log("agentsReviewAction failed:", res.error);
677
- }
678
- }
679
-
680
- run();
681
- ```
682
-
683
- ### Parameters
684
-
685
- | Parameter | Type | Required | Description |
686
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
687
- | `request` | [operations.ReviewActionRequest](../../models/operations/reviewactionrequest.md) | :heavy_check_mark: | The request object to use for the request. |
688
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
689
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
690
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
691
-
692
- ### Response
693
-
694
- **Promise\<[operations.ReviewActionResponseBody](../../models/operations/reviewactionresponsebody.md)\>**
695
-
696
- ### Errors
697
-
698
712
  | Error Type | Status Code | Content Type |
699
713
  | --------------- | --------------- | --------------- |
700
714
  | errors.APIError | 4XX, 5XX | \*/\* |
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@orq-ai/node",
21
- "version": "3.13.0-rc.18",
21
+ "version": "3.13.0-rc.26",
22
22
  "dependencies": {
23
23
  "zod": "^3.20.0"
24
24
  },
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@orq-ai/node",
5
- "version": "3.13.0-rc.18",
5
+ "version": "3.13.0-rc.26",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "3.13.0-rc.18",
3
+ "version": "3.13.0-rc.26",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@orq-ai/node",
9
- "version": "3.13.0-rc.18",
9
+ "version": "3.13.0-rc.26",
10
10
  "dependencies": {
11
11
  "zod": "^3.20.0"
12
12
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "3.13.0-rc.18",
3
+ "version": "3.13.0-rc.26",
4
4
  "author": "Orq",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Run an agent
29
29
  *
30
30
  * @remarks
31
- * Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.
31
+ * Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution.
32
32
  */
33
33
  export function agentsRun(
34
34
  client: OrqCore,
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  * Run and stream agent execution
32
32
  *
33
33
  * @remarks
34
- * Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.
34
+ * Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout.
35
35
  */
36
36
  export function agentsStreamRun(
37
37
  client: OrqCore,
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
68
68
  export const SDK_METADATA = {
69
69
  language: "typescript",
70
70
  openapiDocVersion: "2.0",
71
- sdkVersion: "3.13.0-rc.18",
72
- genVersion: "2.706.0",
73
- userAgent: "speakeasy-sdk/typescript 3.13.0-rc.18 2.706.0 2.0 @orq-ai/node",
71
+ sdkVersion: "3.13.0-rc.26",
72
+ genVersion: "2.709.0",
73
+ userAgent: "speakeasy-sdk/typescript 3.13.0-rc.26 2.709.0 2.0 @orq-ai/node",
74
74
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "3.13.0-rc.18",
22
+ currentVersion: "3.13.0-rc.26",
23
23
  },
24
24
  });
25
25
 
@@ -18,7 +18,6 @@ import { tool$agentsListActions } from "./tools/agentsListActions.js";
18
18
  import { tool$agentsRetrieve } from "./tools/agentsRetrieve.js";
19
19
  import { tool$agentsRetrieveAction } from "./tools/agentsRetrieveAction.js";
20
20
  import { tool$agentsRetrieveTask } from "./tools/agentsRetrieveTask.js";
21
- import { tool$agentsReviewAction } from "./tools/agentsReviewAction.js";
22
21
  import { tool$agentsRun } from "./tools/agentsRun.js";
23
22
  import { tool$agentsStreamRun } from "./tools/agentsStreamRun.js";
24
23
  import { tool$budgetsCreate } from "./tools/budgetsCreate.js";
@@ -148,7 +147,7 @@ export function createMCPServer(deps: {
148
147
  }) {
149
148
  const server = new McpServer({
150
149
  name: "Orq",
151
- version: "3.13.0-rc.18",
150
+ version: "3.13.0-rc.26",
152
151
  });
153
152
 
154
153
  const client = new OrqCore({
@@ -197,7 +196,6 @@ export function createMCPServer(deps: {
197
196
  tool(tool$agentsStreamRun);
198
197
  tool(tool$agentsListActions);
199
198
  tool(tool$agentsRetrieveAction);
200
- tool(tool$agentsReviewAction);
201
199
  tool(tool$filesCreate);
202
200
  tool(tool$filesList);
203
201
  tool(tool$filesGet);
@@ -14,7 +14,7 @@ export const tool$agentsRun: ToolDefinition<typeof args> = {
14
14
  name: "agents-run",
15
15
  description: `Run an agent
16
16
 
17
- Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.`,
17
+ Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await agentsRun(
@@ -14,7 +14,7 @@ export const tool$agentsStreamRun: ToolDefinition<typeof args> = {
14
14
  name: "agents-stream-run",
15
15
  description: `Run and stream agent execution
16
16
 
17
- Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.`,
17
+ Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await agentsStreamRun(
@@ -50,6 +50,7 @@ export * from "./getpromptversion.js";
50
50
  export * from "./honoapierror.js";
51
51
  export * from "./httpclienterrors.js";
52
52
  export * from "./invokeeval.js";
53
+ export * from "./orqerror.js";
53
54
  export * from "./responsevalidationerror.js";
54
55
  export * from "./retrievecontact.js";
55
56
  export * from "./sdkvalidationerror.js";
@@ -658,7 +658,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
658
658
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
659
659
  .optional(),
660
660
  updated: z.string().datetime({ offset: true }).default(
661
- "2025-09-18T14:59:12.873Z",
661
+ "2025-09-22T14:20:40.492Z",
662
662
  ).transform(v => new Date(v)),
663
663
  }).transform((v) => {
664
664
  return remap$(v, {
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
693
693
  isActive: z.boolean(),
694
694
  consumption: z.lazy(() => Consumption$outboundSchema).optional(),
695
695
  created: z.date().transform(v => v.toISOString()).optional(),
696
- updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
696
+ updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
697
697
  .transform(v => v.toISOString()),
698
698
  }).transform((v) => {
699
699
  return remap$(v, {
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$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
- "2025-09-18T14:59:12.873Z",
185
+ "2025-09-22T14:20:40.492Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
223
223
  tags: z.array(z.string()).optional(),
224
224
  metadata: z.record(z.any()).optional(),
225
225
  created: z.date().transform(v => v.toISOString()).optional(),
226
- updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
226
+ updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
227
227
  .transform(v => v.toISOString()),
228
228
  }).transform((v) => {
229
229
  return remap$(v, {
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
211
211
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
212
212
  .optional(),
213
213
  updated: z.string().datetime({ offset: true }).default(
214
- "2025-09-18T14:59:12.873Z",
214
+ "2025-09-22T14:20:40.492Z",
215
215
  ).transform(v => new Date(v)),
216
216
  }).transform((v) => {
217
217
  return remap$(v, {
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
251
251
  updatedById: z.string().optional(),
252
252
  metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
253
253
  created: z.date().transform(v => v.toISOString()).optional(),
254
- updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
254
+ updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
255
255
  .transform(v => v.toISOString()),
256
256
  }).transform((v) => {
257
257
  return remap$(v, {
@@ -6081,7 +6081,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
6081
6081
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
6082
6082
  .optional(),
6083
6083
  updated: z.string().datetime({ offset: true }).default(
6084
- "2025-09-18T14:59:12.873Z",
6084
+ "2025-09-22T14:20:40.492Z",
6085
6085
  ).transform(v => new Date(v)),
6086
6086
  }).transform((v) => {
6087
6087
  return remap$(v, {
@@ -6145,7 +6145,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
6145
6145
  createdById: z.string().optional(),
6146
6146
  updatedById: z.string().optional(),
6147
6147
  created: z.date().transform(v => v.toISOString()).optional(),
6148
- updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
6148
+ updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
6149
6149
  .transform(v => v.toISOString()),
6150
6150
  }).transform((v) => {
6151
6151
  return remap$(v, {
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
751
751
  z.ZodTypeDef,
752
752
  unknown
753
753
  > = z.object({
754
- _id: z.string().default("01K5ENCKXG019QVTPNPZYNVQN0"),
754
+ _id: z.string().default("01K5RWRYRA0HBXQPADJQS3NS4N"),
755
755
  display_name: z.string(),
756
756
  description: z.string().optional(),
757
757
  status: CreateDatasourceStatus$inboundSchema,
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
795
795
  z.ZodTypeDef,
796
796
  CreateDatasourceResponseBody
797
797
  > = z.object({
798
- id: z.string().default("01K5ENCKXG019QVTPNPZYNVQN0"),
798
+ id: z.string().default("01K5RWRYRA0HBXQPADJQS3NS4N"),
799
799
  displayName: z.string(),
800
800
  description: z.string().optional(),
801
801
  status: CreateDatasourceStatus$outboundSchema,
@@ -3209,8 +3209,8 @@ export const Typescript$inboundSchema: z.ZodType<
3209
3209
  > = z.object({
3210
3210
  _id: z.string(),
3211
3211
  description: z.string(),
3212
- created: z.string().default("2025-09-18T14:59:15.167Z"),
3213
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
3212
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
3213
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
3214
3214
  guardrail_config: z.union([
3215
3215
  z.lazy(() =>
3216
3216
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
@@ -3253,8 +3253,8 @@ export const Typescript$outboundSchema: z.ZodType<
3253
3253
  > = z.object({
3254
3254
  id: z.string(),
3255
3255
  description: z.string(),
3256
- created: z.string().default("2025-09-18T14:59:15.167Z"),
3257
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
3256
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
3257
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
3258
3258
  guardrailConfig: z.union([
3259
3259
  z.lazy(() =>
3260
3260
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
@@ -3671,8 +3671,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
3671
3671
  .object({
3672
3672
  _id: z.string(),
3673
3673
  description: z.string(),
3674
- created: z.string().default("2025-09-18T14:59:15.167Z"),
3675
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
3674
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
3675
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
3676
3676
  guardrail_config: z.union([
3677
3677
  z.lazy(() =>
3678
3678
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
@@ -3718,8 +3718,8 @@ export const Ragas$outboundSchema: z.ZodType<
3718
3718
  > = z.object({
3719
3719
  id: z.string(),
3720
3720
  description: z.string(),
3721
- created: z.string().default("2025-09-18T14:59:15.167Z"),
3722
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
3721
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
3722
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
3723
3723
  guardrailConfig: z.union([
3724
3724
  z.lazy(() =>
3725
3725
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
@@ -7143,8 +7143,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
7143
7143
  > = z.object({
7144
7144
  _id: z.string(),
7145
7145
  description: z.string(),
7146
- created: z.string().default("2025-09-18T14:59:15.167Z"),
7147
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
7146
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
7147
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
7148
7148
  guardrail_config: z.union([
7149
7149
  z.lazy(() =>
7150
7150
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
@@ -7258,8 +7258,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
7258
7258
  > = z.object({
7259
7259
  id: z.string(),
7260
7260
  description: z.string(),
7261
- created: z.string().default("2025-09-18T14:59:15.167Z"),
7262
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
7261
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
7262
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
7263
7263
  guardrailConfig: z.union([
7264
7264
  z.lazy(() =>
7265
7265
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
@@ -7698,8 +7698,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
7698
7698
  > = z.object({
7699
7699
  _id: z.string(),
7700
7700
  description: z.string(),
7701
- created: z.string().default("2025-09-18T14:59:15.167Z"),
7702
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
7701
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
7702
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
7703
7703
  guardrail_config: z.union([
7704
7704
  z.lazy(() =>
7705
7705
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
@@ -7741,8 +7741,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
7741
7741
  > = z.object({
7742
7742
  id: z.string(),
7743
7743
  description: z.string(),
7744
- created: z.string().default("2025-09-18T14:59:15.167Z"),
7745
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
7744
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
7745
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
7746
7746
  guardrailConfig: z.union([
7747
7747
  z.lazy(() =>
7748
7748
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
@@ -8155,8 +8155,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
8155
8155
  > = z.object({
8156
8156
  _id: z.string(),
8157
8157
  description: z.string(),
8158
- created: z.string().default("2025-09-18T14:59:15.167Z"),
8159
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
8158
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
8159
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
8160
8160
  guardrail_config: z.union([
8161
8161
  z.lazy(() =>
8162
8162
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
@@ -8204,8 +8204,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
8204
8204
  > = z.object({
8205
8205
  id: z.string(),
8206
8206
  description: z.string(),
8207
- created: z.string().default("2025-09-18T14:59:15.167Z"),
8208
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
8207
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
8208
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
8209
8209
  guardrailConfig: z.union([
8210
8210
  z.lazy(() =>
8211
8211
  CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
@@ -8582,8 +8582,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
8582
8582
  > = z.object({
8583
8583
  _id: z.string(),
8584
8584
  description: z.string(),
8585
- created: z.string().default("2025-09-18T14:59:15.167Z"),
8586
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
8585
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
8586
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
8587
8587
  guardrail_config: z.union([
8588
8588
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
8589
8589
  z.lazy(() =>
@@ -8623,8 +8623,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
8623
8623
  > = z.object({
8624
8624
  id: z.string(),
8625
8625
  description: z.string(),
8626
- created: z.string().default("2025-09-18T14:59:15.167Z"),
8627
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
8626
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
8627
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
8628
8628
  guardrailConfig: z.union([
8629
8629
  z.lazy(() =>
8630
8630
  CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
@@ -8979,8 +8979,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
8979
8979
  > = z.object({
8980
8980
  _id: z.string(),
8981
8981
  description: z.string(),
8982
- created: z.string().default("2025-09-18T14:59:15.167Z"),
8983
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
8982
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
8983
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
8984
8984
  guardrail_config: z.union([
8985
8985
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
8986
8986
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -9020,8 +9020,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
9020
9020
  > = z.object({
9021
9021
  id: z.string(),
9022
9022
  description: z.string(),
9023
- created: z.string().default("2025-09-18T14:59:15.167Z"),
9024
- updated: z.string().default("2025-09-18T14:59:15.167Z"),
9023
+ created: z.string().default("2025-09-22T14:20:43.147Z"),
9024
+ updated: z.string().default("2025-09-22T14:20:43.148Z"),
9025
9025
  guardrailConfig: z.union([
9026
9026
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
9027
9027
  z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
146
146
  file_name: z.string(),
147
147
  workspace_id: z.string(),
148
148
  created: z.string().datetime({ offset: true }).default(
149
- "2025-09-18T14:59:15.855Z",
149
+ "2025-09-22T14:20:43.867Z",
150
150
  ).transform(v => new Date(v)),
151
151
  }).transform((v) => {
152
152
  return remap$(v, {
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
180
180
  bytes: z.number(),
181
181
  fileName: z.string(),
182
182
  workspaceId: z.string(),
183
- created: z.date().default(() => new Date("2025-09-18T14:59:15.855Z"))
183
+ created: z.date().default(() => new Date("2025-09-22T14:20:43.867Z"))
184
184
  .transform(v => v.toISOString()),
185
185
  }).transform((v) => {
186
186
  return remap$(v, {