@orq-ai/node 4.5.0-rc.40 → 4.5.0-rc.41
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.
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +161 -271
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +162 -256
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createknowledge.d.ts +7 -7
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +11 -11
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createtool.d.ts +39 -39
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +49 -52
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getalltools.d.ts +39 -39
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +47 -49
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.js +16 -16
- package/models/operations/listagents.d.ts +167 -276
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +172 -266
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listknowledgebases.d.ts +8 -8
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +15 -13
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +169 -279
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +173 -270
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +169 -279
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +174 -270
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +376 -619
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createknowledge.ts +17 -19
- package/src/models/operations/createtool.ts +91 -103
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/getalltools.ts +87 -93
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/listagents.ts +383 -611
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +64 -72
- package/src/models/operations/retrieveagentrequest.ts +489 -884
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateagent.ts +362 -668
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- 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
|
|
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
|
|
48
|
-
typeof
|
|
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
|
|
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?:
|
|
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:
|
|
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
|
|
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
|
|
162
|
-
typeof
|
|
161
|
+
export type GetAllToolsDataToolsResponseStatus = ClosedEnum<
|
|
162
|
+
typeof GetAllToolsDataToolsResponseStatus
|
|
163
163
|
>;
|
|
164
164
|
|
|
165
|
-
export type
|
|
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
|
|
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]:
|
|
211
|
+
headers?: { [k: string]: DataHeaders } | undefined;
|
|
212
212
|
/**
|
|
213
213
|
* Array of tools available from the MCP server
|
|
214
214
|
*/
|
|
215
|
-
tools: Array<
|
|
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:
|
|
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
|
|
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
|
|
283
|
-
typeof
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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?:
|
|
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:
|
|
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
|
|
704
|
-
z.ZodNativeEnum<typeof
|
|
705
|
-
|
|
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
|
|
717
|
-
|
|
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
|
|
730
|
+
export function getAllToolsDataParametersFromJSON(
|
|
732
731
|
jsonString: string,
|
|
733
|
-
): SafeParseResult<
|
|
732
|
+
): SafeParseResult<GetAllToolsDataParameters, SDKValidationError> {
|
|
734
733
|
return safeParse(
|
|
735
734
|
jsonString,
|
|
736
|
-
(x) =>
|
|
737
|
-
`Failed to parse '
|
|
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(() =>
|
|
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("
|
|
771
|
+
_id: z.string().default("tool_01KK9B05R59YH8SDSCH4H8JW0J"),
|
|
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:
|
|
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
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
);
|
|
810
|
+
export const GetAllToolsDataToolsResponseStatus$inboundSchema: z.ZodNativeEnum<
|
|
811
|
+
typeof GetAllToolsDataToolsResponseStatus
|
|
812
|
+
> = z.nativeEnum(GetAllToolsDataToolsResponseStatus);
|
|
817
813
|
|
|
818
814
|
/** @internal */
|
|
819
|
-
export const
|
|
820
|
-
|
|
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
|
|
824
|
+
export function dataHeadersFromJSON(
|
|
829
825
|
jsonString: string,
|
|
830
|
-
): SafeParseResult<
|
|
826
|
+
): SafeParseResult<DataHeaders, SDKValidationError> {
|
|
831
827
|
return safeParse(
|
|
832
828
|
jsonString,
|
|
833
|
-
(x) =>
|
|
834
|
-
`Failed to parse '
|
|
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
|
|
870
|
-
|
|
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("
|
|
870
|
+
id: z.string().default("01KK9B05R463X1067CBQH6BS6Q"),
|
|
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
|
|
876
|
+
export function dataToolsFromJSON(
|
|
881
877
|
jsonString: string,
|
|
882
|
-
): SafeParseResult<
|
|
878
|
+
): SafeParseResult<DataTools, SDKValidationError> {
|
|
883
879
|
return safeParse(
|
|
884
880
|
jsonString,
|
|
885
|
-
(x) =>
|
|
886
|
-
`Failed to parse '
|
|
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(() =>
|
|
900
|
-
|
|
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("
|
|
921
|
+
_id: z.string().default("tool_01KK9B05R3PMN8GF5CKQSBE4MD"),
|
|
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:
|
|
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
|
|
965
|
-
typeof
|
|
966
|
-
> = z.nativeEnum(
|
|
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
|
|
995
|
-
|
|
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
|
|
995
|
+
export function getAllToolsDataHeadersFromJSON(
|
|
1001
996
|
jsonString: string,
|
|
1002
|
-
): SafeParseResult<
|
|
997
|
+
): SafeParseResult<GetAllToolsDataHeaders, SDKValidationError> {
|
|
1003
998
|
return safeParse(
|
|
1004
999
|
jsonString,
|
|
1005
|
-
(x) =>
|
|
1006
|
-
`Failed to parse '
|
|
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("
|
|
1108
|
+
_id: z.string().default("tool_01KK9B05R1CXGA61MRKR8S6DV9"),
|
|
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:
|
|
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
|
|
1152
|
-
typeof
|
|
1153
|
-
> = z.nativeEnum(
|
|
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("
|
|
1203
|
+
_id: z.string().default("tool_01KK9B05QZ2RHD2EXD36AE9CW8"),
|
|
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:
|
|
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
|
|
1248
|
-
|
|
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
|
|
1261
|
-
|
|
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
|
|
1269
|
+
export function dataParametersFromJSON(
|
|
1276
1270
|
jsonString: string,
|
|
1277
|
-
): SafeParseResult<
|
|
1271
|
+
): SafeParseResult<DataParameters, SDKValidationError> {
|
|
1278
1272
|
return safeParse(
|
|
1279
1273
|
jsonString,
|
|
1280
|
-
(x) =>
|
|
1281
|
-
`Failed to parse '
|
|
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(() =>
|
|
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("
|
|
1307
|
+
_id: z.string().default("tool_01KK9B05QXNVBGW3VSZ5D86NF2"),
|
|
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:
|
|
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-
|
|
910
|
-
updated: z.string().default("2026-03-
|
|
909
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
910
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
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-
|
|
1049
|
-
updated: z.string().default("2026-03-
|
|
1048
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
1049
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
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-
|
|
1841
|
-
updated: z.string().default("2026-03-
|
|
1840
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
1841
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
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-
|
|
1992
|
-
updated: z.string().default("2026-03-
|
|
1991
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
1992
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
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-
|
|
2132
|
-
updated: z.string().default("2026-03-
|
|
2131
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2132
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
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-
|
|
2282
|
-
updated: z.string().default("2026-03-
|
|
2281
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2282
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
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-
|
|
2588
|
-
updated: z.string().default("2026-03-
|
|
2587
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2588
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
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-
|
|
2732
|
-
updated: z.string().default("2026-03-
|
|
2731
|
+
created: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2732
|
+
updated: z.string().default("2026-03-09T13:01:07.714Z"),
|
|
2733
2733
|
guardrail_config: z.union([
|
|
2734
2734
|
z.lazy(() =>
|
|
2735
2735
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema
|