@orq-ai/node 3.4.0-rc.31 → 3.4.0-rc.32
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 +79 -79
- package/bin/mcp-server.js.map +32 -32
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.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/createprompt.d.ts +4 -4
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +4 -4
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +2 -2
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -2
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +2 -2
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -2
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -2
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +2 -2
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -2
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateprompt.d.ts +4 -4
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +4 -4
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +6 -6
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.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/createprompt.ts +8 -8
- package/src/models/operations/createtool.ts +6 -6
- 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/getallprompts.ts +4 -4
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +4 -4
- package/src/models/operations/getpromptversion.ts +4 -4
- 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/listpromptversions.ts +4 -4
- 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/retrievetool.ts +6 -6
- 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/updateprompt.ts +8 -8
- package/src/models/operations/updatetool.ts +6 -6
|
@@ -889,7 +889,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
889
889
|
}
|
|
890
890
|
/** @internal */
|
|
891
891
|
exports.UpdateToolResponseBody3$inboundSchema = z.object({
|
|
892
|
-
_id: z.string().default("
|
|
892
|
+
_id: z.string().default("tool_01JRZX2KD7JYVBHCQ1JSKBKRMV"),
|
|
893
893
|
path: z.string(),
|
|
894
894
|
key: z.string(),
|
|
895
895
|
description: z.string(),
|
|
@@ -915,7 +915,7 @@ exports.UpdateToolResponseBody3$inboundSchema = z.object({
|
|
|
915
915
|
});
|
|
916
916
|
/** @internal */
|
|
917
917
|
exports.UpdateToolResponseBody3$outboundSchema = z.object({
|
|
918
|
-
id: z.string().default("
|
|
918
|
+
id: z.string().default("tool_01JRZX2KD7JYVBHCQ1JSKBKRMV"),
|
|
919
919
|
path: z.string(),
|
|
920
920
|
key: z.string(),
|
|
921
921
|
description: z.string(),
|
|
@@ -1019,7 +1019,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
/** @internal */
|
|
1021
1021
|
exports.UpdateToolResponseBody2$inboundSchema = z.object({
|
|
1022
|
-
_id: z.string().default("
|
|
1022
|
+
_id: z.string().default("tool_01JRZX2KD736GRDSBBMYX1P57G"),
|
|
1023
1023
|
path: z.string(),
|
|
1024
1024
|
key: z.string(),
|
|
1025
1025
|
description: z.string(),
|
|
@@ -1046,7 +1046,7 @@ exports.UpdateToolResponseBody2$inboundSchema = z.object({
|
|
|
1046
1046
|
});
|
|
1047
1047
|
/** @internal */
|
|
1048
1048
|
exports.UpdateToolResponseBody2$outboundSchema = z.object({
|
|
1049
|
-
id: z.string().default("
|
|
1049
|
+
id: z.string().default("tool_01JRZX2KD736GRDSBBMYX1P57G"),
|
|
1050
1050
|
path: z.string(),
|
|
1051
1051
|
key: z.string(),
|
|
1052
1052
|
description: z.string(),
|
|
@@ -1151,7 +1151,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
/** @internal */
|
|
1153
1153
|
exports.UpdateToolResponseBody1$inboundSchema = z.object({
|
|
1154
|
-
_id: z.string().default("
|
|
1154
|
+
_id: z.string().default("tool_01JRZX2KD6Q8NMJN7Z6KS47X4J"),
|
|
1155
1155
|
path: z.string(),
|
|
1156
1156
|
key: z.string(),
|
|
1157
1157
|
description: z.string(),
|
|
@@ -1177,7 +1177,7 @@ exports.UpdateToolResponseBody1$inboundSchema = z.object({
|
|
|
1177
1177
|
});
|
|
1178
1178
|
/** @internal */
|
|
1179
1179
|
exports.UpdateToolResponseBody1$outboundSchema = z.object({
|
|
1180
|
-
id: z.string().default("
|
|
1180
|
+
id: z.string().default("tool_01JRZX2KD6Q8NMJN7Z6KS47X4J"),
|
|
1181
1181
|
path: z.string(),
|
|
1182
1182
|
key: z.string(),
|
|
1183
1183
|
description: z.string(),
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
66
|
openapiDocVersion: "2.0",
|
|
67
|
-
sdkVersion: "3.4.0-rc.
|
|
67
|
+
sdkVersion: "3.4.0-rc.32",
|
|
68
68
|
genVersion: "2.578.0",
|
|
69
|
-
userAgent: "speakeasy-sdk/typescript 3.4.0-rc.
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 3.4.0-rc.32 2.578.0 2.0 @orq-ai/node",
|
|
70
70
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -1731,7 +1731,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
1731
1731
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1732
1732
|
.optional(),
|
|
1733
1733
|
updated: z.string().datetime({ offset: true }).default(
|
|
1734
|
-
"2025-04-
|
|
1734
|
+
"2025-04-16T18:16:37.357Z",
|
|
1735
1735
|
).transform(v => new Date(v)),
|
|
1736
1736
|
}).transform((v) => {
|
|
1737
1737
|
return remap$(v, {
|
|
@@ -1775,7 +1775,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
1775
1775
|
createdById: z.string().optional(),
|
|
1776
1776
|
updatedById: z.string().optional(),
|
|
1777
1777
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1778
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
1778
|
+
updated: z.date().default(() => new Date("2025-04-16T18:16:37.357Z"))
|
|
1779
1779
|
.transform(v => v.toISOString()),
|
|
1780
1780
|
}).transform((v) => {
|
|
1781
1781
|
return remap$(v, {
|
|
@@ -177,7 +177,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
177
177
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
178
178
|
.optional(),
|
|
179
179
|
updated: z.string().datetime({ offset: true }).default(
|
|
180
|
-
"2025-04-
|
|
180
|
+
"2025-04-16T18:16:37.357Z",
|
|
181
181
|
).transform(v => new Date(v)),
|
|
182
182
|
}).transform((v) => {
|
|
183
183
|
return remap$(v, {
|
|
@@ -214,7 +214,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
214
214
|
tags: z.array(z.string()).optional(),
|
|
215
215
|
metadata: z.record(z.any()).optional(),
|
|
216
216
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
217
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
217
|
+
updated: z.date().default(() => new Date("2025-04-16T18:16:37.357Z"))
|
|
218
218
|
.transform(v => v.toISOString()),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-04-
|
|
214
|
+
"2025-04-16T18:16:37.357Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-04-16T18:16:37.357Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -1649,7 +1649,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
1649
1649
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1650
1650
|
.optional(),
|
|
1651
1651
|
updated: z.string().datetime({ offset: true }).default(
|
|
1652
|
-
"2025-04-
|
|
1652
|
+
"2025-04-16T18:16:37.357Z",
|
|
1653
1653
|
).transform(v => new Date(v)),
|
|
1654
1654
|
}).transform((v) => {
|
|
1655
1655
|
return remap$(v, {
|
|
@@ -1693,7 +1693,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
1693
1693
|
createdById: z.string().optional(),
|
|
1694
1694
|
updatedById: z.string().optional(),
|
|
1695
1695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1696
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
1696
|
+
updated: z.date().default(() => new Date("2025-04-16T18:16:37.357Z"))
|
|
1697
1697
|
.transform(v => v.toISOString()),
|
|
1698
1698
|
}).transform((v) => {
|
|
1699
1699
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01JRZX2KEP57K22NTTBRE3047F"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01JRZX2KEP57K22NTTBRE3047F"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -401,7 +401,7 @@ export type CreatePromptMetadata = {
|
|
|
401
401
|
/**
|
|
402
402
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
403
403
|
*/
|
|
404
|
-
language?: Language | undefined;
|
|
404
|
+
language?: Language | null | undefined;
|
|
405
405
|
};
|
|
406
406
|
|
|
407
407
|
export type CreatePromptRequestBody = {
|
|
@@ -859,7 +859,7 @@ export type CreatePromptPromptsMetadata = {
|
|
|
859
859
|
/**
|
|
860
860
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
861
861
|
*/
|
|
862
|
-
language?: CreatePromptLanguage | undefined;
|
|
862
|
+
language?: CreatePromptLanguage | null | undefined;
|
|
863
863
|
};
|
|
864
864
|
|
|
865
865
|
/**
|
|
@@ -2115,7 +2115,7 @@ export const CreatePromptMetadata$inboundSchema: z.ZodType<
|
|
|
2115
2115
|
unknown
|
|
2116
2116
|
> = z.object({
|
|
2117
2117
|
use_cases: z.array(UseCases$inboundSchema).optional(),
|
|
2118
|
-
language: Language$inboundSchema.optional(),
|
|
2118
|
+
language: z.nullable(Language$inboundSchema).optional(),
|
|
2119
2119
|
}).transform((v) => {
|
|
2120
2120
|
return remap$(v, {
|
|
2121
2121
|
"use_cases": "useCases",
|
|
@@ -2125,7 +2125,7 @@ export const CreatePromptMetadata$inboundSchema: z.ZodType<
|
|
|
2125
2125
|
/** @internal */
|
|
2126
2126
|
export type CreatePromptMetadata$Outbound = {
|
|
2127
2127
|
use_cases?: Array<string> | undefined;
|
|
2128
|
-
language?: string | undefined;
|
|
2128
|
+
language?: string | null | undefined;
|
|
2129
2129
|
};
|
|
2130
2130
|
|
|
2131
2131
|
/** @internal */
|
|
@@ -2135,7 +2135,7 @@ export const CreatePromptMetadata$outboundSchema: z.ZodType<
|
|
|
2135
2135
|
CreatePromptMetadata
|
|
2136
2136
|
> = z.object({
|
|
2137
2137
|
useCases: z.array(UseCases$outboundSchema).optional(),
|
|
2138
|
-
language: Language$outboundSchema.optional(),
|
|
2138
|
+
language: z.nullable(Language$outboundSchema).optional(),
|
|
2139
2139
|
}).transform((v) => {
|
|
2140
2140
|
return remap$(v, {
|
|
2141
2141
|
useCases: "use_cases",
|
|
@@ -3577,7 +3577,7 @@ export const CreatePromptPromptsMetadata$inboundSchema: z.ZodType<
|
|
|
3577
3577
|
unknown
|
|
3578
3578
|
> = z.object({
|
|
3579
3579
|
use_cases: z.array(CreatePromptUseCases$inboundSchema).optional(),
|
|
3580
|
-
language: CreatePromptLanguage$inboundSchema.optional(),
|
|
3580
|
+
language: z.nullable(CreatePromptLanguage$inboundSchema).optional(),
|
|
3581
3581
|
}).transform((v) => {
|
|
3582
3582
|
return remap$(v, {
|
|
3583
3583
|
"use_cases": "useCases",
|
|
@@ -3587,7 +3587,7 @@ export const CreatePromptPromptsMetadata$inboundSchema: z.ZodType<
|
|
|
3587
3587
|
/** @internal */
|
|
3588
3588
|
export type CreatePromptPromptsMetadata$Outbound = {
|
|
3589
3589
|
use_cases?: Array<string> | undefined;
|
|
3590
|
-
language?: string | undefined;
|
|
3590
|
+
language?: string | null | undefined;
|
|
3591
3591
|
};
|
|
3592
3592
|
|
|
3593
3593
|
/** @internal */
|
|
@@ -3597,7 +3597,7 @@ export const CreatePromptPromptsMetadata$outboundSchema: z.ZodType<
|
|
|
3597
3597
|
CreatePromptPromptsMetadata
|
|
3598
3598
|
> = z.object({
|
|
3599
3599
|
useCases: z.array(CreatePromptUseCases$outboundSchema).optional(),
|
|
3600
|
-
language: CreatePromptLanguage$outboundSchema.optional(),
|
|
3600
|
+
language: z.nullable(CreatePromptLanguage$outboundSchema).optional(),
|
|
3601
3601
|
}).transform((v) => {
|
|
3602
3602
|
return remap$(v, {
|
|
3603
3603
|
useCases: "use_cases",
|
|
@@ -1710,7 +1710,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
1710
1710
|
z.ZodTypeDef,
|
|
1711
1711
|
unknown
|
|
1712
1712
|
> = z.object({
|
|
1713
|
-
_id: z.string().default("
|
|
1713
|
+
_id: z.string().default("tool_01JRZX2KD4R5QH6CPTT6CA8ZF0"),
|
|
1714
1714
|
path: z.string(),
|
|
1715
1715
|
key: z.string(),
|
|
1716
1716
|
description: z.string(),
|
|
@@ -1759,7 +1759,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
1759
1759
|
z.ZodTypeDef,
|
|
1760
1760
|
ResponseBody3
|
|
1761
1761
|
> = z.object({
|
|
1762
|
-
id: z.string().default("
|
|
1762
|
+
id: z.string().default("tool_01JRZX2KD4R5QH6CPTT6CA8ZF0"),
|
|
1763
1763
|
path: z.string(),
|
|
1764
1764
|
key: z.string(),
|
|
1765
1765
|
description: z.string(),
|
|
@@ -1922,7 +1922,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
1922
1922
|
z.ZodTypeDef,
|
|
1923
1923
|
unknown
|
|
1924
1924
|
> = z.object({
|
|
1925
|
-
_id: z.string().default("
|
|
1925
|
+
_id: z.string().default("tool_01JRZX2KD3PAVYHXWB2VM4VTKY"),
|
|
1926
1926
|
path: z.string(),
|
|
1927
1927
|
key: z.string(),
|
|
1928
1928
|
description: z.string(),
|
|
@@ -1972,7 +1972,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
1972
1972
|
z.ZodTypeDef,
|
|
1973
1973
|
ResponseBody2
|
|
1974
1974
|
> = z.object({
|
|
1975
|
-
id: z.string().default("
|
|
1975
|
+
id: z.string().default("tool_01JRZX2KD3PAVYHXWB2VM4VTKY"),
|
|
1976
1976
|
path: z.string(),
|
|
1977
1977
|
key: z.string(),
|
|
1978
1978
|
description: z.string(),
|
|
@@ -2136,7 +2136,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
2136
2136
|
z.ZodTypeDef,
|
|
2137
2137
|
unknown
|
|
2138
2138
|
> = z.object({
|
|
2139
|
-
_id: z.string().default("
|
|
2139
|
+
_id: z.string().default("tool_01JRZX2KD3AB666PGNM0CXQRN5"),
|
|
2140
2140
|
path: z.string(),
|
|
2141
2141
|
key: z.string(),
|
|
2142
2142
|
description: z.string(),
|
|
@@ -2185,7 +2185,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
2185
2185
|
z.ZodTypeDef,
|
|
2186
2186
|
ResponseBody1
|
|
2187
2187
|
> = z.object({
|
|
2188
|
-
id: z.string().default("
|
|
2188
|
+
id: z.string().default("tool_01JRZX2KD3AB666PGNM0CXQRN5"),
|
|
2189
2189
|
path: z.string(),
|
|
2190
2190
|
key: z.string(),
|
|
2191
2191
|
description: 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-04-
|
|
149
|
+
"2025-04-16T18:16:39.960Z",
|
|
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-04-
|
|
183
|
+
created: z.date().default(() => new Date("2025-04-16T18:16:39.960Z"))
|
|
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-04-
|
|
199
|
+
"2025-04-16T18:16:39.960Z",
|
|
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-04-
|
|
233
|
+
created: z.date().default(() => new Date("2025-04-16T18:16:39.960Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -247,7 +247,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
247
247
|
file_name: z.string(),
|
|
248
248
|
workspace_id: z.string(),
|
|
249
249
|
created: z.string().datetime({ offset: true }).default(
|
|
250
|
-
"2025-04-
|
|
250
|
+
"2025-04-16T18:16:39.960Z",
|
|
251
251
|
).transform(v => new Date(v)),
|
|
252
252
|
}).transform((v) => {
|
|
253
253
|
return remap$(v, {
|
|
@@ -281,7 +281,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
281
281
|
bytes: z.number(),
|
|
282
282
|
fileName: z.string(),
|
|
283
283
|
workspaceId: z.string(),
|
|
284
|
-
created: z.date().default(() => new Date("2025-04-
|
|
284
|
+
created: z.date().default(() => new Date("2025-04-16T18:16:39.960Z"))
|
|
285
285
|
.transform(v => v.toISOString()),
|
|
286
286
|
}).transform((v) => {
|
|
287
287
|
return remap$(v, {
|
|
@@ -454,7 +454,7 @@ export type GetAllPromptsMetadata = {
|
|
|
454
454
|
/**
|
|
455
455
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
456
456
|
*/
|
|
457
|
-
language?: GetAllPromptsLanguage | undefined;
|
|
457
|
+
language?: GetAllPromptsLanguage | null | undefined;
|
|
458
458
|
};
|
|
459
459
|
|
|
460
460
|
export type GetAllPromptsData = {
|
|
@@ -1895,7 +1895,7 @@ export const GetAllPromptsMetadata$inboundSchema: z.ZodType<
|
|
|
1895
1895
|
unknown
|
|
1896
1896
|
> = z.object({
|
|
1897
1897
|
use_cases: z.array(GetAllPromptsUseCases$inboundSchema).optional(),
|
|
1898
|
-
language: GetAllPromptsLanguage$inboundSchema.optional(),
|
|
1898
|
+
language: z.nullable(GetAllPromptsLanguage$inboundSchema).optional(),
|
|
1899
1899
|
}).transform((v) => {
|
|
1900
1900
|
return remap$(v, {
|
|
1901
1901
|
"use_cases": "useCases",
|
|
@@ -1905,7 +1905,7 @@ export const GetAllPromptsMetadata$inboundSchema: z.ZodType<
|
|
|
1905
1905
|
/** @internal */
|
|
1906
1906
|
export type GetAllPromptsMetadata$Outbound = {
|
|
1907
1907
|
use_cases?: Array<string> | undefined;
|
|
1908
|
-
language?: string | undefined;
|
|
1908
|
+
language?: string | null | undefined;
|
|
1909
1909
|
};
|
|
1910
1910
|
|
|
1911
1911
|
/** @internal */
|
|
@@ -1915,7 +1915,7 @@ export const GetAllPromptsMetadata$outboundSchema: z.ZodType<
|
|
|
1915
1915
|
GetAllPromptsMetadata
|
|
1916
1916
|
> = z.object({
|
|
1917
1917
|
useCases: z.array(GetAllPromptsUseCases$outboundSchema).optional(),
|
|
1918
|
-
language: GetAllPromptsLanguage$outboundSchema.optional(),
|
|
1918
|
+
language: z.nullable(GetAllPromptsLanguage$outboundSchema).optional(),
|
|
1919
1919
|
}).transform((v) => {
|
|
1920
1920
|
return remap$(v, {
|
|
1921
1921
|
useCases: "use_cases",
|
|
@@ -735,7 +735,7 @@ export function dataHttpFromJSON(
|
|
|
735
735
|
/** @internal */
|
|
736
736
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
737
737
|
.object({
|
|
738
|
-
_id: z.string().default("
|
|
738
|
+
_id: z.string().default("tool_01JRZX2KD2K36KH16057G8Z9RD"),
|
|
739
739
|
path: z.string(),
|
|
740
740
|
key: z.string(),
|
|
741
741
|
description: z.string(),
|
|
@@ -784,7 +784,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
784
784
|
z.ZodTypeDef,
|
|
785
785
|
Data3
|
|
786
786
|
> = z.object({
|
|
787
|
-
id: z.string().default("
|
|
787
|
+
id: z.string().default("tool_01JRZX2KD2K36KH16057G8Z9RD"),
|
|
788
788
|
path: z.string(),
|
|
789
789
|
key: z.string(),
|
|
790
790
|
description: z.string(),
|
|
@@ -938,7 +938,7 @@ export function dataJsonSchemaFromJSON(
|
|
|
938
938
|
/** @internal */
|
|
939
939
|
export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
|
|
940
940
|
.object({
|
|
941
|
-
_id: z.string().default("
|
|
941
|
+
_id: z.string().default("tool_01JRZX2KD27ZXCV970PDWM9V8Z"),
|
|
942
942
|
path: z.string(),
|
|
943
943
|
key: z.string(),
|
|
944
944
|
description: z.string(),
|
|
@@ -988,7 +988,7 @@ export const Data2$outboundSchema: z.ZodType<
|
|
|
988
988
|
z.ZodTypeDef,
|
|
989
989
|
Data2
|
|
990
990
|
> = z.object({
|
|
991
|
-
id: z.string().default("
|
|
991
|
+
id: z.string().default("tool_01JRZX2KD27ZXCV970PDWM9V8Z"),
|
|
992
992
|
path: z.string(),
|
|
993
993
|
key: z.string(),
|
|
994
994
|
description: z.string(),
|
|
@@ -1143,7 +1143,7 @@ export function dataFunctionFromJSON(
|
|
|
1143
1143
|
/** @internal */
|
|
1144
1144
|
export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
|
|
1145
1145
|
.object({
|
|
1146
|
-
_id: z.string().default("
|
|
1146
|
+
_id: z.string().default("tool_01JRZX2KD1JMNKBHD0Z4SP07GF"),
|
|
1147
1147
|
path: z.string(),
|
|
1148
1148
|
key: z.string(),
|
|
1149
1149
|
description: z.string(),
|
|
@@ -1192,7 +1192,7 @@ export const Data1$outboundSchema: z.ZodType<
|
|
|
1192
1192
|
z.ZodTypeDef,
|
|
1193
1193
|
Data1
|
|
1194
1194
|
> = z.object({
|
|
1195
|
-
id: z.string().default("
|
|
1195
|
+
id: z.string().default("tool_01JRZX2KD1JMNKBHD0Z4SP07GF"),
|
|
1196
1196
|
path: z.string(),
|
|
1197
1197
|
key: z.string(),
|
|
1198
1198
|
description: z.string(),
|
|
@@ -441,7 +441,7 @@ export type GetOnePromptMetadata = {
|
|
|
441
441
|
/**
|
|
442
442
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
443
443
|
*/
|
|
444
|
-
language?: GetOnePromptLanguage | undefined;
|
|
444
|
+
language?: GetOnePromptLanguage | null | undefined;
|
|
445
445
|
};
|
|
446
446
|
|
|
447
447
|
/**
|
|
@@ -1829,7 +1829,7 @@ export const GetOnePromptMetadata$inboundSchema: z.ZodType<
|
|
|
1829
1829
|
unknown
|
|
1830
1830
|
> = z.object({
|
|
1831
1831
|
use_cases: z.array(GetOnePromptUseCases$inboundSchema).optional(),
|
|
1832
|
-
language: GetOnePromptLanguage$inboundSchema.optional(),
|
|
1832
|
+
language: z.nullable(GetOnePromptLanguage$inboundSchema).optional(),
|
|
1833
1833
|
}).transform((v) => {
|
|
1834
1834
|
return remap$(v, {
|
|
1835
1835
|
"use_cases": "useCases",
|
|
@@ -1839,7 +1839,7 @@ export const GetOnePromptMetadata$inboundSchema: z.ZodType<
|
|
|
1839
1839
|
/** @internal */
|
|
1840
1840
|
export type GetOnePromptMetadata$Outbound = {
|
|
1841
1841
|
use_cases?: Array<string> | undefined;
|
|
1842
|
-
language?: string | undefined;
|
|
1842
|
+
language?: string | null | undefined;
|
|
1843
1843
|
};
|
|
1844
1844
|
|
|
1845
1845
|
/** @internal */
|
|
@@ -1849,7 +1849,7 @@ export const GetOnePromptMetadata$outboundSchema: z.ZodType<
|
|
|
1849
1849
|
GetOnePromptMetadata
|
|
1850
1850
|
> = z.object({
|
|
1851
1851
|
useCases: z.array(GetOnePromptUseCases$outboundSchema).optional(),
|
|
1852
|
-
language: GetOnePromptLanguage$outboundSchema.optional(),
|
|
1852
|
+
language: z.nullable(GetOnePromptLanguage$outboundSchema).optional(),
|
|
1853
1853
|
}).transform((v) => {
|
|
1854
1854
|
return remap$(v, {
|
|
1855
1855
|
useCases: "use_cases",
|
|
@@ -448,7 +448,7 @@ export type GetPromptVersionMetadata = {
|
|
|
448
448
|
/**
|
|
449
449
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
450
450
|
*/
|
|
451
|
-
language?: GetPromptVersionLanguage | undefined;
|
|
451
|
+
language?: GetPromptVersionLanguage | null | undefined;
|
|
452
452
|
};
|
|
453
453
|
|
|
454
454
|
/**
|
|
@@ -1844,7 +1844,7 @@ export const GetPromptVersionMetadata$inboundSchema: z.ZodType<
|
|
|
1844
1844
|
unknown
|
|
1845
1845
|
> = z.object({
|
|
1846
1846
|
use_cases: z.array(GetPromptVersionUseCases$inboundSchema).optional(),
|
|
1847
|
-
language: GetPromptVersionLanguage$inboundSchema.optional(),
|
|
1847
|
+
language: z.nullable(GetPromptVersionLanguage$inboundSchema).optional(),
|
|
1848
1848
|
}).transform((v) => {
|
|
1849
1849
|
return remap$(v, {
|
|
1850
1850
|
"use_cases": "useCases",
|
|
@@ -1854,7 +1854,7 @@ export const GetPromptVersionMetadata$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
/** @internal */
|
|
1855
1855
|
export type GetPromptVersionMetadata$Outbound = {
|
|
1856
1856
|
use_cases?: Array<string> | undefined;
|
|
1857
|
-
language?: string | undefined;
|
|
1857
|
+
language?: string | null | undefined;
|
|
1858
1858
|
};
|
|
1859
1859
|
|
|
1860
1860
|
/** @internal */
|
|
@@ -1864,7 +1864,7 @@ export const GetPromptVersionMetadata$outboundSchema: z.ZodType<
|
|
|
1864
1864
|
GetPromptVersionMetadata
|
|
1865
1865
|
> = z.object({
|
|
1866
1866
|
useCases: z.array(GetPromptVersionUseCases$outboundSchema).optional(),
|
|
1867
|
-
language: GetPromptVersionLanguage$outboundSchema.optional(),
|
|
1867
|
+
language: z.nullable(GetPromptVersionLanguage$outboundSchema).optional(),
|
|
1868
1868
|
}).transform((v) => {
|
|
1869
1869
|
return remap$(v, {
|
|
1870
1870
|
useCases: "use_cases",
|
|
@@ -912,7 +912,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
912
912
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
913
913
|
.optional(),
|
|
914
914
|
updated: z.string().datetime({ offset: true }).default(
|
|
915
|
-
"2025-04-
|
|
915
|
+
"2025-04-16T18:16:37.357Z",
|
|
916
916
|
).transform(v => new Date(v)),
|
|
917
917
|
}).transform((v) => {
|
|
918
918
|
return remap$(v, {
|
|
@@ -955,7 +955,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
955
955
|
createdById: z.string().optional(),
|
|
956
956
|
updatedById: z.string().optional(),
|
|
957
957
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
958
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
958
|
+
updated: z.date().default(() => new Date("2025-04-16T18:16:37.357Z"))
|
|
959
959
|
.transform(v => v.toISOString()),
|
|
960
960
|
}).transform((v) => {
|
|
961
961
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-04-
|
|
256
|
+
"2025-04-16T18:16:37.357Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-04-16T18:16:37.357Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01JRZX2KEM545MCC9C3C7HBSCR"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.string().optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
322
322
|
z.ZodTypeDef,
|
|
323
323
|
ListDatasourcesData
|
|
324
324
|
> = z.object({
|
|
325
|
-
id: z.string().default("
|
|
325
|
+
id: z.string().default("01JRZX2KEM545MCC9C3C7HBSCR"),
|
|
326
326
|
displayName: z.string(),
|
|
327
327
|
description: z.string().optional(),
|
|
328
328
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -466,7 +466,7 @@ export type ListPromptVersionsMetadata = {
|
|
|
466
466
|
/**
|
|
467
467
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
468
468
|
*/
|
|
469
|
-
language?: ListPromptVersionsLanguage | undefined;
|
|
469
|
+
language?: ListPromptVersionsLanguage | null | undefined;
|
|
470
470
|
};
|
|
471
471
|
|
|
472
472
|
export type ListPromptVersionsData = {
|
|
@@ -1910,7 +1910,7 @@ export const ListPromptVersionsMetadata$inboundSchema: z.ZodType<
|
|
|
1910
1910
|
unknown
|
|
1911
1911
|
> = z.object({
|
|
1912
1912
|
use_cases: z.array(ListPromptVersionsUseCases$inboundSchema).optional(),
|
|
1913
|
-
language: ListPromptVersionsLanguage$inboundSchema.optional(),
|
|
1913
|
+
language: z.nullable(ListPromptVersionsLanguage$inboundSchema).optional(),
|
|
1914
1914
|
}).transform((v) => {
|
|
1915
1915
|
return remap$(v, {
|
|
1916
1916
|
"use_cases": "useCases",
|
|
@@ -1920,7 +1920,7 @@ export const ListPromptVersionsMetadata$inboundSchema: z.ZodType<
|
|
|
1920
1920
|
/** @internal */
|
|
1921
1921
|
export type ListPromptVersionsMetadata$Outbound = {
|
|
1922
1922
|
use_cases?: Array<string> | undefined;
|
|
1923
|
-
language?: string | undefined;
|
|
1923
|
+
language?: string | null | undefined;
|
|
1924
1924
|
};
|
|
1925
1925
|
|
|
1926
1926
|
/** @internal */
|
|
@@ -1930,7 +1930,7 @@ export const ListPromptVersionsMetadata$outboundSchema: z.ZodType<
|
|
|
1930
1930
|
ListPromptVersionsMetadata
|
|
1931
1931
|
> = z.object({
|
|
1932
1932
|
useCases: z.array(ListPromptVersionsUseCases$outboundSchema).optional(),
|
|
1933
|
-
language: ListPromptVersionsLanguage$outboundSchema.optional(),
|
|
1933
|
+
language: z.nullable(ListPromptVersionsLanguage$outboundSchema).optional(),
|
|
1934
1934
|
}).transform((v) => {
|
|
1935
1935
|
return remap$(v, {
|
|
1936
1936
|
useCases: "use_cases",
|
|
@@ -834,7 +834,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
834
834
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
835
835
|
.optional(),
|
|
836
836
|
updated: z.string().datetime({ offset: true }).default(
|
|
837
|
-
"2025-04-
|
|
837
|
+
"2025-04-16T18:16:37.357Z",
|
|
838
838
|
).transform(v => new Date(v)),
|
|
839
839
|
}).transform((v) => {
|
|
840
840
|
return remap$(v, {
|
|
@@ -877,7 +877,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
877
877
|
createdById: z.string().optional(),
|
|
878
878
|
updatedById: z.string().optional(),
|
|
879
879
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
880
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
880
|
+
updated: z.date().default(() => new Date("2025-04-16T18:16:37.357Z"))
|
|
881
881
|
.transform(v => v.toISOString()),
|
|
882
882
|
}).transform((v) => {
|
|
883
883
|
return remap$(v, {
|