@orq-ai/node 4.5.0-rc.40 → 4.5.0-rc.42

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 (103) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/partdoneevent.js +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createagentrequest.d.ts +161 -271
  7. package/models/operations/createagentrequest.d.ts.map +1 -1
  8. package/models/operations/createagentrequest.js +162 -256
  9. package/models/operations/createagentrequest.js.map +1 -1
  10. package/models/operations/createcontact.js +1 -1
  11. package/models/operations/createdataset.js +1 -1
  12. package/models/operations/createdatasetitem.js +4 -4
  13. package/models/operations/createdatasource.js +1 -1
  14. package/models/operations/createeval.js +16 -16
  15. package/models/operations/createidentity.js +1 -1
  16. package/models/operations/createknowledge.d.ts +7 -7
  17. package/models/operations/createknowledge.d.ts.map +1 -1
  18. package/models/operations/createknowledge.js +11 -11
  19. package/models/operations/createknowledge.js.map +1 -1
  20. package/models/operations/createtool.d.ts +39 -39
  21. package/models/operations/createtool.d.ts.map +1 -1
  22. package/models/operations/createtool.js +49 -52
  23. package/models/operations/createtool.js.map +1 -1
  24. package/models/operations/fileget.js +1 -1
  25. package/models/operations/filelist.js +1 -1
  26. package/models/operations/fileupload.js +1 -1
  27. package/models/operations/getalltools.d.ts +39 -39
  28. package/models/operations/getalltools.d.ts.map +1 -1
  29. package/models/operations/getalltools.js +47 -49
  30. package/models/operations/getalltools.js.map +1 -1
  31. package/models/operations/getevals.js +16 -16
  32. package/models/operations/listagents.d.ts +167 -276
  33. package/models/operations/listagents.d.ts.map +1 -1
  34. package/models/operations/listagents.js +172 -266
  35. package/models/operations/listagents.js.map +1 -1
  36. package/models/operations/listdatasetdatapoints.js +4 -4
  37. package/models/operations/listdatasets.js +1 -1
  38. package/models/operations/listdatasources.js +1 -1
  39. package/models/operations/listidentities.js +1 -1
  40. package/models/operations/listknowledgebases.d.ts +8 -8
  41. package/models/operations/listknowledgebases.d.ts.map +1 -1
  42. package/models/operations/listknowledgebases.js +15 -13
  43. package/models/operations/listknowledgebases.js.map +1 -1
  44. package/models/operations/retrieveagentrequest.d.ts +169 -279
  45. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  46. package/models/operations/retrieveagentrequest.js +173 -270
  47. package/models/operations/retrieveagentrequest.js.map +1 -1
  48. package/models/operations/retrievedatapoint.js +4 -4
  49. package/models/operations/retrievedataset.js +1 -1
  50. package/models/operations/retrievedatasource.js +1 -1
  51. package/models/operations/retrieveidentity.js +1 -1
  52. package/models/operations/retrievetool.js +6 -6
  53. package/models/operations/runagent.js +1 -1
  54. package/models/operations/streamrunagent.js +1 -1
  55. package/models/operations/updateagent.d.ts +169 -279
  56. package/models/operations/updateagent.d.ts.map +1 -1
  57. package/models/operations/updateagent.js +174 -270
  58. package/models/operations/updateagent.js.map +1 -1
  59. package/models/operations/updatedatapoint.js +4 -4
  60. package/models/operations/updatedataset.js +1 -1
  61. package/models/operations/updatedatasource.js +1 -1
  62. package/models/operations/updateeval.js +16 -16
  63. package/models/operations/updateidentity.js +1 -1
  64. package/models/operations/updatetool.js +7 -7
  65. package/package.json +1 -1
  66. package/src/lib/config.ts +2 -2
  67. package/src/models/components/partdoneevent.ts +1 -1
  68. package/src/models/components/reasoningpart.ts +1 -1
  69. package/src/models/operations/createagentrequest.ts +376 -619
  70. package/src/models/operations/createcontact.ts +1 -1
  71. package/src/models/operations/createdataset.ts +1 -1
  72. package/src/models/operations/createdatasetitem.ts +4 -4
  73. package/src/models/operations/createdatasource.ts +1 -1
  74. package/src/models/operations/createeval.ts +16 -16
  75. package/src/models/operations/createidentity.ts +1 -1
  76. package/src/models/operations/createknowledge.ts +17 -19
  77. package/src/models/operations/createtool.ts +91 -103
  78. package/src/models/operations/fileget.ts +1 -1
  79. package/src/models/operations/filelist.ts +1 -1
  80. package/src/models/operations/fileupload.ts +1 -1
  81. package/src/models/operations/getalltools.ts +87 -93
  82. package/src/models/operations/getevals.ts +16 -16
  83. package/src/models/operations/listagents.ts +383 -611
  84. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  85. package/src/models/operations/listdatasets.ts +1 -1
  86. package/src/models/operations/listdatasources.ts +1 -1
  87. package/src/models/operations/listidentities.ts +1 -1
  88. package/src/models/operations/listknowledgebases.ts +64 -72
  89. package/src/models/operations/retrieveagentrequest.ts +489 -884
  90. package/src/models/operations/retrievedatapoint.ts +4 -4
  91. package/src/models/operations/retrievedataset.ts +1 -1
  92. package/src/models/operations/retrievedatasource.ts +1 -1
  93. package/src/models/operations/retrieveidentity.ts +1 -1
  94. package/src/models/operations/retrievetool.ts +6 -6
  95. package/src/models/operations/runagent.ts +1 -1
  96. package/src/models/operations/streamrunagent.ts +1 -1
  97. package/src/models/operations/updateagent.ts +362 -668
  98. package/src/models/operations/updatedatapoint.ts +4 -4
  99. package/src/models/operations/updatedataset.ts +1 -1
  100. package/src/models/operations/updatedatasource.ts +1 -1
  101. package/src/models/operations/updateeval.ts +16 -16
  102. package/src/models/operations/updateidentity.ts +1 -1
  103. package/src/models/operations/updatetool.ts +7 -7
@@ -35,7 +35,7 @@ export type GetAllToolsObject = ClosedEnum<typeof GetAllToolsObject>;
35
35
  /**
36
36
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
37
37
  */
38
- export const GetAllToolsDataToolsResponse200ApplicationJSONStatus = {
38
+ export const GetAllToolsDataToolsResponse200Status = {
39
39
  Live: "live",
40
40
  Draft: "draft",
41
41
  Pending: "pending",
@@ -44,8 +44,8 @@ export const GetAllToolsDataToolsResponse200ApplicationJSONStatus = {
44
44
  /**
45
45
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
46
46
  */
47
- export type GetAllToolsDataToolsResponse200ApplicationJSONStatus = ClosedEnum<
48
- typeof GetAllToolsDataToolsResponse200ApplicationJSONStatus
47
+ export type GetAllToolsDataToolsResponse200Status = ClosedEnum<
48
+ typeof GetAllToolsDataToolsResponse200Status
49
49
  >;
50
50
 
51
51
  /**
@@ -65,7 +65,7 @@ export type GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type =
65
65
  /**
66
66
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
67
67
  */
68
- export type GetAllToolsDataToolsParameters = {
68
+ export type GetAllToolsDataParameters = {
69
69
  /**
70
70
  * The type must be "object"
71
71
  */
@@ -90,7 +90,7 @@ export type DataCodeTool = {
90
90
  /**
91
91
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
92
92
  */
93
- parameters?: GetAllToolsDataToolsParameters | undefined;
93
+ parameters?: GetAllToolsDataParameters | undefined;
94
94
  language: DataLanguage;
95
95
  /**
96
96
  * The code to execute.
@@ -140,7 +140,7 @@ export type DataCodeExecutionTool = {
140
140
  /**
141
141
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
142
142
  */
143
- status: GetAllToolsDataToolsResponse200ApplicationJSONStatus;
143
+ status: GetAllToolsDataToolsResponse200Status;
144
144
  versionHash?: string | undefined;
145
145
  type: "code";
146
146
  codeTool: DataCodeTool;
@@ -149,7 +149,7 @@ export type DataCodeExecutionTool = {
149
149
  /**
150
150
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
151
151
  */
152
- export const GetAllToolsDataToolsResponse200Status = {
152
+ export const GetAllToolsDataToolsResponseStatus = {
153
153
  Live: "live",
154
154
  Draft: "draft",
155
155
  Pending: "pending",
@@ -158,11 +158,11 @@ export const GetAllToolsDataToolsResponse200Status = {
158
158
  /**
159
159
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
160
160
  */
161
- export type GetAllToolsDataToolsResponse200Status = ClosedEnum<
162
- typeof GetAllToolsDataToolsResponse200Status
161
+ export type GetAllToolsDataToolsResponseStatus = ClosedEnum<
162
+ typeof GetAllToolsDataToolsResponseStatus
163
163
  >;
164
164
 
165
- export type GetAllToolsDataHeaders = {
165
+ export type DataHeaders = {
166
166
  value: string;
167
167
  encrypted: boolean;
168
168
  };
@@ -181,7 +181,7 @@ export type GetAllToolsDataSchema = {
181
181
  required?: Array<string> | undefined;
182
182
  };
183
183
 
184
- export type GetAllToolsDataTools = {
184
+ export type DataTools = {
185
185
  id: string;
186
186
  name: string;
187
187
  description?: string | undefined;
@@ -208,11 +208,11 @@ export type DataMcp = {
208
208
  /**
209
209
  * HTTP headers for MCP server requests with encryption support
210
210
  */
211
- headers?: { [k: string]: GetAllToolsDataHeaders } | undefined;
211
+ headers?: { [k: string]: DataHeaders } | undefined;
212
212
  /**
213
213
  * Array of tools available from the MCP server
214
214
  */
215
- tools: Array<GetAllToolsDataTools>;
215
+ tools: Array<DataTools>;
216
216
  /**
217
217
  * The connection type used by the MCP server
218
218
  */
@@ -261,7 +261,7 @@ export type DataMCPTool = {
261
261
  /**
262
262
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
263
263
  */
264
- status: GetAllToolsDataToolsResponse200Status;
264
+ status: GetAllToolsDataToolsResponseStatus;
265
265
  versionHash?: string | undefined;
266
266
  type: "mcp";
267
267
  mcp: DataMcp;
@@ -270,7 +270,7 @@ export type DataMCPTool = {
270
270
  /**
271
271
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
272
272
  */
273
- export const GetAllToolsDataToolsResponseStatus = {
273
+ export const GetAllToolsDataToolsStatus = {
274
274
  Live: "live",
275
275
  Draft: "draft",
276
276
  Pending: "pending",
@@ -279,8 +279,8 @@ export const GetAllToolsDataToolsResponseStatus = {
279
279
  /**
280
280
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
281
281
  */
282
- export type GetAllToolsDataToolsResponseStatus = ClosedEnum<
283
- typeof GetAllToolsDataToolsResponseStatus
282
+ export type GetAllToolsDataToolsStatus = ClosedEnum<
283
+ typeof GetAllToolsDataToolsStatus
284
284
  >;
285
285
 
286
286
  /**
@@ -302,7 +302,7 @@ export type GetAllToolsHeaders2 = {
302
302
  encrypted: boolean;
303
303
  };
304
304
 
305
- export type GetAllToolsDataToolsHeaders = GetAllToolsHeaders2 | string;
305
+ export type GetAllToolsDataHeaders = GetAllToolsHeaders2 | string;
306
306
 
307
307
  /**
308
308
  * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
@@ -419,7 +419,7 @@ export type DataHTTPTool = {
419
419
  /**
420
420
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
421
421
  */
422
- status: GetAllToolsDataToolsResponseStatus;
422
+ status: GetAllToolsDataToolsStatus;
423
423
  versionHash?: string | undefined;
424
424
  type: "http";
425
425
  http: GetAllToolsDataHttp;
@@ -428,7 +428,7 @@ export type DataHTTPTool = {
428
428
  /**
429
429
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
430
430
  */
431
- export const GetAllToolsDataToolsStatus = {
431
+ export const GetAllToolsDataStatus = {
432
432
  Live: "live",
433
433
  Draft: "draft",
434
434
  Pending: "pending",
@@ -437,9 +437,7 @@ export const GetAllToolsDataToolsStatus = {
437
437
  /**
438
438
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
439
439
  */
440
- export type GetAllToolsDataToolsStatus = ClosedEnum<
441
- typeof GetAllToolsDataToolsStatus
442
- >;
440
+ export type GetAllToolsDataStatus = ClosedEnum<typeof GetAllToolsDataStatus>;
443
441
 
444
442
  /**
445
443
  * The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
@@ -521,7 +519,7 @@ export type DataJSONSchemaTool = {
521
519
  /**
522
520
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
523
521
  */
524
- status: GetAllToolsDataToolsStatus;
522
+ status: GetAllToolsDataStatus;
525
523
  versionHash?: string | undefined;
526
524
  type: "json_schema";
527
525
  jsonSchema: DataJsonSchema;
@@ -530,7 +528,7 @@ export type DataJSONSchemaTool = {
530
528
  /**
531
529
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
532
530
  */
533
- export const GetAllToolsDataStatus = {
531
+ export const DataStatus = {
534
532
  Live: "live",
535
533
  Draft: "draft",
536
534
  Pending: "pending",
@@ -539,7 +537,7 @@ export const GetAllToolsDataStatus = {
539
537
  /**
540
538
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
541
539
  */
542
- export type GetAllToolsDataStatus = ClosedEnum<typeof GetAllToolsDataStatus>;
540
+ export type DataStatus = ClosedEnum<typeof DataStatus>;
543
541
 
544
542
  /**
545
543
  * The type must be "object"
@@ -558,7 +556,7 @@ export type GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType =
558
556
  /**
559
557
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
560
558
  */
561
- export type GetAllToolsDataParameters = {
559
+ export type DataParameters = {
562
560
  /**
563
561
  * The type must be "object"
564
562
  */
@@ -590,7 +588,7 @@ export type GetAllToolsDataFunction = {
590
588
  /**
591
589
  * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
592
590
  */
593
- parameters?: GetAllToolsDataParameters | undefined;
591
+ parameters?: DataParameters | undefined;
594
592
  };
595
593
 
596
594
  /**
@@ -635,7 +633,7 @@ export type DataFunctionTool = {
635
633
  /**
636
634
  * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
637
635
  */
638
- status: GetAllToolsDataStatus;
636
+ status: DataStatus;
639
637
  versionHash?: string | undefined;
640
638
  type: "function";
641
639
  function: GetAllToolsDataFunction;
@@ -700,9 +698,10 @@ export const GetAllToolsObject$inboundSchema: z.ZodNativeEnum<
700
698
  > = z.nativeEnum(GetAllToolsObject);
701
699
 
702
700
  /** @internal */
703
- export const GetAllToolsDataToolsResponse200ApplicationJSONStatus$inboundSchema:
704
- z.ZodNativeEnum<typeof GetAllToolsDataToolsResponse200ApplicationJSONStatus> =
705
- z.nativeEnum(GetAllToolsDataToolsResponse200ApplicationJSONStatus);
701
+ export const GetAllToolsDataToolsResponse200Status$inboundSchema:
702
+ z.ZodNativeEnum<typeof GetAllToolsDataToolsResponse200Status> = z.nativeEnum(
703
+ GetAllToolsDataToolsResponse200Status,
704
+ );
706
705
 
707
706
  /** @internal */
708
707
  export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type$inboundSchema:
@@ -713,8 +712,8 @@ export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type$inb
713
712
  );
714
713
 
715
714
  /** @internal */
716
- export const GetAllToolsDataToolsParameters$inboundSchema: z.ZodType<
717
- GetAllToolsDataToolsParameters,
715
+ export const GetAllToolsDataParameters$inboundSchema: z.ZodType<
716
+ GetAllToolsDataParameters,
718
717
  z.ZodTypeDef,
719
718
  unknown
720
719
  > = collectExtraKeys$(
@@ -728,13 +727,13 @@ export const GetAllToolsDataToolsParameters$inboundSchema: z.ZodType<
728
727
  true,
729
728
  );
730
729
 
731
- export function getAllToolsDataToolsParametersFromJSON(
730
+ export function getAllToolsDataParametersFromJSON(
732
731
  jsonString: string,
733
- ): SafeParseResult<GetAllToolsDataToolsParameters, SDKValidationError> {
732
+ ): SafeParseResult<GetAllToolsDataParameters, SDKValidationError> {
734
733
  return safeParse(
735
734
  jsonString,
736
- (x) => GetAllToolsDataToolsParameters$inboundSchema.parse(JSON.parse(x)),
737
- `Failed to parse 'GetAllToolsDataToolsParameters' from JSON`,
735
+ (x) => GetAllToolsDataParameters$inboundSchema.parse(JSON.parse(x)),
736
+ `Failed to parse 'GetAllToolsDataParameters' from JSON`,
738
737
  );
739
738
  }
740
739
 
@@ -748,8 +747,7 @@ export const DataCodeTool$inboundSchema: z.ZodType<
748
747
  z.ZodTypeDef,
749
748
  unknown
750
749
  > = z.object({
751
- parameters: z.lazy(() => GetAllToolsDataToolsParameters$inboundSchema)
752
- .optional(),
750
+ parameters: z.lazy(() => GetAllToolsDataParameters$inboundSchema).optional(),
753
751
  language: DataLanguage$inboundSchema,
754
752
  code: z.string(),
755
753
  });
@@ -770,7 +768,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
770
768
  z.ZodTypeDef,
771
769
  unknown
772
770
  > = z.object({
773
- _id: z.string().default("tool_01KK8GKAXXW5Z59BSCEZMRGYBT"),
771
+ _id: z.string().default("tool_01KK9GG3ZW4KGWTTP9FQ66EH5Z"),
774
772
  path: z.string(),
775
773
  key: z.string(),
776
774
  display_name: z.string().optional(),
@@ -781,8 +779,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
781
779
  workspace_id: z.string(),
782
780
  created: z.string(),
783
781
  updated: z.string(),
784
- status: GetAllToolsDataToolsResponse200ApplicationJSONStatus$inboundSchema
785
- .default("live"),
782
+ status: GetAllToolsDataToolsResponse200Status$inboundSchema.default("live"),
786
783
  version_hash: z.string().optional(),
787
784
  type: z.literal("code"),
788
785
  code_tool: z.lazy(() => DataCodeTool$inboundSchema),
@@ -810,14 +807,13 @@ export function dataCodeExecutionToolFromJSON(
810
807
  }
811
808
 
812
809
  /** @internal */
813
- export const GetAllToolsDataToolsResponse200Status$inboundSchema:
814
- z.ZodNativeEnum<typeof GetAllToolsDataToolsResponse200Status> = z.nativeEnum(
815
- GetAllToolsDataToolsResponse200Status,
816
- );
810
+ export const GetAllToolsDataToolsResponseStatus$inboundSchema: z.ZodNativeEnum<
811
+ typeof GetAllToolsDataToolsResponseStatus
812
+ > = z.nativeEnum(GetAllToolsDataToolsResponseStatus);
817
813
 
818
814
  /** @internal */
819
- export const GetAllToolsDataHeaders$inboundSchema: z.ZodType<
820
- GetAllToolsDataHeaders,
815
+ export const DataHeaders$inboundSchema: z.ZodType<
816
+ DataHeaders,
821
817
  z.ZodTypeDef,
822
818
  unknown
823
819
  > = z.object({
@@ -825,13 +821,13 @@ export const GetAllToolsDataHeaders$inboundSchema: z.ZodType<
825
821
  encrypted: z.boolean().default(false),
826
822
  });
827
823
 
828
- export function getAllToolsDataHeadersFromJSON(
824
+ export function dataHeadersFromJSON(
829
825
  jsonString: string,
830
- ): SafeParseResult<GetAllToolsDataHeaders, SDKValidationError> {
826
+ ): SafeParseResult<DataHeaders, SDKValidationError> {
831
827
  return safeParse(
832
828
  jsonString,
833
- (x) => GetAllToolsDataHeaders$inboundSchema.parse(JSON.parse(x)),
834
- `Failed to parse 'GetAllToolsDataHeaders' from JSON`,
829
+ (x) => DataHeaders$inboundSchema.parse(JSON.parse(x)),
830
+ `Failed to parse 'DataHeaders' from JSON`,
835
831
  );
836
832
  }
837
833
 
@@ -866,24 +862,24 @@ export function getAllToolsDataSchemaFromJSON(
866
862
  }
867
863
 
868
864
  /** @internal */
869
- export const GetAllToolsDataTools$inboundSchema: z.ZodType<
870
- GetAllToolsDataTools,
865
+ export const DataTools$inboundSchema: z.ZodType<
866
+ DataTools,
871
867
  z.ZodTypeDef,
872
868
  unknown
873
869
  > = z.object({
874
- id: z.string().default("01KK8GKAXW8BZPJHZQ0DP1C6WJ"),
870
+ id: z.string().default("01KK9GG3ZV5XF47MV0E9J9WM60"),
875
871
  name: z.string(),
876
872
  description: z.string().optional(),
877
873
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
878
874
  });
879
875
 
880
- export function getAllToolsDataToolsFromJSON(
876
+ export function dataToolsFromJSON(
881
877
  jsonString: string,
882
- ): SafeParseResult<GetAllToolsDataTools, SDKValidationError> {
878
+ ): SafeParseResult<DataTools, SDKValidationError> {
883
879
  return safeParse(
884
880
  jsonString,
885
- (x) => GetAllToolsDataTools$inboundSchema.parse(JSON.parse(x)),
886
- `Failed to parse 'GetAllToolsDataTools' from JSON`,
881
+ (x) => DataTools$inboundSchema.parse(JSON.parse(x)),
882
+ `Failed to parse 'DataTools' from JSON`,
887
883
  );
888
884
  }
889
885
 
@@ -896,9 +892,8 @@ export const DataConnectionType$inboundSchema: z.ZodNativeEnum<
896
892
  export const DataMcp$inboundSchema: z.ZodType<DataMcp, z.ZodTypeDef, unknown> =
897
893
  z.object({
898
894
  server_url: z.string(),
899
- headers: z.record(z.lazy(() => GetAllToolsDataHeaders$inboundSchema))
900
- .optional(),
901
- tools: z.array(z.lazy(() => GetAllToolsDataTools$inboundSchema)),
895
+ headers: z.record(z.lazy(() => DataHeaders$inboundSchema)).optional(),
896
+ tools: z.array(z.lazy(() => DataTools$inboundSchema)),
902
897
  connection_type: DataConnectionType$inboundSchema,
903
898
  }).transform((v) => {
904
899
  return remap$(v, {
@@ -923,7 +918,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
923
918
  z.ZodTypeDef,
924
919
  unknown
925
920
  > = z.object({
926
- _id: z.string().default("tool_01KK8GKAXVCNC1MG9M210FPA2J"),
921
+ _id: z.string().default("tool_01KK9GG3ZTD2P42Y5DYW1W4WAZ"),
927
922
  path: z.string(),
928
923
  key: z.string(),
929
924
  display_name: z.string().optional(),
@@ -934,7 +929,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
934
929
  workspace_id: z.string(),
935
930
  created: z.string(),
936
931
  updated: z.string(),
937
- status: GetAllToolsDataToolsResponse200Status$inboundSchema.default("live"),
932
+ status: GetAllToolsDataToolsResponseStatus$inboundSchema.default("live"),
938
933
  version_hash: z.string().optional(),
939
934
  type: z.literal("mcp"),
940
935
  mcp: z.lazy(() => DataMcp$inboundSchema),
@@ -961,9 +956,9 @@ export function dataMCPToolFromJSON(
961
956
  }
962
957
 
963
958
  /** @internal */
964
- export const GetAllToolsDataToolsResponseStatus$inboundSchema: z.ZodNativeEnum<
965
- typeof GetAllToolsDataToolsResponseStatus
966
- > = z.nativeEnum(GetAllToolsDataToolsResponseStatus);
959
+ export const GetAllToolsDataToolsStatus$inboundSchema: z.ZodNativeEnum<
960
+ typeof GetAllToolsDataToolsStatus
961
+ > = z.nativeEnum(GetAllToolsDataToolsStatus);
967
962
 
968
963
  /** @internal */
969
964
  export const GetAllToolsDataMethod$inboundSchema: z.ZodNativeEnum<
@@ -991,19 +986,19 @@ export function getAllToolsHeaders2FromJSON(
991
986
  }
992
987
 
993
988
  /** @internal */
994
- export const GetAllToolsDataToolsHeaders$inboundSchema: z.ZodType<
995
- GetAllToolsDataToolsHeaders,
989
+ export const GetAllToolsDataHeaders$inboundSchema: z.ZodType<
990
+ GetAllToolsDataHeaders,
996
991
  z.ZodTypeDef,
997
992
  unknown
998
993
  > = z.union([z.lazy(() => GetAllToolsHeaders2$inboundSchema), z.string()]);
999
994
 
1000
- export function getAllToolsDataToolsHeadersFromJSON(
995
+ export function getAllToolsDataHeadersFromJSON(
1001
996
  jsonString: string,
1002
- ): SafeParseResult<GetAllToolsDataToolsHeaders, SDKValidationError> {
997
+ ): SafeParseResult<GetAllToolsDataHeaders, SDKValidationError> {
1003
998
  return safeParse(
1004
999
  jsonString,
1005
- (x) => GetAllToolsDataToolsHeaders$inboundSchema.parse(JSON.parse(x)),
1006
- `Failed to parse 'GetAllToolsDataToolsHeaders' from JSON`,
1000
+ (x) => GetAllToolsDataHeaders$inboundSchema.parse(JSON.parse(x)),
1001
+ `Failed to parse 'GetAllToolsDataHeaders' from JSON`,
1007
1002
  );
1008
1003
  }
1009
1004
 
@@ -1110,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1110
1105
  z.ZodTypeDef,
1111
1106
  unknown
1112
1107
  > = z.object({
1113
- _id: z.string().default("tool_01KK8GKAXR4PAFZDNSY7BY9PS1"),
1108
+ _id: z.string().default("tool_01KK9GG3ZQCQFHSJZHAZXCRWDE"),
1114
1109
  path: z.string(),
1115
1110
  key: z.string(),
1116
1111
  display_name: z.string().optional(),
@@ -1121,7 +1116,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1121
1116
  workspace_id: z.string(),
1122
1117
  created: z.string(),
1123
1118
  updated: z.string(),
1124
- status: GetAllToolsDataToolsResponseStatus$inboundSchema.default("live"),
1119
+ status: GetAllToolsDataToolsStatus$inboundSchema.default("live"),
1125
1120
  version_hash: z.string().optional(),
1126
1121
  type: z.literal("http"),
1127
1122
  http: z.lazy(() => GetAllToolsDataHttp$inboundSchema),
@@ -1148,9 +1143,9 @@ export function dataHTTPToolFromJSON(
1148
1143
  }
1149
1144
 
1150
1145
  /** @internal */
1151
- export const GetAllToolsDataToolsStatus$inboundSchema: z.ZodNativeEnum<
1152
- typeof GetAllToolsDataToolsStatus
1153
- > = z.nativeEnum(GetAllToolsDataToolsStatus);
1146
+ export const GetAllToolsDataStatus$inboundSchema: z.ZodNativeEnum<
1147
+ typeof GetAllToolsDataStatus
1148
+ > = z.nativeEnum(GetAllToolsDataStatus);
1154
1149
 
1155
1150
  /** @internal */
1156
1151
  export const DataSchema$inboundSchema: z.ZodType<
@@ -1205,7 +1200,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1205
1200
  z.ZodTypeDef,
1206
1201
  unknown
1207
1202
  > = z.object({
1208
- _id: z.string().default("tool_01KK8GKAXPF1V7DNJ0ZAD4A0N5"),
1203
+ _id: z.string().default("tool_01KK9GG3ZN2HXK6J0VW2M7S9FE"),
1209
1204
  path: z.string(),
1210
1205
  key: z.string(),
1211
1206
  display_name: z.string().optional(),
@@ -1216,7 +1211,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1216
1211
  workspace_id: z.string(),
1217
1212
  created: z.string(),
1218
1213
  updated: z.string(),
1219
- status: GetAllToolsDataToolsStatus$inboundSchema.default("live"),
1214
+ status: GetAllToolsDataStatus$inboundSchema.default("live"),
1220
1215
  version_hash: z.string().optional(),
1221
1216
  type: z.literal("json_schema"),
1222
1217
  json_schema: z.lazy(() => DataJsonSchema$inboundSchema),
@@ -1244,9 +1239,8 @@ export function dataJSONSchemaToolFromJSON(
1244
1239
  }
1245
1240
 
1246
1241
  /** @internal */
1247
- export const GetAllToolsDataStatus$inboundSchema: z.ZodNativeEnum<
1248
- typeof GetAllToolsDataStatus
1249
- > = z.nativeEnum(GetAllToolsDataStatus);
1242
+ export const DataStatus$inboundSchema: z.ZodNativeEnum<typeof DataStatus> = z
1243
+ .nativeEnum(DataStatus);
1250
1244
 
1251
1245
  /** @internal */
1252
1246
  export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType$inboundSchema:
@@ -1257,8 +1251,8 @@ export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType$inbo
1257
1251
  );
1258
1252
 
1259
1253
  /** @internal */
1260
- export const GetAllToolsDataParameters$inboundSchema: z.ZodType<
1261
- GetAllToolsDataParameters,
1254
+ export const DataParameters$inboundSchema: z.ZodType<
1255
+ DataParameters,
1262
1256
  z.ZodTypeDef,
1263
1257
  unknown
1264
1258
  > = collectExtraKeys$(
@@ -1272,13 +1266,13 @@ export const GetAllToolsDataParameters$inboundSchema: z.ZodType<
1272
1266
  true,
1273
1267
  );
1274
1268
 
1275
- export function getAllToolsDataParametersFromJSON(
1269
+ export function dataParametersFromJSON(
1276
1270
  jsonString: string,
1277
- ): SafeParseResult<GetAllToolsDataParameters, SDKValidationError> {
1271
+ ): SafeParseResult<DataParameters, SDKValidationError> {
1278
1272
  return safeParse(
1279
1273
  jsonString,
1280
- (x) => GetAllToolsDataParameters$inboundSchema.parse(JSON.parse(x)),
1281
- `Failed to parse 'GetAllToolsDataParameters' from JSON`,
1274
+ (x) => DataParameters$inboundSchema.parse(JSON.parse(x)),
1275
+ `Failed to parse 'DataParameters' from JSON`,
1282
1276
  );
1283
1277
  }
1284
1278
 
@@ -1291,7 +1285,7 @@ export const GetAllToolsDataFunction$inboundSchema: z.ZodType<
1291
1285
  name: z.string(),
1292
1286
  description: z.string().optional(),
1293
1287
  strict: z.boolean().optional(),
1294
- parameters: z.lazy(() => GetAllToolsDataParameters$inboundSchema).optional(),
1288
+ parameters: z.lazy(() => DataParameters$inboundSchema).optional(),
1295
1289
  });
1296
1290
 
1297
1291
  export function getAllToolsDataFunctionFromJSON(
@@ -1310,7 +1304,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1310
1304
  z.ZodTypeDef,
1311
1305
  unknown
1312
1306
  > = z.object({
1313
- _id: z.string().default("tool_01KK8GKAXKMDW1X7ZVH9ZPRKN1"),
1307
+ _id: z.string().default("tool_01KK9GG3ZKWVG2DEZPDC6A1CQ4"),
1314
1308
  path: z.string(),
1315
1309
  key: z.string(),
1316
1310
  display_name: z.string().optional(),
@@ -1321,7 +1315,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1321
1315
  workspace_id: z.string(),
1322
1316
  created: z.string(),
1323
1317
  updated: z.string(),
1324
- status: GetAllToolsDataStatus$inboundSchema.default("live"),
1318
+ status: DataStatus$inboundSchema.default("live"),
1325
1319
  version_hash: z.string().optional(),
1326
1320
  type: z.literal("function"),
1327
1321
  function: z.lazy(() => GetAllToolsDataFunction$inboundSchema),
@@ -906,8 +906,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
906
906
  > = z.object({
907
907
  _id: z.string(),
908
908
  description: z.string(),
909
- created: z.string().default("2026-03-09T05:19:43.595Z"),
910
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
909
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
910
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
911
911
  guardrail_config: z.union([
912
912
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
913
913
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
@@ -1045,8 +1045,8 @@ export const DataRagas$inboundSchema: z.ZodType<
1045
1045
  > = z.object({
1046
1046
  _id: z.string(),
1047
1047
  description: z.string(),
1048
- created: z.string().default("2026-03-09T05:19:43.595Z"),
1049
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
1048
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
1049
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
1050
1050
  guardrail_config: z.union([
1051
1051
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
1052
1052
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
@@ -1837,8 +1837,8 @@ export const DataFunction$inboundSchema: z.ZodType<
1837
1837
  > = z.object({
1838
1838
  _id: z.string(),
1839
1839
  description: z.string(),
1840
- created: z.string().default("2026-03-09T05:19:43.595Z"),
1841
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
1840
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
1841
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
1842
1842
  guardrail_config: z.union([
1843
1843
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
1844
1844
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
@@ -1988,8 +1988,8 @@ export const DataPython$inboundSchema: z.ZodType<
1988
1988
  > = z.object({
1989
1989
  _id: z.string(),
1990
1990
  description: z.string(),
1991
- created: z.string().default("2026-03-09T05:19:43.595Z"),
1992
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
1991
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
1992
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
1993
1993
  guardrail_config: z.union([
1994
1994
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
1995
1995
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
@@ -2128,8 +2128,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
2128
2128
  > = z.object({
2129
2129
  _id: z.string(),
2130
2130
  description: z.string(),
2131
- created: z.string().default("2026-03-09T05:19:43.595Z"),
2132
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
2131
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
2132
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
2133
2133
  guardrail_config: z.union([
2134
2134
  z.lazy(() =>
2135
2135
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
@@ -2278,8 +2278,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2278
2278
  > = z.object({
2279
2279
  _id: z.string(),
2280
2280
  description: z.string(),
2281
- created: z.string().default("2026-03-09T05:19:43.595Z"),
2282
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
2281
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
2282
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
2283
2283
  guardrail_config: z.union([
2284
2284
  z.lazy(() =>
2285
2285
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
@@ -2584,8 +2584,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
2584
2584
  > = z.object({
2585
2585
  _id: z.string(),
2586
2586
  description: z.string(),
2587
- created: z.string().default("2026-03-09T05:19:43.595Z"),
2588
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
2587
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
2588
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
2589
2589
  guardrail_config: z.union([
2590
2590
  z.lazy(() =>
2591
2591
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyData1Boolean$inboundSchema
@@ -2728,8 +2728,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
2728
2728
  > = z.object({
2729
2729
  _id: z.string(),
2730
2730
  description: z.string(),
2731
- created: z.string().default("2026-03-09T05:19:43.595Z"),
2732
- updated: z.string().default("2026-03-09T05:19:43.595Z"),
2731
+ created: z.string().default("2026-03-09T14:37:12.869Z"),
2732
+ updated: z.string().default("2026-03-09T14:37:12.869Z"),
2733
2733
  guardrail_config: z.union([
2734
2734
  z.lazy(() =>
2735
2735
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema