@orq-ai/node 3.12.19 → 3.12.20
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/bin/mcp-server.js +112 -112
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +39 -44
- package/packages/orq-rc/src/models/components/index.ts +0 -13
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +56 -60
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +18 -17
- package/packages/orq-rc/src/models/operations/createprompt.ts +34 -30
- package/packages/orq-rc/src/models/operations/createtool.ts +42 -68
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +27 -36
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +203 -141
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listagents.ts +202 -141
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +22 -29
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +2292 -1130
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2590 -1252
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +17 -21
- package/packages/orq-rc/src/models/operations/updatetool.ts +43 -69
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/components/callsubagenttool.ts +0 -109
- package/packages/orq-rc/src/models/components/codeexecutiontool.ts +0 -293
- package/packages/orq-rc/src/models/components/currentdatetool.ts +0 -107
- package/packages/orq-rc/src/models/components/functiontool.ts +0 -195
- package/packages/orq-rc/src/models/components/googlesearchtool.ts +0 -108
- package/packages/orq-rc/src/models/components/httptool.ts +0 -532
- package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +0 -111
- package/packages/orq-rc/src/models/components/querymemorystoretool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrieveagentstool.ts +0 -109
- package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +0 -111
- package/packages/orq-rc/src/models/components/webscrapertool.ts +0 -105
- package/packages/orq-rc/src/models/components/writememorystoretool.ts +0 -111
|
@@ -37,7 +37,7 @@ export const RequestBodyLanguage = {
|
|
|
37
37
|
} as const;
|
|
38
38
|
export type RequestBodyLanguage = ClosedEnum<typeof RequestBodyLanguage>;
|
|
39
39
|
|
|
40
|
-
export type
|
|
40
|
+
export type RequestBodyCodeTool = {
|
|
41
41
|
/**
|
|
42
42
|
* 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.
|
|
43
43
|
*/
|
|
@@ -70,9 +70,8 @@ export type RequestBody5 = {
|
|
|
70
70
|
* 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.
|
|
71
71
|
*/
|
|
72
72
|
status?: CreateToolRequestBodyToolsRequest5Status | undefined;
|
|
73
|
-
versionHash?: string | undefined;
|
|
74
73
|
type: CreateToolRequestBodyToolsRequest5Type;
|
|
75
|
-
codeTool:
|
|
74
|
+
codeTool: RequestBodyCodeTool;
|
|
76
75
|
};
|
|
77
76
|
|
|
78
77
|
/**
|
|
@@ -179,7 +178,6 @@ export type RequestBody4 = {
|
|
|
179
178
|
* 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.
|
|
180
179
|
*/
|
|
181
180
|
status?: CreateToolRequestBodyToolsRequestStatus | undefined;
|
|
182
|
-
versionHash?: string | undefined;
|
|
183
181
|
type: CreateToolRequestBodyToolsRequest4Type;
|
|
184
182
|
mcp: Mcp;
|
|
185
183
|
};
|
|
@@ -317,7 +315,6 @@ export type RequestBody3 = {
|
|
|
317
315
|
* 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.
|
|
318
316
|
*/
|
|
319
317
|
status?: CreateToolRequestBodyToolsStatus | undefined;
|
|
320
|
-
versionHash?: string | undefined;
|
|
321
318
|
type: CreateToolRequestBodyToolsRequestType;
|
|
322
319
|
http: CreateToolRequestBodyHttp;
|
|
323
320
|
};
|
|
@@ -386,7 +383,6 @@ export type RequestBody2 = {
|
|
|
386
383
|
* 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.
|
|
387
384
|
*/
|
|
388
385
|
status?: CreateToolRequestBodyStatus | undefined;
|
|
389
|
-
versionHash?: string | undefined;
|
|
390
386
|
type: CreateToolRequestBodyToolsType;
|
|
391
387
|
jsonSchema: RequestBodyJsonSchema;
|
|
392
388
|
};
|
|
@@ -452,7 +448,6 @@ export type RequestBody1 = {
|
|
|
452
448
|
* 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.
|
|
453
449
|
*/
|
|
454
450
|
status?: RequestBodyStatus | undefined;
|
|
455
|
-
versionHash?: string | undefined;
|
|
456
451
|
type: CreateToolRequestBodyType;
|
|
457
452
|
function: RequestBodyFunction;
|
|
458
453
|
};
|
|
@@ -1056,8 +1051,8 @@ export namespace RequestBodyLanguage$ {
|
|
|
1056
1051
|
}
|
|
1057
1052
|
|
|
1058
1053
|
/** @internal */
|
|
1059
|
-
export const
|
|
1060
|
-
|
|
1054
|
+
export const RequestBodyCodeTool$inboundSchema: z.ZodType<
|
|
1055
|
+
RequestBodyCodeTool,
|
|
1061
1056
|
z.ZodTypeDef,
|
|
1062
1057
|
unknown
|
|
1063
1058
|
> = z.object({
|
|
@@ -1067,17 +1062,17 @@ export const CodeTool$inboundSchema: z.ZodType<
|
|
|
1067
1062
|
});
|
|
1068
1063
|
|
|
1069
1064
|
/** @internal */
|
|
1070
|
-
export type
|
|
1065
|
+
export type RequestBodyCodeTool$Outbound = {
|
|
1071
1066
|
parameters?: { [k: string]: any } | undefined;
|
|
1072
1067
|
language: string;
|
|
1073
1068
|
code: string;
|
|
1074
1069
|
};
|
|
1075
1070
|
|
|
1076
1071
|
/** @internal */
|
|
1077
|
-
export const
|
|
1078
|
-
|
|
1072
|
+
export const RequestBodyCodeTool$outboundSchema: z.ZodType<
|
|
1073
|
+
RequestBodyCodeTool$Outbound,
|
|
1079
1074
|
z.ZodTypeDef,
|
|
1080
|
-
|
|
1075
|
+
RequestBodyCodeTool
|
|
1081
1076
|
> = z.object({
|
|
1082
1077
|
parameters: z.record(z.any()).optional(),
|
|
1083
1078
|
language: RequestBodyLanguage$outboundSchema,
|
|
@@ -1088,26 +1083,30 @@ export const CodeTool$outboundSchema: z.ZodType<
|
|
|
1088
1083
|
* @internal
|
|
1089
1084
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1090
1085
|
*/
|
|
1091
|
-
export namespace
|
|
1092
|
-
/** @deprecated use `
|
|
1093
|
-
export const inboundSchema =
|
|
1094
|
-
/** @deprecated use `
|
|
1095
|
-
export const outboundSchema =
|
|
1096
|
-
/** @deprecated use `
|
|
1097
|
-
export type Outbound =
|
|
1086
|
+
export namespace RequestBodyCodeTool$ {
|
|
1087
|
+
/** @deprecated use `RequestBodyCodeTool$inboundSchema` instead. */
|
|
1088
|
+
export const inboundSchema = RequestBodyCodeTool$inboundSchema;
|
|
1089
|
+
/** @deprecated use `RequestBodyCodeTool$outboundSchema` instead. */
|
|
1090
|
+
export const outboundSchema = RequestBodyCodeTool$outboundSchema;
|
|
1091
|
+
/** @deprecated use `RequestBodyCodeTool$Outbound` instead. */
|
|
1092
|
+
export type Outbound = RequestBodyCodeTool$Outbound;
|
|
1098
1093
|
}
|
|
1099
1094
|
|
|
1100
|
-
export function
|
|
1101
|
-
|
|
1095
|
+
export function requestBodyCodeToolToJSON(
|
|
1096
|
+
requestBodyCodeTool: RequestBodyCodeTool,
|
|
1097
|
+
): string {
|
|
1098
|
+
return JSON.stringify(
|
|
1099
|
+
RequestBodyCodeTool$outboundSchema.parse(requestBodyCodeTool),
|
|
1100
|
+
);
|
|
1102
1101
|
}
|
|
1103
1102
|
|
|
1104
|
-
export function
|
|
1103
|
+
export function requestBodyCodeToolFromJSON(
|
|
1105
1104
|
jsonString: string,
|
|
1106
|
-
): SafeParseResult<
|
|
1105
|
+
): SafeParseResult<RequestBodyCodeTool, SDKValidationError> {
|
|
1107
1106
|
return safeParse(
|
|
1108
1107
|
jsonString,
|
|
1109
|
-
(x) =>
|
|
1110
|
-
`Failed to parse '
|
|
1108
|
+
(x) => RequestBodyCodeTool$inboundSchema.parse(JSON.parse(x)),
|
|
1109
|
+
`Failed to parse 'RequestBodyCodeTool' from JSON`,
|
|
1111
1110
|
);
|
|
1112
1111
|
}
|
|
1113
1112
|
|
|
@@ -1124,13 +1123,11 @@ export const RequestBody5$inboundSchema: z.ZodType<
|
|
|
1124
1123
|
status: CreateToolRequestBodyToolsRequest5Status$inboundSchema.default(
|
|
1125
1124
|
"live",
|
|
1126
1125
|
),
|
|
1127
|
-
version_hash: z.string().optional(),
|
|
1128
1126
|
type: CreateToolRequestBodyToolsRequest5Type$inboundSchema,
|
|
1129
|
-
code_tool: z.lazy(() =>
|
|
1127
|
+
code_tool: z.lazy(() => RequestBodyCodeTool$inboundSchema),
|
|
1130
1128
|
}).transform((v) => {
|
|
1131
1129
|
return remap$(v, {
|
|
1132
1130
|
"display_name": "displayName",
|
|
1133
|
-
"version_hash": "versionHash",
|
|
1134
1131
|
"code_tool": "codeTool",
|
|
1135
1132
|
});
|
|
1136
1133
|
});
|
|
@@ -1142,9 +1139,8 @@ export type RequestBody5$Outbound = {
|
|
|
1142
1139
|
display_name: string;
|
|
1143
1140
|
description: string;
|
|
1144
1141
|
status: string;
|
|
1145
|
-
version_hash?: string | undefined;
|
|
1146
1142
|
type: string;
|
|
1147
|
-
code_tool:
|
|
1143
|
+
code_tool: RequestBodyCodeTool$Outbound;
|
|
1148
1144
|
};
|
|
1149
1145
|
|
|
1150
1146
|
/** @internal */
|
|
@@ -1160,13 +1156,11 @@ export const RequestBody5$outboundSchema: z.ZodType<
|
|
|
1160
1156
|
status: CreateToolRequestBodyToolsRequest5Status$outboundSchema.default(
|
|
1161
1157
|
"live",
|
|
1162
1158
|
),
|
|
1163
|
-
versionHash: z.string().optional(),
|
|
1164
1159
|
type: CreateToolRequestBodyToolsRequest5Type$outboundSchema,
|
|
1165
|
-
codeTool: z.lazy(() =>
|
|
1160
|
+
codeTool: z.lazy(() => RequestBodyCodeTool$outboundSchema),
|
|
1166
1161
|
}).transform((v) => {
|
|
1167
1162
|
return remap$(v, {
|
|
1168
1163
|
displayName: "display_name",
|
|
1169
|
-
versionHash: "version_hash",
|
|
1170
1164
|
codeTool: "code_tool",
|
|
1171
1165
|
});
|
|
1172
1166
|
});
|
|
@@ -1481,13 +1475,11 @@ export const RequestBody4$inboundSchema: z.ZodType<
|
|
|
1481
1475
|
display_name: z.string(),
|
|
1482
1476
|
description: z.string(),
|
|
1483
1477
|
status: CreateToolRequestBodyToolsRequestStatus$inboundSchema.default("live"),
|
|
1484
|
-
version_hash: z.string().optional(),
|
|
1485
1478
|
type: CreateToolRequestBodyToolsRequest4Type$inboundSchema,
|
|
1486
1479
|
mcp: z.lazy(() => Mcp$inboundSchema),
|
|
1487
1480
|
}).transform((v) => {
|
|
1488
1481
|
return remap$(v, {
|
|
1489
1482
|
"display_name": "displayName",
|
|
1490
|
-
"version_hash": "versionHash",
|
|
1491
1483
|
});
|
|
1492
1484
|
});
|
|
1493
1485
|
|
|
@@ -1498,7 +1490,6 @@ export type RequestBody4$Outbound = {
|
|
|
1498
1490
|
display_name: string;
|
|
1499
1491
|
description: string;
|
|
1500
1492
|
status: string;
|
|
1501
|
-
version_hash?: string | undefined;
|
|
1502
1493
|
type: string;
|
|
1503
1494
|
mcp: Mcp$Outbound;
|
|
1504
1495
|
};
|
|
@@ -1516,13 +1507,11 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
1516
1507
|
status: CreateToolRequestBodyToolsRequestStatus$outboundSchema.default(
|
|
1517
1508
|
"live",
|
|
1518
1509
|
),
|
|
1519
|
-
versionHash: z.string().optional(),
|
|
1520
1510
|
type: CreateToolRequestBodyToolsRequest4Type$outboundSchema,
|
|
1521
1511
|
mcp: z.lazy(() => Mcp$outboundSchema),
|
|
1522
1512
|
}).transform((v) => {
|
|
1523
1513
|
return remap$(v, {
|
|
1524
1514
|
displayName: "display_name",
|
|
1525
|
-
versionHash: "version_hash",
|
|
1526
1515
|
});
|
|
1527
1516
|
});
|
|
1528
1517
|
|
|
@@ -1892,20 +1881,18 @@ export const RequestBody3$inboundSchema: z.ZodType<
|
|
|
1892
1881
|
z.ZodTypeDef,
|
|
1893
1882
|
unknown
|
|
1894
1883
|
> = z.object({
|
|
1895
|
-
_id: z.string().default("
|
|
1884
|
+
_id: z.string().default("01K6A6CKKQ108RRRE0SK8YH4KW"),
|
|
1896
1885
|
path: z.string(),
|
|
1897
1886
|
key: z.string(),
|
|
1898
1887
|
display_name: z.string(),
|
|
1899
1888
|
description: z.string(),
|
|
1900
1889
|
status: CreateToolRequestBodyToolsStatus$inboundSchema.default("live"),
|
|
1901
|
-
version_hash: z.string().optional(),
|
|
1902
1890
|
type: CreateToolRequestBodyToolsRequestType$inboundSchema,
|
|
1903
1891
|
http: z.lazy(() => CreateToolRequestBodyHttp$inboundSchema),
|
|
1904
1892
|
}).transform((v) => {
|
|
1905
1893
|
return remap$(v, {
|
|
1906
1894
|
"_id": "id",
|
|
1907
1895
|
"display_name": "displayName",
|
|
1908
|
-
"version_hash": "versionHash",
|
|
1909
1896
|
});
|
|
1910
1897
|
});
|
|
1911
1898
|
|
|
@@ -1917,7 +1904,6 @@ export type RequestBody3$Outbound = {
|
|
|
1917
1904
|
display_name: string;
|
|
1918
1905
|
description: string;
|
|
1919
1906
|
status: string;
|
|
1920
|
-
version_hash?: string | undefined;
|
|
1921
1907
|
type: string;
|
|
1922
1908
|
http: CreateToolRequestBodyHttp$Outbound;
|
|
1923
1909
|
};
|
|
@@ -1928,20 +1914,18 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
1928
1914
|
z.ZodTypeDef,
|
|
1929
1915
|
RequestBody3
|
|
1930
1916
|
> = z.object({
|
|
1931
|
-
id: z.string().default("
|
|
1917
|
+
id: z.string().default("01K6A6CKKQ108RRRE0SK8YH4KW"),
|
|
1932
1918
|
path: z.string(),
|
|
1933
1919
|
key: z.string(),
|
|
1934
1920
|
displayName: z.string(),
|
|
1935
1921
|
description: z.string(),
|
|
1936
1922
|
status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
|
|
1937
|
-
versionHash: z.string().optional(),
|
|
1938
1923
|
type: CreateToolRequestBodyToolsRequestType$outboundSchema,
|
|
1939
1924
|
http: z.lazy(() => CreateToolRequestBodyHttp$outboundSchema),
|
|
1940
1925
|
}).transform((v) => {
|
|
1941
1926
|
return remap$(v, {
|
|
1942
1927
|
id: "_id",
|
|
1943
1928
|
displayName: "display_name",
|
|
1944
|
-
versionHash: "version_hash",
|
|
1945
1929
|
});
|
|
1946
1930
|
});
|
|
1947
1931
|
|
|
@@ -2083,20 +2067,18 @@ export const RequestBody2$inboundSchema: z.ZodType<
|
|
|
2083
2067
|
z.ZodTypeDef,
|
|
2084
2068
|
unknown
|
|
2085
2069
|
> = z.object({
|
|
2086
|
-
_id: z.string().default("
|
|
2070
|
+
_id: z.string().default("01K6A6CKKQW0J8YCJZC3BV2J1F"),
|
|
2087
2071
|
path: z.string(),
|
|
2088
2072
|
key: z.string(),
|
|
2089
2073
|
display_name: z.string(),
|
|
2090
2074
|
description: z.string(),
|
|
2091
2075
|
status: CreateToolRequestBodyStatus$inboundSchema.default("live"),
|
|
2092
|
-
version_hash: z.string().optional(),
|
|
2093
2076
|
type: CreateToolRequestBodyToolsType$inboundSchema,
|
|
2094
2077
|
json_schema: z.lazy(() => RequestBodyJsonSchema$inboundSchema),
|
|
2095
2078
|
}).transform((v) => {
|
|
2096
2079
|
return remap$(v, {
|
|
2097
2080
|
"_id": "id",
|
|
2098
2081
|
"display_name": "displayName",
|
|
2099
|
-
"version_hash": "versionHash",
|
|
2100
2082
|
"json_schema": "jsonSchema",
|
|
2101
2083
|
});
|
|
2102
2084
|
});
|
|
@@ -2109,7 +2091,6 @@ export type RequestBody2$Outbound = {
|
|
|
2109
2091
|
display_name: string;
|
|
2110
2092
|
description: string;
|
|
2111
2093
|
status: string;
|
|
2112
|
-
version_hash?: string | undefined;
|
|
2113
2094
|
type: string;
|
|
2114
2095
|
json_schema: RequestBodyJsonSchema$Outbound;
|
|
2115
2096
|
};
|
|
@@ -2120,20 +2101,18 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
2120
2101
|
z.ZodTypeDef,
|
|
2121
2102
|
RequestBody2
|
|
2122
2103
|
> = z.object({
|
|
2123
|
-
id: z.string().default("
|
|
2104
|
+
id: z.string().default("01K6A6CKKQW0J8YCJZC3BV2J1F"),
|
|
2124
2105
|
path: z.string(),
|
|
2125
2106
|
key: z.string(),
|
|
2126
2107
|
displayName: z.string(),
|
|
2127
2108
|
description: z.string(),
|
|
2128
2109
|
status: CreateToolRequestBodyStatus$outboundSchema.default("live"),
|
|
2129
|
-
versionHash: z.string().optional(),
|
|
2130
2110
|
type: CreateToolRequestBodyToolsType$outboundSchema,
|
|
2131
2111
|
jsonSchema: z.lazy(() => RequestBodyJsonSchema$outboundSchema),
|
|
2132
2112
|
}).transform((v) => {
|
|
2133
2113
|
return remap$(v, {
|
|
2134
2114
|
id: "_id",
|
|
2135
2115
|
displayName: "display_name",
|
|
2136
|
-
versionHash: "version_hash",
|
|
2137
2116
|
jsonSchema: "json_schema",
|
|
2138
2117
|
});
|
|
2139
2118
|
});
|
|
@@ -2281,13 +2260,11 @@ export const RequestBody1$inboundSchema: z.ZodType<
|
|
|
2281
2260
|
display_name: z.string(),
|
|
2282
2261
|
description: z.string(),
|
|
2283
2262
|
status: RequestBodyStatus$inboundSchema.default("live"),
|
|
2284
|
-
version_hash: z.string().optional(),
|
|
2285
2263
|
type: CreateToolRequestBodyType$inboundSchema,
|
|
2286
2264
|
function: z.lazy(() => RequestBodyFunction$inboundSchema),
|
|
2287
2265
|
}).transform((v) => {
|
|
2288
2266
|
return remap$(v, {
|
|
2289
2267
|
"display_name": "displayName",
|
|
2290
|
-
"version_hash": "versionHash",
|
|
2291
2268
|
});
|
|
2292
2269
|
});
|
|
2293
2270
|
|
|
@@ -2298,7 +2275,6 @@ export type RequestBody1$Outbound = {
|
|
|
2298
2275
|
display_name: string;
|
|
2299
2276
|
description: string;
|
|
2300
2277
|
status: string;
|
|
2301
|
-
version_hash?: string | undefined;
|
|
2302
2278
|
type: string;
|
|
2303
2279
|
function: RequestBodyFunction$Outbound;
|
|
2304
2280
|
};
|
|
@@ -2314,13 +2290,11 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
2314
2290
|
displayName: z.string(),
|
|
2315
2291
|
description: z.string(),
|
|
2316
2292
|
status: RequestBodyStatus$outboundSchema.default("live"),
|
|
2317
|
-
versionHash: z.string().optional(),
|
|
2318
2293
|
type: CreateToolRequestBodyType$outboundSchema,
|
|
2319
2294
|
function: z.lazy(() => RequestBodyFunction$outboundSchema),
|
|
2320
2295
|
}).transform((v) => {
|
|
2321
2296
|
return remap$(v, {
|
|
2322
2297
|
displayName: "display_name",
|
|
2323
|
-
versionHash: "version_hash",
|
|
2324
2298
|
});
|
|
2325
2299
|
});
|
|
2326
2300
|
|
|
@@ -2551,7 +2525,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2551
2525
|
z.ZodTypeDef,
|
|
2552
2526
|
unknown
|
|
2553
2527
|
> = z.object({
|
|
2554
|
-
_id: z.string().default("
|
|
2528
|
+
_id: z.string().default("01K6A6CKKPBEJWX54X6GAF4JST"),
|
|
2555
2529
|
path: z.string(),
|
|
2556
2530
|
key: z.string(),
|
|
2557
2531
|
display_name: z.string(),
|
|
@@ -2606,7 +2580,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2606
2580
|
z.ZodTypeDef,
|
|
2607
2581
|
ResponseBody5
|
|
2608
2582
|
> = z.object({
|
|
2609
|
-
id: z.string().default("
|
|
2583
|
+
id: z.string().default("01K6A6CKKPBEJWX54X6GAF4JST"),
|
|
2610
2584
|
path: z.string(),
|
|
2611
2585
|
key: z.string(),
|
|
2612
2586
|
displayName: z.string(),
|
|
@@ -2965,7 +2939,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2965
2939
|
z.ZodTypeDef,
|
|
2966
2940
|
unknown
|
|
2967
2941
|
> = z.object({
|
|
2968
|
-
_id: z.string().default("
|
|
2942
|
+
_id: z.string().default("01K6A6CKKN29PY9ATPYJXMZ65M"),
|
|
2969
2943
|
path: z.string(),
|
|
2970
2944
|
key: z.string(),
|
|
2971
2945
|
display_name: z.string(),
|
|
@@ -3019,7 +2993,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
3019
2993
|
z.ZodTypeDef,
|
|
3020
2994
|
ResponseBody4
|
|
3021
2995
|
> = z.object({
|
|
3022
|
-
id: z.string().default("
|
|
2996
|
+
id: z.string().default("01K6A6CKKN29PY9ATPYJXMZ65M"),
|
|
3023
2997
|
path: z.string(),
|
|
3024
2998
|
key: z.string(),
|
|
3025
2999
|
displayName: z.string(),
|
|
@@ -3417,7 +3391,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3417
3391
|
z.ZodTypeDef,
|
|
3418
3392
|
unknown
|
|
3419
3393
|
> = z.object({
|
|
3420
|
-
_id: z.string().default("
|
|
3394
|
+
_id: z.string().default("01K6A6CKKMY6RKAD1BQERS4D24"),
|
|
3421
3395
|
path: z.string(),
|
|
3422
3396
|
key: z.string(),
|
|
3423
3397
|
display_name: z.string(),
|
|
@@ -3469,7 +3443,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3469
3443
|
z.ZodTypeDef,
|
|
3470
3444
|
ResponseBody3
|
|
3471
3445
|
> = z.object({
|
|
3472
|
-
id: z.string().default("
|
|
3446
|
+
id: z.string().default("01K6A6CKKMY6RKAD1BQERS4D24"),
|
|
3473
3447
|
path: z.string(),
|
|
3474
3448
|
key: z.string(),
|
|
3475
3449
|
displayName: z.string(),
|
|
@@ -3634,7 +3608,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3634
3608
|
z.ZodTypeDef,
|
|
3635
3609
|
unknown
|
|
3636
3610
|
> = z.object({
|
|
3637
|
-
_id: z.string().default("
|
|
3611
|
+
_id: z.string().default("01K6A6CKKM583AWA2QT21JGW1T"),
|
|
3638
3612
|
path: z.string(),
|
|
3639
3613
|
key: z.string(),
|
|
3640
3614
|
display_name: z.string(),
|
|
@@ -3687,7 +3661,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3687
3661
|
z.ZodTypeDef,
|
|
3688
3662
|
ResponseBody2
|
|
3689
3663
|
> = z.object({
|
|
3690
|
-
id: z.string().default("
|
|
3664
|
+
id: z.string().default("01K6A6CKKM583AWA2QT21JGW1T"),
|
|
3691
3665
|
path: z.string(),
|
|
3692
3666
|
key: z.string(),
|
|
3693
3667
|
displayName: z.string(),
|
|
@@ -3855,7 +3829,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3855
3829
|
z.ZodTypeDef,
|
|
3856
3830
|
unknown
|
|
3857
3831
|
> = z.object({
|
|
3858
|
-
_id: z.string().default("
|
|
3832
|
+
_id: z.string().default("01K6A6CKKKNQ2BZHTBCJR112FN"),
|
|
3859
3833
|
path: z.string(),
|
|
3860
3834
|
key: z.string(),
|
|
3861
3835
|
display_name: z.string(),
|
|
@@ -3907,7 +3881,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3907
3881
|
z.ZodTypeDef,
|
|
3908
3882
|
ResponseBody1
|
|
3909
3883
|
> = z.object({
|
|
3910
|
-
id: z.string().default("
|
|
3884
|
+
id: z.string().default("01K6A6CKKKNQ2BZHTBCJR112FN"),
|
|
3911
3885
|
path: z.string(),
|
|
3912
3886
|
key: z.string(),
|
|
3913
3887
|
displayName: z.string(),
|
|
@@ -1789,7 +1789,7 @@ export type DeploymentGetConfigFunction = {
|
|
|
1789
1789
|
parameters?: { [k: string]: any } | undefined;
|
|
1790
1790
|
};
|
|
1791
1791
|
|
|
1792
|
-
export type
|
|
1792
|
+
export type Tools = {
|
|
1793
1793
|
/**
|
|
1794
1794
|
* The type of the tool. Currently, only `function` is supported.
|
|
1795
1795
|
*/
|
|
@@ -1829,7 +1829,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1829
1829
|
/**
|
|
1830
1830
|
* A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.
|
|
1831
1831
|
*/
|
|
1832
|
-
tools?: Array<
|
|
1832
|
+
tools?: Array<Tools> | undefined;
|
|
1833
1833
|
};
|
|
1834
1834
|
|
|
1835
1835
|
/** @internal */
|
|
@@ -10394,26 +10394,23 @@ export function deploymentGetConfigFunctionFromJSON(
|
|
|
10394
10394
|
}
|
|
10395
10395
|
|
|
10396
10396
|
/** @internal */
|
|
10397
|
-
export const
|
|
10398
|
-
|
|
10399
|
-
|
|
10400
|
-
|
|
10401
|
-
|
|
10402
|
-
type: DeploymentGetConfigDeploymentsType$inboundSchema,
|
|
10403
|
-
function: z.lazy(() => DeploymentGetConfigFunction$inboundSchema),
|
|
10404
|
-
});
|
|
10397
|
+
export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
10398
|
+
.object({
|
|
10399
|
+
type: DeploymentGetConfigDeploymentsType$inboundSchema,
|
|
10400
|
+
function: z.lazy(() => DeploymentGetConfigFunction$inboundSchema),
|
|
10401
|
+
});
|
|
10405
10402
|
|
|
10406
10403
|
/** @internal */
|
|
10407
|
-
export type
|
|
10404
|
+
export type Tools$Outbound = {
|
|
10408
10405
|
type: string;
|
|
10409
10406
|
function: DeploymentGetConfigFunction$Outbound;
|
|
10410
10407
|
};
|
|
10411
10408
|
|
|
10412
10409
|
/** @internal */
|
|
10413
|
-
export const
|
|
10414
|
-
|
|
10410
|
+
export const Tools$outboundSchema: z.ZodType<
|
|
10411
|
+
Tools$Outbound,
|
|
10415
10412
|
z.ZodTypeDef,
|
|
10416
|
-
|
|
10413
|
+
Tools
|
|
10417
10414
|
> = z.object({
|
|
10418
10415
|
type: DeploymentGetConfigDeploymentsType$outboundSchema,
|
|
10419
10416
|
function: z.lazy(() => DeploymentGetConfigFunction$outboundSchema),
|
|
@@ -10423,30 +10420,26 @@ export const DeploymentGetConfigTools$outboundSchema: z.ZodType<
|
|
|
10423
10420
|
* @internal
|
|
10424
10421
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10425
10422
|
*/
|
|
10426
|
-
export namespace
|
|
10427
|
-
/** @deprecated use `
|
|
10428
|
-
export const inboundSchema =
|
|
10429
|
-
/** @deprecated use `
|
|
10430
|
-
export const outboundSchema =
|
|
10431
|
-
/** @deprecated use `
|
|
10432
|
-
export type Outbound =
|
|
10423
|
+
export namespace Tools$ {
|
|
10424
|
+
/** @deprecated use `Tools$inboundSchema` instead. */
|
|
10425
|
+
export const inboundSchema = Tools$inboundSchema;
|
|
10426
|
+
/** @deprecated use `Tools$outboundSchema` instead. */
|
|
10427
|
+
export const outboundSchema = Tools$outboundSchema;
|
|
10428
|
+
/** @deprecated use `Tools$Outbound` instead. */
|
|
10429
|
+
export type Outbound = Tools$Outbound;
|
|
10433
10430
|
}
|
|
10434
10431
|
|
|
10435
|
-
export function
|
|
10436
|
-
|
|
10437
|
-
): string {
|
|
10438
|
-
return JSON.stringify(
|
|
10439
|
-
DeploymentGetConfigTools$outboundSchema.parse(deploymentGetConfigTools),
|
|
10440
|
-
);
|
|
10432
|
+
export function toolsToJSON(tools: Tools): string {
|
|
10433
|
+
return JSON.stringify(Tools$outboundSchema.parse(tools));
|
|
10441
10434
|
}
|
|
10442
10435
|
|
|
10443
|
-
export function
|
|
10436
|
+
export function toolsFromJSON(
|
|
10444
10437
|
jsonString: string,
|
|
10445
|
-
): SafeParseResult<
|
|
10438
|
+
): SafeParseResult<Tools, SDKValidationError> {
|
|
10446
10439
|
return safeParse(
|
|
10447
10440
|
jsonString,
|
|
10448
|
-
(x) =>
|
|
10449
|
-
`Failed to parse '
|
|
10441
|
+
(x) => Tools$inboundSchema.parse(JSON.parse(x)),
|
|
10442
|
+
`Failed to parse 'Tools' from JSON`,
|
|
10450
10443
|
);
|
|
10451
10444
|
}
|
|
10452
10445
|
|
|
@@ -10463,8 +10456,7 @@ export const DeploymentGetConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
10463
10456
|
version: z.string(),
|
|
10464
10457
|
messages: z.array(z.lazy(() => DeploymentGetConfigMessages$inboundSchema)),
|
|
10465
10458
|
parameters: z.lazy(() => ParametersT$inboundSchema),
|
|
10466
|
-
tools: z.array(z.lazy(() =>
|
|
10467
|
-
.optional(),
|
|
10459
|
+
tools: z.array(z.lazy(() => Tools$inboundSchema)).optional(),
|
|
10468
10460
|
});
|
|
10469
10461
|
|
|
10470
10462
|
/** @internal */
|
|
@@ -10476,7 +10468,7 @@ export type DeploymentGetConfigResponseBody$Outbound = {
|
|
|
10476
10468
|
version: string;
|
|
10477
10469
|
messages: Array<DeploymentGetConfigMessages$Outbound>;
|
|
10478
10470
|
parameters: ParametersT$Outbound;
|
|
10479
|
-
tools?: Array<
|
|
10471
|
+
tools?: Array<Tools$Outbound> | undefined;
|
|
10480
10472
|
};
|
|
10481
10473
|
|
|
10482
10474
|
/** @internal */
|
|
@@ -10492,8 +10484,7 @@ export const DeploymentGetConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
10492
10484
|
version: z.string(),
|
|
10493
10485
|
messages: z.array(z.lazy(() => DeploymentGetConfigMessages$outboundSchema)),
|
|
10494
10486
|
parameters: z.lazy(() => ParametersT$outboundSchema),
|
|
10495
|
-
tools: z.array(z.lazy(() =>
|
|
10496
|
-
.optional(),
|
|
10487
|
+
tools: z.array(z.lazy(() => Tools$outboundSchema)).optional(),
|
|
10497
10488
|
});
|
|
10498
10489
|
|
|
10499
10490
|
/**
|
|
@@ -750,7 +750,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
750
750
|
z.ZodTypeDef,
|
|
751
751
|
unknown
|
|
752
752
|
> = z.object({
|
|
753
|
-
_id: z.string().default("
|
|
753
|
+
_id: z.string().default("01K6A6CKKXAYT0VSWAE79CDTHG"),
|
|
754
754
|
path: z.string(),
|
|
755
755
|
key: z.string(),
|
|
756
756
|
display_name: z.string(),
|
|
@@ -806,7 +806,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
806
806
|
z.ZodTypeDef,
|
|
807
807
|
DuplicateToolResponseBody5
|
|
808
808
|
> = z.object({
|
|
809
|
-
id: z.string().default("
|
|
809
|
+
id: z.string().default("01K6A6CKKXAYT0VSWAE79CDTHG"),
|
|
810
810
|
path: z.string(),
|
|
811
811
|
key: z.string(),
|
|
812
812
|
displayName: z.string(),
|
|
@@ -1194,7 +1194,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1194
1194
|
z.ZodTypeDef,
|
|
1195
1195
|
unknown
|
|
1196
1196
|
> = z.object({
|
|
1197
|
-
_id: z.string().default("
|
|
1197
|
+
_id: z.string().default("01K6A6CKKWAMFJWFWYXJQ5JA2X"),
|
|
1198
1198
|
path: z.string(),
|
|
1199
1199
|
key: z.string(),
|
|
1200
1200
|
display_name: z.string(),
|
|
@@ -1248,7 +1248,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1248
1248
|
z.ZodTypeDef,
|
|
1249
1249
|
DuplicateToolResponseBody4
|
|
1250
1250
|
> = z.object({
|
|
1251
|
-
id: z.string().default("
|
|
1251
|
+
id: z.string().default("01K6A6CKKWAMFJWFWYXJQ5JA2X"),
|
|
1252
1252
|
path: z.string(),
|
|
1253
1253
|
key: z.string(),
|
|
1254
1254
|
displayName: z.string(),
|
|
@@ -1675,7 +1675,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1675
1675
|
z.ZodTypeDef,
|
|
1676
1676
|
unknown
|
|
1677
1677
|
> = z.object({
|
|
1678
|
-
_id: z.string().default("
|
|
1678
|
+
_id: z.string().default("01K6A6CKKWS9DX75AM05RGS1ZD"),
|
|
1679
1679
|
path: z.string(),
|
|
1680
1680
|
key: z.string(),
|
|
1681
1681
|
display_name: z.string(),
|
|
@@ -1729,7 +1729,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1729
1729
|
z.ZodTypeDef,
|
|
1730
1730
|
DuplicateToolResponseBody3
|
|
1731
1731
|
> = z.object({
|
|
1732
|
-
id: z.string().default("
|
|
1732
|
+
id: z.string().default("01K6A6CKKWS9DX75AM05RGS1ZD"),
|
|
1733
1733
|
path: z.string(),
|
|
1734
1734
|
key: z.string(),
|
|
1735
1735
|
displayName: z.string(),
|
|
@@ -1909,7 +1909,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1909
1909
|
z.ZodTypeDef,
|
|
1910
1910
|
unknown
|
|
1911
1911
|
> = z.object({
|
|
1912
|
-
_id: z.string().default("
|
|
1912
|
+
_id: z.string().default("01K6A6CKKWFJ5G7F7H2F3THE2A"),
|
|
1913
1913
|
path: z.string(),
|
|
1914
1914
|
key: z.string(),
|
|
1915
1915
|
display_name: z.string(),
|
|
@@ -1962,7 +1962,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
1962
1962
|
z.ZodTypeDef,
|
|
1963
1963
|
DuplicateToolResponseBody2
|
|
1964
1964
|
> = z.object({
|
|
1965
|
-
id: z.string().default("
|
|
1965
|
+
id: z.string().default("01K6A6CKKWFJ5G7F7H2F3THE2A"),
|
|
1966
1966
|
path: z.string(),
|
|
1967
1967
|
key: z.string(),
|
|
1968
1968
|
displayName: z.string(),
|
|
@@ -2135,7 +2135,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2135
2135
|
z.ZodTypeDef,
|
|
2136
2136
|
unknown
|
|
2137
2137
|
> = z.object({
|
|
2138
|
-
_id: z.string().default("
|
|
2138
|
+
_id: z.string().default("01K6A6CKKV0A5V1NHMHK5YNZVE"),
|
|
2139
2139
|
path: z.string(),
|
|
2140
2140
|
key: z.string(),
|
|
2141
2141
|
display_name: z.string(),
|
|
@@ -2187,7 +2187,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2187
2187
|
z.ZodTypeDef,
|
|
2188
2188
|
DuplicateToolResponseBody1
|
|
2189
2189
|
> = z.object({
|
|
2190
|
-
id: z.string().default("
|
|
2190
|
+
id: z.string().default("01K6A6CKKV0A5V1NHMHK5YNZVE"),
|
|
2191
2191
|
path: z.string(),
|
|
2192
2192
|
key: z.string(),
|
|
2193
2193
|
displayName: z.string(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-09-
|
|
149
|
+
"2025-09-29T07:35:50.555Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-09-
|
|
183
|
+
created: z.date().default(() => new Date("2025-09-29T07:35:50.555Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$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-09-
|
|
199
|
+
"2025-09-29T07:35:50.555Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-09-
|
|
233
|
+
created: z.date().default(() => new Date("2025-09-29T07:35:50.555Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|