@orq-ai/node 3.14.27 → 3.14.29

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 (117) hide show
  1. package/bin/mcp-server.js +210 -210
  2. package/bin/mcp-server.js.map +35 -35
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createbudget.js +2 -2
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/createdataset.js +2 -2
  12. package/models/operations/createdatasetitem.js +8 -8
  13. package/models/operations/createdatasource.js +2 -2
  14. package/models/operations/createeval.js +28 -28
  15. package/models/operations/createtool.js +10 -10
  16. package/models/operations/duplicatetool.js +10 -10
  17. package/models/operations/fileget.js +2 -2
  18. package/models/operations/filelist.js +2 -2
  19. package/models/operations/fileupload.js +2 -2
  20. package/models/operations/getalltools.js +10 -10
  21. package/models/operations/getbudget.js +2 -2
  22. package/models/operations/getevals.js +28 -28
  23. package/models/operations/listbudgets.js +2 -2
  24. package/models/operations/listcontacts.js +2 -2
  25. package/models/operations/listdatasetdatapoints.js +8 -8
  26. package/models/operations/listdatasets.js +2 -2
  27. package/models/operations/listdatasources.js +2 -2
  28. package/models/operations/retrievecontact.js +2 -2
  29. package/models/operations/retrievedatapoint.js +8 -8
  30. package/models/operations/retrievedataset.js +2 -2
  31. package/models/operations/retrievedatasource.js +2 -2
  32. package/models/operations/retrievetool.js +10 -10
  33. package/models/operations/updatebudget.js +2 -2
  34. package/models/operations/updatecontact.js +2 -2
  35. package/models/operations/updatedatapoint.js +8 -8
  36. package/models/operations/updatedataset.js +2 -2
  37. package/models/operations/updatedatasource.js +2 -2
  38. package/models/operations/updateeval.js +28 -28
  39. package/models/operations/updatetool.js +10 -10
  40. package/package.json +1 -1
  41. package/packages/orq-rc/examples/package-lock.json +1 -1
  42. package/packages/orq-rc/jsr.json +1 -1
  43. package/packages/orq-rc/package-lock.json +2 -2
  44. package/packages/orq-rc/package.json +1 -1
  45. package/packages/orq-rc/src/lib/config.ts +3 -3
  46. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  47. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  48. package/packages/orq-rc/src/models/operations/createagent.ts +33 -33
  49. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  51. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  52. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
  53. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  54. package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
  55. package/packages/orq-rc/src/models/operations/createtool.ts +149 -38
  56. package/packages/orq-rc/src/models/operations/duplicatetool.ts +70 -14
  57. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  60. package/packages/orq-rc/src/models/operations/getalltools.ts +63 -14
  61. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  62. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  63. package/packages/orq-rc/src/models/operations/listagenttasks.ts +4 -0
  64. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  65. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  66. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
  67. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  68. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  69. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  70. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
  71. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  72. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  73. package/packages/orq-rc/src/models/operations/retrievetool.ts +70 -14
  74. package/packages/orq-rc/src/models/operations/runagent.ts +77 -37
  75. package/packages/orq-rc/src/models/operations/streamrunagent.ts +86 -37
  76. package/packages/orq-rc/src/models/operations/updateagent.ts +33 -33
  77. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  79. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
  80. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  81. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
  83. package/packages/orq-rc/src/models/operations/updatetool.ts +151 -36
  84. package/src/lib/config.ts +3 -3
  85. package/src/mcp-server/mcp-server.ts +1 -1
  86. package/src/mcp-server/server.ts +1 -1
  87. package/src/models/operations/createbudget.ts +2 -2
  88. package/src/models/operations/createcontact.ts +2 -2
  89. package/src/models/operations/createdataset.ts +2 -2
  90. package/src/models/operations/createdatasetitem.ts +8 -8
  91. package/src/models/operations/createdatasource.ts +2 -2
  92. package/src/models/operations/createeval.ts +28 -28
  93. package/src/models/operations/createtool.ts +10 -10
  94. package/src/models/operations/duplicatetool.ts +10 -10
  95. package/src/models/operations/fileget.ts +2 -2
  96. package/src/models/operations/filelist.ts +2 -2
  97. package/src/models/operations/fileupload.ts +2 -2
  98. package/src/models/operations/getalltools.ts +10 -10
  99. package/src/models/operations/getbudget.ts +2 -2
  100. package/src/models/operations/getevals.ts +28 -28
  101. package/src/models/operations/listbudgets.ts +2 -2
  102. package/src/models/operations/listcontacts.ts +2 -2
  103. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  104. package/src/models/operations/listdatasets.ts +2 -2
  105. package/src/models/operations/listdatasources.ts +2 -2
  106. package/src/models/operations/retrievecontact.ts +2 -2
  107. package/src/models/operations/retrievedatapoint.ts +8 -8
  108. package/src/models/operations/retrievedataset.ts +2 -2
  109. package/src/models/operations/retrievedatasource.ts +2 -2
  110. package/src/models/operations/retrievetool.ts +10 -10
  111. package/src/models/operations/updatebudget.ts +2 -2
  112. package/src/models/operations/updatecontact.ts +2 -2
  113. package/src/models/operations/updatedatapoint.ts +8 -8
  114. package/src/models/operations/updatedataset.ts +2 -2
  115. package/src/models/operations/updatedatasource.ts +2 -2
  116. package/src/models/operations/updateeval.ts +28 -28
  117. package/src/models/operations/updatetool.ts +10 -10
@@ -106,7 +106,7 @@ export type CreateToolRequestBodyToolsRequest4Type = ClosedEnum<
106
106
  typeof CreateToolRequestBodyToolsRequest4Type
107
107
  >;
108
108
 
109
- export type Headers = {
109
+ export type RequestBodyHeaders = {
110
110
  value: string;
111
111
  encrypted?: boolean | undefined;
112
112
  };
@@ -155,7 +155,7 @@ export type Mcp = {
155
155
  /**
156
156
  * HTTP headers for MCP server requests (encrypted format)
157
157
  */
158
- headers?: { [k: string]: Headers } | undefined;
158
+ headers?: { [k: string]: RequestBodyHeaders } | undefined;
159
159
  /**
160
160
  * The original MCP tool input schema for LLM conversion
161
161
  */
@@ -239,6 +239,11 @@ export type CreateToolRequestBodyMethod = ClosedEnum<
239
239
  typeof CreateToolRequestBodyMethod
240
240
  >;
241
241
 
242
+ export type CreateToolRequestBodyHeaders = {
243
+ value: string;
244
+ encrypted?: boolean | undefined;
245
+ };
246
+
242
247
  /**
243
248
  * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
244
249
  */
@@ -254,7 +259,7 @@ export type RequestBodyBlueprint = {
254
259
  /**
255
260
  * The headers to send with the request.
256
261
  */
257
- headers?: { [k: string]: string } | undefined;
262
+ headers?: { [k: string]: CreateToolRequestBodyHeaders } | undefined;
258
263
  /**
259
264
  * The body to send with the request.
260
265
  */
@@ -757,6 +762,11 @@ export type CreateToolResponseBodyMethod = ClosedEnum<
757
762
  typeof CreateToolResponseBodyMethod
758
763
  >;
759
764
 
765
+ export type CreateToolResponseBodyHeaders = {
766
+ value: string;
767
+ encrypted?: boolean | undefined;
768
+ };
769
+
760
770
  /**
761
771
  * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
762
772
  */
@@ -772,7 +782,7 @@ export type ResponseBodyBlueprint = {
772
782
  /**
773
783
  * The headers to send with the request.
774
784
  */
775
- headers?: { [k: string]: string } | undefined;
785
+ headers?: { [k: string]: CreateToolResponseBodyHeaders } | undefined;
776
786
  /**
777
787
  * The body to send with the request.
778
788
  */
@@ -1221,37 +1231,44 @@ export const CreateToolRequestBodyToolsRequest4Type$outboundSchema:
1221
1231
  CreateToolRequestBodyToolsRequest4Type$inboundSchema;
1222
1232
 
1223
1233
  /** @internal */
1224
- export const Headers$inboundSchema: z.ZodType<Headers, z.ZodTypeDef, unknown> =
1225
- z.object({
1226
- value: z.string(),
1227
- encrypted: z.boolean().default(false),
1228
- });
1234
+ export const RequestBodyHeaders$inboundSchema: z.ZodType<
1235
+ RequestBodyHeaders,
1236
+ z.ZodTypeDef,
1237
+ unknown
1238
+ > = z.object({
1239
+ value: z.string(),
1240
+ encrypted: z.boolean().default(false),
1241
+ });
1229
1242
  /** @internal */
1230
- export type Headers$Outbound = {
1243
+ export type RequestBodyHeaders$Outbound = {
1231
1244
  value: string;
1232
1245
  encrypted: boolean;
1233
1246
  };
1234
1247
 
1235
1248
  /** @internal */
1236
- export const Headers$outboundSchema: z.ZodType<
1237
- Headers$Outbound,
1249
+ export const RequestBodyHeaders$outboundSchema: z.ZodType<
1250
+ RequestBodyHeaders$Outbound,
1238
1251
  z.ZodTypeDef,
1239
- Headers
1252
+ RequestBodyHeaders
1240
1253
  > = z.object({
1241
1254
  value: z.string(),
1242
1255
  encrypted: z.boolean().default(false),
1243
1256
  });
1244
1257
 
1245
- export function headersToJSON(headers: Headers): string {
1246
- return JSON.stringify(Headers$outboundSchema.parse(headers));
1258
+ export function requestBodyHeadersToJSON(
1259
+ requestBodyHeaders: RequestBodyHeaders,
1260
+ ): string {
1261
+ return JSON.stringify(
1262
+ RequestBodyHeaders$outboundSchema.parse(requestBodyHeaders),
1263
+ );
1247
1264
  }
1248
- export function headersFromJSON(
1265
+ export function requestBodyHeadersFromJSON(
1249
1266
  jsonString: string,
1250
- ): SafeParseResult<Headers, SDKValidationError> {
1267
+ ): SafeParseResult<RequestBodyHeaders, SDKValidationError> {
1251
1268
  return safeParse(
1252
1269
  jsonString,
1253
- (x) => Headers$inboundSchema.parse(JSON.parse(x)),
1254
- `Failed to parse 'Headers' from JSON`,
1270
+ (x) => RequestBodyHeaders$inboundSchema.parse(JSON.parse(x)),
1271
+ `Failed to parse 'RequestBodyHeaders' from JSON`,
1255
1272
  );
1256
1273
  }
1257
1274
 
@@ -1320,7 +1337,8 @@ export const Mcp$inboundSchema: z.ZodType<Mcp, z.ZodTypeDef, unknown> = z
1320
1337
  server_id: z.string(),
1321
1338
  tool_name: z.string(),
1322
1339
  server_url: z.string(),
1323
- headers: z.record(z.lazy(() => Headers$inboundSchema)).optional(),
1340
+ headers: z.record(z.lazy(() => RequestBodyHeaders$inboundSchema))
1341
+ .optional(),
1324
1342
  input_schema: z.lazy(() => InputSchema$inboundSchema),
1325
1343
  connection_type: ConnectionType$inboundSchema,
1326
1344
  }).transform((v) => {
@@ -1337,7 +1355,7 @@ export type Mcp$Outbound = {
1337
1355
  server_id: string;
1338
1356
  tool_name: string;
1339
1357
  server_url: string;
1340
- headers?: { [k: string]: Headers$Outbound } | undefined;
1358
+ headers?: { [k: string]: RequestBodyHeaders$Outbound } | undefined;
1341
1359
  input_schema: InputSchema$Outbound;
1342
1360
  connection_type: string;
1343
1361
  };
@@ -1348,7 +1366,8 @@ export const Mcp$outboundSchema: z.ZodType<Mcp$Outbound, z.ZodTypeDef, Mcp> = z
1348
1366
  serverId: z.string(),
1349
1367
  toolName: z.string(),
1350
1368
  serverUrl: z.string(),
1351
- headers: z.record(z.lazy(() => Headers$outboundSchema)).optional(),
1369
+ headers: z.record(z.lazy(() => RequestBodyHeaders$outboundSchema))
1370
+ .optional(),
1352
1371
  inputSchema: z.lazy(() => InputSchema$outboundSchema),
1353
1372
  connectionType: ConnectionType$outboundSchema,
1354
1373
  }).transform((v) => {
@@ -1464,6 +1483,50 @@ export const CreateToolRequestBodyMethod$outboundSchema: z.ZodNativeEnum<
1464
1483
  typeof CreateToolRequestBodyMethod
1465
1484
  > = CreateToolRequestBodyMethod$inboundSchema;
1466
1485
 
1486
+ /** @internal */
1487
+ export const CreateToolRequestBodyHeaders$inboundSchema: z.ZodType<
1488
+ CreateToolRequestBodyHeaders,
1489
+ z.ZodTypeDef,
1490
+ unknown
1491
+ > = z.object({
1492
+ value: z.string(),
1493
+ encrypted: z.boolean().default(false),
1494
+ });
1495
+ /** @internal */
1496
+ export type CreateToolRequestBodyHeaders$Outbound = {
1497
+ value: string;
1498
+ encrypted: boolean;
1499
+ };
1500
+
1501
+ /** @internal */
1502
+ export const CreateToolRequestBodyHeaders$outboundSchema: z.ZodType<
1503
+ CreateToolRequestBodyHeaders$Outbound,
1504
+ z.ZodTypeDef,
1505
+ CreateToolRequestBodyHeaders
1506
+ > = z.object({
1507
+ value: z.string(),
1508
+ encrypted: z.boolean().default(false),
1509
+ });
1510
+
1511
+ export function createToolRequestBodyHeadersToJSON(
1512
+ createToolRequestBodyHeaders: CreateToolRequestBodyHeaders,
1513
+ ): string {
1514
+ return JSON.stringify(
1515
+ CreateToolRequestBodyHeaders$outboundSchema.parse(
1516
+ createToolRequestBodyHeaders,
1517
+ ),
1518
+ );
1519
+ }
1520
+ export function createToolRequestBodyHeadersFromJSON(
1521
+ jsonString: string,
1522
+ ): SafeParseResult<CreateToolRequestBodyHeaders, SDKValidationError> {
1523
+ return safeParse(
1524
+ jsonString,
1525
+ (x) => CreateToolRequestBodyHeaders$inboundSchema.parse(JSON.parse(x)),
1526
+ `Failed to parse 'CreateToolRequestBodyHeaders' from JSON`,
1527
+ );
1528
+ }
1529
+
1467
1530
  /** @internal */
1468
1531
  export const RequestBodyBlueprint$inboundSchema: z.ZodType<
1469
1532
  RequestBodyBlueprint,
@@ -1472,14 +1535,15 @@ export const RequestBodyBlueprint$inboundSchema: z.ZodType<
1472
1535
  > = z.object({
1473
1536
  url: z.string(),
1474
1537
  method: CreateToolRequestBodyMethod$inboundSchema,
1475
- headers: z.record(z.string()).optional(),
1538
+ headers: z.record(z.lazy(() => CreateToolRequestBodyHeaders$inboundSchema))
1539
+ .optional(),
1476
1540
  body: z.record(z.any()).optional(),
1477
1541
  });
1478
1542
  /** @internal */
1479
1543
  export type RequestBodyBlueprint$Outbound = {
1480
1544
  url: string;
1481
1545
  method: string;
1482
- headers?: { [k: string]: string } | undefined;
1546
+ headers?: { [k: string]: CreateToolRequestBodyHeaders$Outbound } | undefined;
1483
1547
  body?: { [k: string]: any } | undefined;
1484
1548
  };
1485
1549
 
@@ -1491,7 +1555,8 @@ export const RequestBodyBlueprint$outboundSchema: z.ZodType<
1491
1555
  > = z.object({
1492
1556
  url: z.string(),
1493
1557
  method: CreateToolRequestBodyMethod$outboundSchema,
1494
- headers: z.record(z.string()).optional(),
1558
+ headers: z.record(z.lazy(() => CreateToolRequestBodyHeaders$outboundSchema))
1559
+ .optional(),
1495
1560
  body: z.record(z.any()).optional(),
1496
1561
  });
1497
1562
 
@@ -2112,7 +2177,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
2112
2177
  z.ZodTypeDef,
2113
2178
  unknown
2114
2179
  > = z.object({
2115
- _id: z.string().default("01K9F3PNX9WX9SV8D9KYSQJCMR"),
2180
+ _id: z.string().default("01K9PVD4GW4C8R9BESCSYHDRBA"),
2116
2181
  path: z.string(),
2117
2182
  key: z.string(),
2118
2183
  display_name: z.string().optional(),
@@ -2166,7 +2231,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
2166
2231
  z.ZodTypeDef,
2167
2232
  ResponseBody5
2168
2233
  > = z.object({
2169
- id: z.string().default("01K9F3PNX9WX9SV8D9KYSQJCMR"),
2234
+ id: z.string().default("01K9PVD4GW4C8R9BESCSYHDRBA"),
2170
2235
  path: z.string(),
2171
2236
  key: z.string(),
2172
2237
  displayName: z.string().optional(),
@@ -2412,7 +2477,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
2412
2477
  z.ZodTypeDef,
2413
2478
  unknown
2414
2479
  > = z.object({
2415
- _id: z.string().default("01K9F3PNX79XHR5ZGDR269KN9F"),
2480
+ _id: z.string().default("01K9PVD4GTM6HHJ3F9F7P8M7ZE"),
2416
2481
  path: z.string(),
2417
2482
  key: z.string(),
2418
2483
  display_name: z.string().optional(),
@@ -2465,7 +2530,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
2465
2530
  z.ZodTypeDef,
2466
2531
  ResponseBody4
2467
2532
  > = z.object({
2468
- id: z.string().default("01K9F3PNX79XHR5ZGDR269KN9F"),
2533
+ id: z.string().default("01K9PVD4GTM6HHJ3F9F7P8M7ZE"),
2469
2534
  path: z.string(),
2470
2535
  key: z.string(),
2471
2536
  displayName: z.string().optional(),
@@ -2534,6 +2599,50 @@ export const CreateToolResponseBodyMethod$outboundSchema: z.ZodNativeEnum<
2534
2599
  typeof CreateToolResponseBodyMethod
2535
2600
  > = CreateToolResponseBodyMethod$inboundSchema;
2536
2601
 
2602
+ /** @internal */
2603
+ export const CreateToolResponseBodyHeaders$inboundSchema: z.ZodType<
2604
+ CreateToolResponseBodyHeaders,
2605
+ z.ZodTypeDef,
2606
+ unknown
2607
+ > = z.object({
2608
+ value: z.string(),
2609
+ encrypted: z.boolean().default(false),
2610
+ });
2611
+ /** @internal */
2612
+ export type CreateToolResponseBodyHeaders$Outbound = {
2613
+ value: string;
2614
+ encrypted: boolean;
2615
+ };
2616
+
2617
+ /** @internal */
2618
+ export const CreateToolResponseBodyHeaders$outboundSchema: z.ZodType<
2619
+ CreateToolResponseBodyHeaders$Outbound,
2620
+ z.ZodTypeDef,
2621
+ CreateToolResponseBodyHeaders
2622
+ > = z.object({
2623
+ value: z.string(),
2624
+ encrypted: z.boolean().default(false),
2625
+ });
2626
+
2627
+ export function createToolResponseBodyHeadersToJSON(
2628
+ createToolResponseBodyHeaders: CreateToolResponseBodyHeaders,
2629
+ ): string {
2630
+ return JSON.stringify(
2631
+ CreateToolResponseBodyHeaders$outboundSchema.parse(
2632
+ createToolResponseBodyHeaders,
2633
+ ),
2634
+ );
2635
+ }
2636
+ export function createToolResponseBodyHeadersFromJSON(
2637
+ jsonString: string,
2638
+ ): SafeParseResult<CreateToolResponseBodyHeaders, SDKValidationError> {
2639
+ return safeParse(
2640
+ jsonString,
2641
+ (x) => CreateToolResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
2642
+ `Failed to parse 'CreateToolResponseBodyHeaders' from JSON`,
2643
+ );
2644
+ }
2645
+
2537
2646
  /** @internal */
2538
2647
  export const ResponseBodyBlueprint$inboundSchema: z.ZodType<
2539
2648
  ResponseBodyBlueprint,
@@ -2542,14 +2651,15 @@ export const ResponseBodyBlueprint$inboundSchema: z.ZodType<
2542
2651
  > = z.object({
2543
2652
  url: z.string(),
2544
2653
  method: CreateToolResponseBodyMethod$inboundSchema,
2545
- headers: z.record(z.string()).optional(),
2654
+ headers: z.record(z.lazy(() => CreateToolResponseBodyHeaders$inboundSchema))
2655
+ .optional(),
2546
2656
  body: z.record(z.any()).optional(),
2547
2657
  });
2548
2658
  /** @internal */
2549
2659
  export type ResponseBodyBlueprint$Outbound = {
2550
2660
  url: string;
2551
2661
  method: string;
2552
- headers?: { [k: string]: string } | undefined;
2662
+ headers?: { [k: string]: CreateToolResponseBodyHeaders$Outbound } | undefined;
2553
2663
  body?: { [k: string]: any } | undefined;
2554
2664
  };
2555
2665
 
@@ -2561,7 +2671,8 @@ export const ResponseBodyBlueprint$outboundSchema: z.ZodType<
2561
2671
  > = z.object({
2562
2672
  url: z.string(),
2563
2673
  method: CreateToolResponseBodyMethod$outboundSchema,
2564
- headers: z.record(z.string()).optional(),
2674
+ headers: z.record(z.lazy(() => CreateToolResponseBodyHeaders$outboundSchema))
2675
+ .optional(),
2565
2676
  body: z.record(z.any()).optional(),
2566
2677
  });
2567
2678
 
@@ -2736,7 +2847,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
2736
2847
  z.ZodTypeDef,
2737
2848
  unknown
2738
2849
  > = z.object({
2739
- _id: z.string().default("01K9F3PNX522ME895Y9JPEZWM4"),
2850
+ _id: z.string().default("01K9PVD4GRT2E0VPEQNB68PCN6"),
2740
2851
  path: z.string(),
2741
2852
  key: z.string(),
2742
2853
  display_name: z.string().optional(),
@@ -2787,7 +2898,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
2787
2898
  z.ZodTypeDef,
2788
2899
  ResponseBody3
2789
2900
  > = z.object({
2790
- id: z.string().default("01K9F3PNX522ME895Y9JPEZWM4"),
2901
+ id: z.string().default("01K9PVD4GRT2E0VPEQNB68PCN6"),
2791
2902
  path: z.string(),
2792
2903
  key: z.string(),
2793
2904
  displayName: z.string().optional(),
@@ -2899,7 +3010,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
2899
3010
  z.ZodTypeDef,
2900
3011
  unknown
2901
3012
  > = z.object({
2902
- _id: z.string().default("01K9F3PNX41ZNZ5D6WDMPKEMDZ"),
3013
+ _id: z.string().default("01K9PVD4GQ90RBT9SMJX24T2WD"),
2903
3014
  path: z.string(),
2904
3015
  key: z.string(),
2905
3016
  display_name: z.string().optional(),
@@ -2951,7 +3062,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
2951
3062
  z.ZodTypeDef,
2952
3063
  ResponseBody2
2953
3064
  > = z.object({
2954
- id: z.string().default("01K9F3PNX41ZNZ5D6WDMPKEMDZ"),
3065
+ id: z.string().default("01K9PVD4GQ90RBT9SMJX24T2WD"),
2955
3066
  path: z.string(),
2956
3067
  key: z.string(),
2957
3068
  displayName: z.string().optional(),
@@ -3066,7 +3177,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
3066
3177
  z.ZodTypeDef,
3067
3178
  unknown
3068
3179
  > = z.object({
3069
- _id: z.string().default("01K9F3PNX2T5V9R4D55G0ZKCTP"),
3180
+ _id: z.string().default("01K9PVD4GNCQBEEMJVWB9YKCJR"),
3070
3181
  path: z.string(),
3071
3182
  key: z.string(),
3072
3183
  display_name: z.string().optional(),
@@ -3117,7 +3228,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
3117
3228
  z.ZodTypeDef,
3118
3229
  ResponseBody1
3119
3230
  > = z.object({
3120
- id: z.string().default("01K9F3PNX2T5V9R4D55G0ZKCTP"),
3231
+ id: z.string().default("01K9PVD4GNCQBEEMJVWB9YKCJR"),
3121
3232
  path: z.string(),
3122
3233
  key: z.string(),
3123
3234
  displayName: z.string().optional(),
@@ -277,6 +277,11 @@ export type DuplicateToolResponseBodyMethod = ClosedEnum<
277
277
  typeof DuplicateToolResponseBodyMethod
278
278
  >;
279
279
 
280
+ export type DuplicateToolResponseBodyToolsHeaders = {
281
+ value: string;
282
+ encrypted?: boolean | undefined;
283
+ };
284
+
280
285
  /**
281
286
  * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
282
287
  */
@@ -292,7 +297,7 @@ export type DuplicateToolResponseBodyBlueprint = {
292
297
  /**
293
298
  * The headers to send with the request.
294
299
  */
295
- headers?: { [k: string]: string } | undefined;
300
+ headers?: { [k: string]: DuplicateToolResponseBodyToolsHeaders } | undefined;
296
301
  /**
297
302
  * The body to send with the request.
298
303
  */
@@ -716,7 +721,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
716
721
  z.ZodTypeDef,
717
722
  unknown
718
723
  > = z.object({
719
- _id: z.string().default("01K9F3PNYERQHQTT927A53F9PC"),
724
+ _id: z.string().default("01K9PVD4J28KT6D2MQD7A8K0RK"),
720
725
  path: z.string(),
721
726
  key: z.string(),
722
727
  display_name: z.string().optional(),
@@ -771,7 +776,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
771
776
  z.ZodTypeDef,
772
777
  DuplicateToolResponseBody5
773
778
  > = z.object({
774
- id: z.string().default("01K9F3PNYERQHQTT927A53F9PC"),
779
+ id: z.string().default("01K9PVD4J28KT6D2MQD7A8K0RK"),
775
780
  path: z.string(),
776
781
  key: z.string(),
777
782
  displayName: z.string().optional(),
@@ -1042,7 +1047,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
1042
1047
  z.ZodTypeDef,
1043
1048
  unknown
1044
1049
  > = z.object({
1045
- _id: z.string().default("01K9F3PNYC1WZQYR5ZXN0P3783"),
1050
+ _id: z.string().default("01K9PVD4HZW005KP4DABZNV3SY"),
1046
1051
  path: z.string(),
1047
1052
  key: z.string(),
1048
1053
  display_name: z.string().optional(),
@@ -1095,7 +1100,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
1095
1100
  z.ZodTypeDef,
1096
1101
  DuplicateToolResponseBody4
1097
1102
  > = z.object({
1098
- id: z.string().default("01K9F3PNYC1WZQYR5ZXN0P3783"),
1103
+ id: z.string().default("01K9PVD4HZW005KP4DABZNV3SY"),
1099
1104
  path: z.string(),
1100
1105
  key: z.string(),
1101
1106
  displayName: z.string().optional(),
@@ -1167,6 +1172,51 @@ export const DuplicateToolResponseBodyMethod$outboundSchema: z.ZodNativeEnum<
1167
1172
  typeof DuplicateToolResponseBodyMethod
1168
1173
  > = DuplicateToolResponseBodyMethod$inboundSchema;
1169
1174
 
1175
+ /** @internal */
1176
+ export const DuplicateToolResponseBodyToolsHeaders$inboundSchema: z.ZodType<
1177
+ DuplicateToolResponseBodyToolsHeaders,
1178
+ z.ZodTypeDef,
1179
+ unknown
1180
+ > = z.object({
1181
+ value: z.string(),
1182
+ encrypted: z.boolean().default(false),
1183
+ });
1184
+ /** @internal */
1185
+ export type DuplicateToolResponseBodyToolsHeaders$Outbound = {
1186
+ value: string;
1187
+ encrypted: boolean;
1188
+ };
1189
+
1190
+ /** @internal */
1191
+ export const DuplicateToolResponseBodyToolsHeaders$outboundSchema: z.ZodType<
1192
+ DuplicateToolResponseBodyToolsHeaders$Outbound,
1193
+ z.ZodTypeDef,
1194
+ DuplicateToolResponseBodyToolsHeaders
1195
+ > = z.object({
1196
+ value: z.string(),
1197
+ encrypted: z.boolean().default(false),
1198
+ });
1199
+
1200
+ export function duplicateToolResponseBodyToolsHeadersToJSON(
1201
+ duplicateToolResponseBodyToolsHeaders: DuplicateToolResponseBodyToolsHeaders,
1202
+ ): string {
1203
+ return JSON.stringify(
1204
+ DuplicateToolResponseBodyToolsHeaders$outboundSchema.parse(
1205
+ duplicateToolResponseBodyToolsHeaders,
1206
+ ),
1207
+ );
1208
+ }
1209
+ export function duplicateToolResponseBodyToolsHeadersFromJSON(
1210
+ jsonString: string,
1211
+ ): SafeParseResult<DuplicateToolResponseBodyToolsHeaders, SDKValidationError> {
1212
+ return safeParse(
1213
+ jsonString,
1214
+ (x) =>
1215
+ DuplicateToolResponseBodyToolsHeaders$inboundSchema.parse(JSON.parse(x)),
1216
+ `Failed to parse 'DuplicateToolResponseBodyToolsHeaders' from JSON`,
1217
+ );
1218
+ }
1219
+
1170
1220
  /** @internal */
1171
1221
  export const DuplicateToolResponseBodyBlueprint$inboundSchema: z.ZodType<
1172
1222
  DuplicateToolResponseBodyBlueprint,
@@ -1175,14 +1225,18 @@ export const DuplicateToolResponseBodyBlueprint$inboundSchema: z.ZodType<
1175
1225
  > = z.object({
1176
1226
  url: z.string(),
1177
1227
  method: DuplicateToolResponseBodyMethod$inboundSchema,
1178
- headers: z.record(z.string()).optional(),
1228
+ headers: z.record(
1229
+ z.lazy(() => DuplicateToolResponseBodyToolsHeaders$inboundSchema),
1230
+ ).optional(),
1179
1231
  body: z.record(z.any()).optional(),
1180
1232
  });
1181
1233
  /** @internal */
1182
1234
  export type DuplicateToolResponseBodyBlueprint$Outbound = {
1183
1235
  url: string;
1184
1236
  method: string;
1185
- headers?: { [k: string]: string } | undefined;
1237
+ headers?:
1238
+ | { [k: string]: DuplicateToolResponseBodyToolsHeaders$Outbound }
1239
+ | undefined;
1186
1240
  body?: { [k: string]: any } | undefined;
1187
1241
  };
1188
1242
 
@@ -1194,7 +1248,9 @@ export const DuplicateToolResponseBodyBlueprint$outboundSchema: z.ZodType<
1194
1248
  > = z.object({
1195
1249
  url: z.string(),
1196
1250
  method: DuplicateToolResponseBodyMethod$outboundSchema,
1197
- headers: z.record(z.string()).optional(),
1251
+ headers: z.record(
1252
+ z.lazy(() => DuplicateToolResponseBodyToolsHeaders$outboundSchema),
1253
+ ).optional(),
1198
1254
  body: z.record(z.any()).optional(),
1199
1255
  });
1200
1256
 
@@ -1390,7 +1446,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
1390
1446
  z.ZodTypeDef,
1391
1447
  unknown
1392
1448
  > = z.object({
1393
- _id: z.string().default("01K9F3PNYA1J4GSDWK2BDFVZ7P"),
1449
+ _id: z.string().default("01K9PVD4HY6TEK80AZK4MR3XB8"),
1394
1450
  path: z.string(),
1395
1451
  key: z.string(),
1396
1452
  display_name: z.string().optional(),
@@ -1443,7 +1499,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
1443
1499
  z.ZodTypeDef,
1444
1500
  DuplicateToolResponseBody3
1445
1501
  > = z.object({
1446
- id: z.string().default("01K9F3PNYA1J4GSDWK2BDFVZ7P"),
1502
+ id: z.string().default("01K9PVD4HY6TEK80AZK4MR3XB8"),
1447
1503
  path: z.string(),
1448
1504
  key: z.string(),
1449
1505
  displayName: z.string().optional(),
@@ -1565,7 +1621,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
1565
1621
  z.ZodTypeDef,
1566
1622
  unknown
1567
1623
  > = z.object({
1568
- _id: z.string().default("01K9F3PNY90PWDX6BRABBQ1HQV"),
1624
+ _id: z.string().default("01K9PVD4HW1DKYRCE3NZPT0QRT"),
1569
1625
  path: z.string(),
1570
1626
  key: z.string(),
1571
1627
  display_name: z.string().optional(),
@@ -1617,7 +1673,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
1617
1673
  z.ZodTypeDef,
1618
1674
  DuplicateToolResponseBody2
1619
1675
  > = z.object({
1620
- id: z.string().default("01K9F3PNY90PWDX6BRABBQ1HQV"),
1676
+ id: z.string().default("01K9PVD4HW1DKYRCE3NZPT0QRT"),
1621
1677
  path: z.string(),
1622
1678
  key: z.string(),
1623
1679
  displayName: z.string().optional(),
@@ -1736,7 +1792,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
1736
1792
  z.ZodTypeDef,
1737
1793
  unknown
1738
1794
  > = z.object({
1739
- _id: z.string().default("01K9F3PNY8ZZ1N74YW0D18GJQC"),
1795
+ _id: z.string().default("01K9PVD4HV5N1BBF5FNQ2MYCH1"),
1740
1796
  path: z.string(),
1741
1797
  key: z.string(),
1742
1798
  display_name: z.string().optional(),
@@ -1787,7 +1843,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
1787
1843
  z.ZodTypeDef,
1788
1844
  DuplicateToolResponseBody1
1789
1845
  > = z.object({
1790
- id: z.string().default("01K9F3PNY8ZZ1N74YW0D18GJQC"),
1846
+ id: z.string().default("01K9PVD4HV5N1BBF5FNQ2MYCH1"),
1791
1847
  path: z.string(),
1792
1848
  key: z.string(),
1793
1849
  displayName: z.string().optional(),
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
119
119
  file_name: z.string(),
120
120
  workspace_id: z.string(),
121
121
  created: z.string().datetime({ offset: true }).default(
122
- "2025-11-07T12:12:10.408Z",
122
+ "2025-11-10T12:21:04.916Z",
123
123
  ).transform(v => new Date(v)),
124
124
  }).transform((v) => {
125
125
  return remap$(v, {
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
152
152
  bytes: z.number(),
153
153
  fileName: z.string(),
154
154
  workspaceId: z.string(),
155
- created: z.date().default(() => new Date("2025-11-07T12:12:10.408Z"))
155
+ created: z.date().default(() => new Date("2025-11-10T12:21:04.916Z"))
156
156
  .transform(v => v.toISOString()),
157
157
  }).transform((v) => {
158
158
  return remap$(v, {
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
157
157
  file_name: z.string(),
158
158
  workspace_id: z.string(),
159
159
  created: z.string().datetime({ offset: true }).default(
160
- "2025-11-07T12:12:10.408Z",
160
+ "2025-11-10T12:21:04.916Z",
161
161
  ).transform(v => new Date(v)),
162
162
  }).transform((v) => {
163
163
  return remap$(v, {
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
190
190
  bytes: z.number(),
191
191
  fileName: z.string(),
192
192
  workspaceId: z.string(),
193
- created: z.date().default(() => new Date("2025-11-07T12:12:10.408Z"))
193
+ created: z.date().default(() => new Date("2025-11-10T12:21:04.916Z"))
194
194
  .transform(v => v.toISOString()),
195
195
  }).transform((v) => {
196
196
  return remap$(v, {
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
196
196
  file_name: z.string(),
197
197
  workspace_id: z.string(),
198
198
  created: z.string().datetime({ offset: true }).default(
199
- "2025-11-07T12:12:10.408Z",
199
+ "2025-11-10T12:21:04.916Z",
200
200
  ).transform(v => new Date(v)),
201
201
  }).transform((v) => {
202
202
  return remap$(v, {
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
229
229
  bytes: z.number(),
230
230
  fileName: z.string(),
231
231
  workspaceId: z.string(),
232
- created: z.date().default(() => new Date("2025-11-07T12:12:10.408Z"))
232
+ created: z.date().default(() => new Date("2025-11-10T12:21:04.916Z"))
233
233
  .transform(v => v.toISOString()),
234
234
  }).transform((v) => {
235
235
  return remap$(v, {