@orq-ai/node 3.14.40 → 3.14.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +696 -1501
- package/bin/mcp-server.js.map +55 -55
- 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/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +80 -0
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +70 -7
- package/models/operations/createagent.js.map +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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +106 -106
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +242 -234
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/creatememorystore.d.ts +10 -391
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +5 -563
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +40 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +33 -7
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +20 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +20 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +16 -3
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +40 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +33 -3
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +5 -195
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +3 -273
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +20 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +16 -3
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +20 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +16 -3
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +20 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +16 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +40 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +36 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +40 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +36 -3
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +5 -5
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +4 -4
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +20 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +16 -3
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememorystore.d.ts +5 -196
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +3 -273
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +40 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +36 -6
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +40 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +39 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +80 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +73 -7
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememorystore.d.ts +5 -195
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +3 -290
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +40 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +33 -7
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/agents/README.md +2 -0
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -2
- 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/operations/createagent.ts +204 -62
- 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 +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +423 -524
- package/packages/orq-rc/src/models/operations/createknowledge.ts +1 -7
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +14 -1094
- package/packages/orq-rc/src/models/operations/createprompt.ts +64 -4
- package/packages/orq-rc/src/models/operations/createtool.ts +14 -10
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +30 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +30 -0
- package/packages/orq-rc/src/models/operations/duplicateagent.ts +93 -15
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +29 -11
- 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 +86 -15
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +7 -595
- package/packages/orq-rc/src/models/operations/getallprompts.ts +30 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +14 -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/getoneprompt.ts +30 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +30 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +89 -15
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +9 -9
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +30 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- 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/retrievememorystore.ts +7 -596
- package/packages/orq-rc/src/models/operations/retrievetool.ts +14 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +81 -8
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +86 -8
- package/packages/orq-rc/src/models/operations/syncmcptool.ts +14 -10
- package/packages/orq-rc/src/models/operations/updateagent.ts +176 -23
- 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 +8 -8
- 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 +28 -28
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +7 -527
- package/packages/orq-rc/src/models/operations/updateprompt.ts +64 -4
- package/packages/orq-rc/src/models/operations/updatetool.ts +25 -10
- 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/createagent.ts +129 -0
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +423 -524
- package/src/models/operations/creatememorystore.ts +14 -1108
- package/src/models/operations/createprompt.ts +60 -0
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +30 -0
- package/src/models/operations/deployments.ts +30 -0
- package/src/models/operations/duplicatetool.ts +10 -10
- 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/getagent.ts +62 -0
- package/src/models/operations/getallmemorystores.ts +7 -595
- package/src/models/operations/getallprompts.ts +30 -0
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +30 -0
- package/src/models/operations/getpromptversion.ts +30 -0
- package/src/models/operations/listagents.ts +67 -0
- package/src/models/operations/listagenttasks.ts +66 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +9 -9
- package/src/models/operations/listpromptversions.ts +30 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememorystore.ts +7 -596
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +64 -0
- package/src/models/operations/streamrunagent.ts +66 -0
- package/src/models/operations/updateagent.ts +131 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememorystore.ts +7 -527
- package/src/models/operations/updateprompt.ts +60 -0
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -71,12 +71,12 @@ export type DuplicateAgentTools = {
|
|
|
71
71
|
key?: string | undefined;
|
|
72
72
|
actionType: string;
|
|
73
73
|
displayName?: string | undefined;
|
|
74
|
-
requiresApproval?: boolean | undefined;
|
|
75
|
-
conditions?: Array<DuplicateAgentConditions> | undefined;
|
|
76
74
|
/**
|
|
77
|
-
* Optional
|
|
75
|
+
* Optional tool description
|
|
78
76
|
*/
|
|
79
|
-
|
|
77
|
+
description?: string | undefined;
|
|
78
|
+
requiresApproval?: boolean | undefined;
|
|
79
|
+
conditions?: Array<DuplicateAgentConditions> | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
82
82
|
*/
|
|
@@ -233,7 +233,7 @@ export type DuplicateAgentResponseFormatJsonSchema = {
|
|
|
233
233
|
/**
|
|
234
234
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
235
235
|
*/
|
|
236
|
-
strict?: boolean | undefined;
|
|
236
|
+
strict?: boolean | null | undefined;
|
|
237
237
|
};
|
|
238
238
|
|
|
239
239
|
/**
|
|
@@ -313,6 +313,20 @@ export const DuplicateAgentType = {
|
|
|
313
313
|
*/
|
|
314
314
|
export type DuplicateAgentType = ClosedEnum<typeof DuplicateAgentType>;
|
|
315
315
|
|
|
316
|
+
/**
|
|
317
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
318
|
+
*/
|
|
319
|
+
export const DuplicateAgentThinkingLevel = {
|
|
320
|
+
Low: "low",
|
|
321
|
+
High: "high",
|
|
322
|
+
} as const;
|
|
323
|
+
/**
|
|
324
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
325
|
+
*/
|
|
326
|
+
export type DuplicateAgentThinkingLevel = ClosedEnum<
|
|
327
|
+
typeof DuplicateAgentThinkingLevel
|
|
328
|
+
>;
|
|
329
|
+
|
|
316
330
|
export type DuplicateAgentThinking = {
|
|
317
331
|
/**
|
|
318
332
|
* Enables or disables the thinking mode capability
|
|
@@ -322,6 +336,10 @@ export type DuplicateAgentThinking = {
|
|
|
322
336
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
323
337
|
*/
|
|
324
338
|
budgetTokens: number;
|
|
339
|
+
/**
|
|
340
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
341
|
+
*/
|
|
342
|
+
thinkingLevel?: DuplicateAgentThinkingLevel | undefined;
|
|
325
343
|
};
|
|
326
344
|
|
|
327
345
|
/**
|
|
@@ -562,7 +580,7 @@ export type DuplicateAgentResponseFormatAgentsResponseJsonSchema = {
|
|
|
562
580
|
/**
|
|
563
581
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
564
582
|
*/
|
|
565
|
-
strict?: boolean | undefined;
|
|
583
|
+
strict?: boolean | null | undefined;
|
|
566
584
|
};
|
|
567
585
|
|
|
568
586
|
/**
|
|
@@ -649,6 +667,20 @@ export type DuplicateAgentFallbackModelConfigurationType = ClosedEnum<
|
|
|
649
667
|
typeof DuplicateAgentFallbackModelConfigurationType
|
|
650
668
|
>;
|
|
651
669
|
|
|
670
|
+
/**
|
|
671
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
672
|
+
*/
|
|
673
|
+
export const DuplicateAgentFallbackModelConfigurationThinkingLevel = {
|
|
674
|
+
Low: "low",
|
|
675
|
+
High: "high",
|
|
676
|
+
} as const;
|
|
677
|
+
/**
|
|
678
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
679
|
+
*/
|
|
680
|
+
export type DuplicateAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
681
|
+
typeof DuplicateAgentFallbackModelConfigurationThinkingLevel
|
|
682
|
+
>;
|
|
683
|
+
|
|
652
684
|
export type DuplicateAgentFallbackModelConfigurationThinking = {
|
|
653
685
|
/**
|
|
654
686
|
* Enables or disables the thinking mode capability
|
|
@@ -658,6 +690,12 @@ export type DuplicateAgentFallbackModelConfigurationThinking = {
|
|
|
658
690
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
659
691
|
*/
|
|
660
692
|
budgetTokens: number;
|
|
693
|
+
/**
|
|
694
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
695
|
+
*/
|
|
696
|
+
thinkingLevel?:
|
|
697
|
+
| DuplicateAgentFallbackModelConfigurationThinkingLevel
|
|
698
|
+
| undefined;
|
|
661
699
|
};
|
|
662
700
|
|
|
663
701
|
/**
|
|
@@ -891,6 +929,7 @@ export type DuplicateAgentKnowledgeBases = {
|
|
|
891
929
|
export type DuplicateAgentResponseBody = {
|
|
892
930
|
id: string;
|
|
893
931
|
key: string;
|
|
932
|
+
displayName: string;
|
|
894
933
|
workspaceId: string;
|
|
895
934
|
projectId: string;
|
|
896
935
|
createdById?: string | null | undefined;
|
|
@@ -1049,10 +1088,10 @@ export const DuplicateAgentTools$inboundSchema: z.ZodType<
|
|
|
1049
1088
|
key: z.string().optional(),
|
|
1050
1089
|
action_type: z.string(),
|
|
1051
1090
|
display_name: z.string().optional(),
|
|
1091
|
+
description: z.string().optional(),
|
|
1052
1092
|
requires_approval: z.boolean().default(false),
|
|
1053
1093
|
conditions: z.array(z.lazy(() => DuplicateAgentConditions$inboundSchema))
|
|
1054
1094
|
.optional(),
|
|
1055
|
-
mcpServer: z.string().optional(),
|
|
1056
1095
|
timeout: z.number().default(120),
|
|
1057
1096
|
}).transform((v) => {
|
|
1058
1097
|
return remap$(v, {
|
|
@@ -1067,9 +1106,9 @@ export type DuplicateAgentTools$Outbound = {
|
|
|
1067
1106
|
key?: string | undefined;
|
|
1068
1107
|
action_type: string;
|
|
1069
1108
|
display_name?: string | undefined;
|
|
1109
|
+
description?: string | undefined;
|
|
1070
1110
|
requires_approval: boolean;
|
|
1071
1111
|
conditions?: Array<DuplicateAgentConditions$Outbound> | undefined;
|
|
1072
|
-
mcpServer?: string | undefined;
|
|
1073
1112
|
timeout: number;
|
|
1074
1113
|
};
|
|
1075
1114
|
|
|
@@ -1083,10 +1122,10 @@ export const DuplicateAgentTools$outboundSchema: z.ZodType<
|
|
|
1083
1122
|
key: z.string().optional(),
|
|
1084
1123
|
actionType: z.string(),
|
|
1085
1124
|
displayName: z.string().optional(),
|
|
1125
|
+
description: z.string().optional(),
|
|
1086
1126
|
requiresApproval: z.boolean().default(false),
|
|
1087
1127
|
conditions: z.array(z.lazy(() => DuplicateAgentConditions$outboundSchema))
|
|
1088
1128
|
.optional(),
|
|
1089
|
-
mcpServer: z.string().optional(),
|
|
1090
1129
|
timeout: z.number().default(120),
|
|
1091
1130
|
}).transform((v) => {
|
|
1092
1131
|
return remap$(v, {
|
|
@@ -1391,14 +1430,14 @@ export const DuplicateAgentResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1391
1430
|
description: z.string().optional(),
|
|
1392
1431
|
name: z.string(),
|
|
1393
1432
|
schema: z.any().optional(),
|
|
1394
|
-
strict: z.boolean().optional(),
|
|
1433
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1395
1434
|
});
|
|
1396
1435
|
/** @internal */
|
|
1397
1436
|
export type DuplicateAgentResponseFormatJsonSchema$Outbound = {
|
|
1398
1437
|
description?: string | undefined;
|
|
1399
1438
|
name: string;
|
|
1400
1439
|
schema?: any | undefined;
|
|
1401
|
-
strict?: boolean | undefined;
|
|
1440
|
+
strict?: boolean | null | undefined;
|
|
1402
1441
|
};
|
|
1403
1442
|
|
|
1404
1443
|
/** @internal */
|
|
@@ -1410,7 +1449,7 @@ export const DuplicateAgentResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1410
1449
|
description: z.string().optional(),
|
|
1411
1450
|
name: z.string(),
|
|
1412
1451
|
schema: z.any().optional(),
|
|
1413
|
-
strict: z.boolean().optional(),
|
|
1452
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1414
1453
|
});
|
|
1415
1454
|
|
|
1416
1455
|
export function duplicateAgentResponseFormatJsonSchemaToJSON(
|
|
@@ -1739,6 +1778,15 @@ export const DuplicateAgentType$outboundSchema: z.ZodNativeEnum<
|
|
|
1739
1778
|
typeof DuplicateAgentType
|
|
1740
1779
|
> = DuplicateAgentType$inboundSchema;
|
|
1741
1780
|
|
|
1781
|
+
/** @internal */
|
|
1782
|
+
export const DuplicateAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1783
|
+
typeof DuplicateAgentThinkingLevel
|
|
1784
|
+
> = z.nativeEnum(DuplicateAgentThinkingLevel);
|
|
1785
|
+
/** @internal */
|
|
1786
|
+
export const DuplicateAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1787
|
+
typeof DuplicateAgentThinkingLevel
|
|
1788
|
+
> = DuplicateAgentThinkingLevel$inboundSchema;
|
|
1789
|
+
|
|
1742
1790
|
/** @internal */
|
|
1743
1791
|
export const DuplicateAgentThinking$inboundSchema: z.ZodType<
|
|
1744
1792
|
DuplicateAgentThinking,
|
|
@@ -1747,15 +1795,18 @@ export const DuplicateAgentThinking$inboundSchema: z.ZodType<
|
|
|
1747
1795
|
> = z.object({
|
|
1748
1796
|
type: DuplicateAgentType$inboundSchema,
|
|
1749
1797
|
budget_tokens: z.number(),
|
|
1798
|
+
thinking_level: DuplicateAgentThinkingLevel$inboundSchema.optional(),
|
|
1750
1799
|
}).transform((v) => {
|
|
1751
1800
|
return remap$(v, {
|
|
1752
1801
|
"budget_tokens": "budgetTokens",
|
|
1802
|
+
"thinking_level": "thinkingLevel",
|
|
1753
1803
|
});
|
|
1754
1804
|
});
|
|
1755
1805
|
/** @internal */
|
|
1756
1806
|
export type DuplicateAgentThinking$Outbound = {
|
|
1757
1807
|
type: string;
|
|
1758
1808
|
budget_tokens: number;
|
|
1809
|
+
thinking_level?: string | undefined;
|
|
1759
1810
|
};
|
|
1760
1811
|
|
|
1761
1812
|
/** @internal */
|
|
@@ -1766,9 +1817,11 @@ export const DuplicateAgentThinking$outboundSchema: z.ZodType<
|
|
|
1766
1817
|
> = z.object({
|
|
1767
1818
|
type: DuplicateAgentType$outboundSchema,
|
|
1768
1819
|
budgetTokens: z.number(),
|
|
1820
|
+
thinkingLevel: DuplicateAgentThinkingLevel$outboundSchema.optional(),
|
|
1769
1821
|
}).transform((v) => {
|
|
1770
1822
|
return remap$(v, {
|
|
1771
1823
|
budgetTokens: "budget_tokens",
|
|
1824
|
+
thinkingLevel: "thinking_level",
|
|
1772
1825
|
});
|
|
1773
1826
|
});
|
|
1774
1827
|
|
|
@@ -2239,14 +2292,14 @@ export const DuplicateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema:
|
|
|
2239
2292
|
description: z.string().optional(),
|
|
2240
2293
|
name: z.string(),
|
|
2241
2294
|
schema: z.any().optional(),
|
|
2242
|
-
strict: z.boolean().optional(),
|
|
2295
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2243
2296
|
});
|
|
2244
2297
|
/** @internal */
|
|
2245
2298
|
export type DuplicateAgentResponseFormatAgentsResponseJsonSchema$Outbound = {
|
|
2246
2299
|
description?: string | undefined;
|
|
2247
2300
|
name: string;
|
|
2248
2301
|
schema?: any | undefined;
|
|
2249
|
-
strict?: boolean | undefined;
|
|
2302
|
+
strict?: boolean | null | undefined;
|
|
2250
2303
|
};
|
|
2251
2304
|
|
|
2252
2305
|
/** @internal */
|
|
@@ -2259,7 +2312,7 @@ export const DuplicateAgentResponseFormatAgentsResponseJsonSchema$outboundSchema
|
|
|
2259
2312
|
description: z.string().optional(),
|
|
2260
2313
|
name: z.string(),
|
|
2261
2314
|
schema: z.any().optional(),
|
|
2262
|
-
strict: z.boolean().optional(),
|
|
2315
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2263
2316
|
});
|
|
2264
2317
|
|
|
2265
2318
|
export function duplicateAgentResponseFormatAgentsResponseJsonSchemaToJSON(
|
|
@@ -2642,6 +2695,17 @@ export const DuplicateAgentFallbackModelConfigurationType$outboundSchema:
|
|
|
2642
2695
|
z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationType> =
|
|
2643
2696
|
DuplicateAgentFallbackModelConfigurationType$inboundSchema;
|
|
2644
2697
|
|
|
2698
|
+
/** @internal */
|
|
2699
|
+
export const DuplicateAgentFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
2700
|
+
z.ZodNativeEnum<
|
|
2701
|
+
typeof DuplicateAgentFallbackModelConfigurationThinkingLevel
|
|
2702
|
+
> = z.nativeEnum(DuplicateAgentFallbackModelConfigurationThinkingLevel);
|
|
2703
|
+
/** @internal */
|
|
2704
|
+
export const DuplicateAgentFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
2705
|
+
z.ZodNativeEnum<
|
|
2706
|
+
typeof DuplicateAgentFallbackModelConfigurationThinkingLevel
|
|
2707
|
+
> = DuplicateAgentFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
2708
|
+
|
|
2645
2709
|
/** @internal */
|
|
2646
2710
|
export const DuplicateAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
2647
2711
|
z.ZodType<
|
|
@@ -2651,15 +2715,20 @@ export const DuplicateAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
|
2651
2715
|
> = z.object({
|
|
2652
2716
|
type: DuplicateAgentFallbackModelConfigurationType$inboundSchema,
|
|
2653
2717
|
budget_tokens: z.number(),
|
|
2718
|
+
thinking_level:
|
|
2719
|
+
DuplicateAgentFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
2720
|
+
.optional(),
|
|
2654
2721
|
}).transform((v) => {
|
|
2655
2722
|
return remap$(v, {
|
|
2656
2723
|
"budget_tokens": "budgetTokens",
|
|
2724
|
+
"thinking_level": "thinkingLevel",
|
|
2657
2725
|
});
|
|
2658
2726
|
});
|
|
2659
2727
|
/** @internal */
|
|
2660
2728
|
export type DuplicateAgentFallbackModelConfigurationThinking$Outbound = {
|
|
2661
2729
|
type: string;
|
|
2662
2730
|
budget_tokens: number;
|
|
2731
|
+
thinking_level?: string | undefined;
|
|
2663
2732
|
};
|
|
2664
2733
|
|
|
2665
2734
|
/** @internal */
|
|
@@ -2671,9 +2740,13 @@ export const DuplicateAgentFallbackModelConfigurationThinking$outboundSchema:
|
|
|
2671
2740
|
> = z.object({
|
|
2672
2741
|
type: DuplicateAgentFallbackModelConfigurationType$outboundSchema,
|
|
2673
2742
|
budgetTokens: z.number(),
|
|
2743
|
+
thinkingLevel:
|
|
2744
|
+
DuplicateAgentFallbackModelConfigurationThinkingLevel$outboundSchema
|
|
2745
|
+
.optional(),
|
|
2674
2746
|
}).transform((v) => {
|
|
2675
2747
|
return remap$(v, {
|
|
2676
2748
|
budgetTokens: "budget_tokens",
|
|
2749
|
+
thinkingLevel: "thinking_level",
|
|
2677
2750
|
});
|
|
2678
2751
|
});
|
|
2679
2752
|
|
|
@@ -3391,6 +3464,7 @@ export const DuplicateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3391
3464
|
> = z.object({
|
|
3392
3465
|
_id: z.string(),
|
|
3393
3466
|
key: z.string(),
|
|
3467
|
+
display_name: z.string(),
|
|
3394
3468
|
workspace_id: z.string(),
|
|
3395
3469
|
project_id: z.string(),
|
|
3396
3470
|
created_by_id: z.nullable(z.string()).optional(),
|
|
@@ -3418,6 +3492,7 @@ export const DuplicateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3418
3492
|
}).transform((v) => {
|
|
3419
3493
|
return remap$(v, {
|
|
3420
3494
|
"_id": "id",
|
|
3495
|
+
"display_name": "displayName",
|
|
3421
3496
|
"workspace_id": "workspaceId",
|
|
3422
3497
|
"project_id": "projectId",
|
|
3423
3498
|
"created_by_id": "createdById",
|
|
@@ -3433,6 +3508,7 @@ export const DuplicateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
3433
3508
|
export type DuplicateAgentResponseBody$Outbound = {
|
|
3434
3509
|
_id: string;
|
|
3435
3510
|
key: string;
|
|
3511
|
+
display_name: string;
|
|
3436
3512
|
workspace_id: string;
|
|
3437
3513
|
project_id: string;
|
|
3438
3514
|
created_by_id?: string | null | undefined;
|
|
@@ -3463,6 +3539,7 @@ export const DuplicateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3463
3539
|
> = z.object({
|
|
3464
3540
|
id: z.string(),
|
|
3465
3541
|
key: z.string(),
|
|
3542
|
+
displayName: z.string(),
|
|
3466
3543
|
workspaceId: z.string(),
|
|
3467
3544
|
projectId: z.string(),
|
|
3468
3545
|
createdById: z.nullable(z.string()).optional(),
|
|
@@ -3490,6 +3567,7 @@ export const DuplicateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
3490
3567
|
}).transform((v) => {
|
|
3491
3568
|
return remap$(v, {
|
|
3492
3569
|
id: "_id",
|
|
3570
|
+
displayName: "display_name",
|
|
3493
3571
|
workspaceId: "workspace_id",
|
|
3494
3572
|
projectId: "project_id",
|
|
3495
3573
|
createdById: "created_by_id",
|
|
@@ -14,9 +14,17 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
14
14
|
|
|
15
15
|
export type DuplicateToolRequestBody = {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
18
|
+
*/
|
|
19
|
+
key: string;
|
|
20
|
+
/**
|
|
21
|
+
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
18
22
|
*/
|
|
19
23
|
displayName?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
26
|
+
*/
|
|
27
|
+
description: string;
|
|
20
28
|
};
|
|
21
29
|
|
|
22
30
|
export type DuplicateToolRequest = {
|
|
@@ -194,6 +202,7 @@ export type DuplicateToolResponseBodyToolsSchema = {
|
|
|
194
202
|
};
|
|
195
203
|
|
|
196
204
|
export type DuplicateToolResponseBodyTools = {
|
|
205
|
+
id?: string | undefined;
|
|
197
206
|
name: string;
|
|
198
207
|
description?: string | undefined;
|
|
199
208
|
schema: DuplicateToolResponseBodyToolsSchema;
|
|
@@ -685,7 +694,9 @@ export const DuplicateToolRequestBody$inboundSchema: z.ZodType<
|
|
|
685
694
|
z.ZodTypeDef,
|
|
686
695
|
unknown
|
|
687
696
|
> = z.object({
|
|
697
|
+
key: z.string(),
|
|
688
698
|
display_name: z.string().optional(),
|
|
699
|
+
description: z.string(),
|
|
689
700
|
}).transform((v) => {
|
|
690
701
|
return remap$(v, {
|
|
691
702
|
"display_name": "displayName",
|
|
@@ -693,7 +704,9 @@ export const DuplicateToolRequestBody$inboundSchema: z.ZodType<
|
|
|
693
704
|
});
|
|
694
705
|
/** @internal */
|
|
695
706
|
export type DuplicateToolRequestBody$Outbound = {
|
|
707
|
+
key: string;
|
|
696
708
|
display_name?: string | undefined;
|
|
709
|
+
description: string;
|
|
697
710
|
};
|
|
698
711
|
|
|
699
712
|
/** @internal */
|
|
@@ -702,7 +715,9 @@ export const DuplicateToolRequestBody$outboundSchema: z.ZodType<
|
|
|
702
715
|
z.ZodTypeDef,
|
|
703
716
|
DuplicateToolRequestBody
|
|
704
717
|
> = z.object({
|
|
718
|
+
key: z.string(),
|
|
705
719
|
displayName: z.string().optional(),
|
|
720
|
+
description: z.string(),
|
|
706
721
|
}).transform((v) => {
|
|
707
722
|
return remap$(v, {
|
|
708
723
|
displayName: "display_name",
|
|
@@ -955,7 +970,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
955
970
|
z.ZodTypeDef,
|
|
956
971
|
unknown
|
|
957
972
|
> = z.object({
|
|
958
|
-
_id: z.string().default("
|
|
973
|
+
_id: z.string().default("tool_01KAD4TRKVQ1GDMM82ZZP6NV6A"),
|
|
959
974
|
path: z.string(),
|
|
960
975
|
key: z.string(),
|
|
961
976
|
display_name: z.string().optional(),
|
|
@@ -1010,7 +1025,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
1010
1025
|
z.ZodTypeDef,
|
|
1011
1026
|
DuplicateToolResponseBody5
|
|
1012
1027
|
> = z.object({
|
|
1013
|
-
id: z.string().default("
|
|
1028
|
+
id: z.string().default("tool_01KAD4TRKVQ1GDMM82ZZP6NV6A"),
|
|
1014
1029
|
path: z.string(),
|
|
1015
1030
|
key: z.string(),
|
|
1016
1031
|
displayName: z.string().optional(),
|
|
@@ -1190,12 +1205,14 @@ export const DuplicateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1190
1205
|
z.ZodTypeDef,
|
|
1191
1206
|
unknown
|
|
1192
1207
|
> = z.object({
|
|
1208
|
+
id: z.string().default("01KAD4TRKTYM9AECQ7MWQNNW8A"),
|
|
1193
1209
|
name: z.string(),
|
|
1194
1210
|
description: z.string().optional(),
|
|
1195
1211
|
schema: z.lazy(() => DuplicateToolResponseBodyToolsSchema$inboundSchema),
|
|
1196
1212
|
});
|
|
1197
1213
|
/** @internal */
|
|
1198
1214
|
export type DuplicateToolResponseBodyTools$Outbound = {
|
|
1215
|
+
id: string;
|
|
1199
1216
|
name: string;
|
|
1200
1217
|
description?: string | undefined;
|
|
1201
1218
|
schema: DuplicateToolResponseBodyToolsSchema$Outbound;
|
|
@@ -1207,6 +1224,7 @@ export const DuplicateToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1207
1224
|
z.ZodTypeDef,
|
|
1208
1225
|
DuplicateToolResponseBodyTools
|
|
1209
1226
|
> = z.object({
|
|
1227
|
+
id: z.string().default("01KAD4TRKTYM9AECQ7MWQNNW8A"),
|
|
1210
1228
|
name: z.string(),
|
|
1211
1229
|
description: z.string().optional(),
|
|
1212
1230
|
schema: z.lazy(() => DuplicateToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1312,7 +1330,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1312
1330
|
z.ZodTypeDef,
|
|
1313
1331
|
unknown
|
|
1314
1332
|
> = z.object({
|
|
1315
|
-
_id: z.string().default("
|
|
1333
|
+
_id: z.string().default("tool_01KAD4TRKSY866102A8Z1YVT9R"),
|
|
1316
1334
|
path: z.string(),
|
|
1317
1335
|
key: z.string(),
|
|
1318
1336
|
display_name: z.string().optional(),
|
|
@@ -1365,7 +1383,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1365
1383
|
z.ZodTypeDef,
|
|
1366
1384
|
DuplicateToolResponseBody4
|
|
1367
1385
|
> = z.object({
|
|
1368
|
-
id: z.string().default("
|
|
1386
|
+
id: z.string().default("tool_01KAD4TRKSY866102A8Z1YVT9R"),
|
|
1369
1387
|
path: z.string(),
|
|
1370
1388
|
key: z.string(),
|
|
1371
1389
|
displayName: z.string().optional(),
|
|
@@ -1746,7 +1764,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1746
1764
|
z.ZodTypeDef,
|
|
1747
1765
|
unknown
|
|
1748
1766
|
> = z.object({
|
|
1749
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01KAD4TRKQR2YS6SEQKX1ZH3V8"),
|
|
1750
1768
|
path: z.string(),
|
|
1751
1769
|
key: z.string(),
|
|
1752
1770
|
display_name: z.string().optional(),
|
|
@@ -1799,7 +1817,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1799
1817
|
z.ZodTypeDef,
|
|
1800
1818
|
DuplicateToolResponseBody3
|
|
1801
1819
|
> = z.object({
|
|
1802
|
-
id: z.string().default("
|
|
1820
|
+
id: z.string().default("tool_01KAD4TRKQR2YS6SEQKX1ZH3V8"),
|
|
1803
1821
|
path: z.string(),
|
|
1804
1822
|
key: z.string(),
|
|
1805
1823
|
displayName: z.string().optional(),
|
|
@@ -1981,7 +1999,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1981
1999
|
z.ZodTypeDef,
|
|
1982
2000
|
unknown
|
|
1983
2001
|
> = z.object({
|
|
1984
|
-
_id: z.string().default("
|
|
2002
|
+
_id: z.string().default("tool_01KAD4TRKPRGYC4G7NY93Z1TN5"),
|
|
1985
2003
|
path: z.string(),
|
|
1986
2004
|
key: z.string(),
|
|
1987
2005
|
display_name: z.string().optional(),
|
|
@@ -2033,7 +2051,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2033
2051
|
z.ZodTypeDef,
|
|
2034
2052
|
DuplicateToolResponseBody2
|
|
2035
2053
|
> = z.object({
|
|
2036
|
-
id: z.string().default("
|
|
2054
|
+
id: z.string().default("tool_01KAD4TRKPRGYC4G7NY93Z1TN5"),
|
|
2037
2055
|
path: z.string(),
|
|
2038
2056
|
key: z.string(),
|
|
2039
2057
|
displayName: z.string().optional(),
|
|
@@ -2231,7 +2249,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2231
2249
|
z.ZodTypeDef,
|
|
2232
2250
|
unknown
|
|
2233
2251
|
> = z.object({
|
|
2234
|
-
_id: z.string().default("
|
|
2252
|
+
_id: z.string().default("tool_01KAD4TRKMNC104QGTXT9SKRKY"),
|
|
2235
2253
|
path: z.string(),
|
|
2236
2254
|
key: z.string(),
|
|
2237
2255
|
display_name: z.string().optional(),
|
|
@@ -2282,7 +2300,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2282
2300
|
z.ZodTypeDef,
|
|
2283
2301
|
DuplicateToolResponseBody1
|
|
2284
2302
|
> = z.object({
|
|
2285
|
-
id: z.string().default("
|
|
2303
|
+
id: z.string().default("tool_01KAD4TRKMNC104QGTXT9SKRKY"),
|
|
2286
2304
|
path: z.string(),
|
|
2287
2305
|
key: z.string(),
|
|
2288
2306
|
displayName: z.string().optional(),
|
|
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
119
119
|
file_name: z.string(),
|
|
120
120
|
workspace_id: z.string(),
|
|
121
121
|
created: z.string().datetime({ offset: true }).default(
|
|
122
|
-
"2025-11-
|
|
122
|
+
"2025-11-19T04:09:05.943Z",
|
|
123
123
|
).transform(v => new Date(v)),
|
|
124
124
|
}).transform((v) => {
|
|
125
125
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
152
152
|
bytes: z.number(),
|
|
153
153
|
fileName: z.string(),
|
|
154
154
|
workspaceId: z.string(),
|
|
155
|
-
created: z.date().default(() => new Date("2025-11-
|
|
155
|
+
created: z.date().default(() => new Date("2025-11-19T04:09:05.943Z"))
|
|
156
156
|
.transform(v => v.toISOString()),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2025-11-
|
|
160
|
+
"2025-11-19T04:09:05.943Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2025-11-
|
|
193
|
+
created: z.date().default(() => new Date("2025-11-19T04:09:05.943Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-11-
|
|
199
|
+
"2025-11-19T04:09:05.943Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-11-
|
|
232
|
+
created: z.date().default(() => new Date("2025-11-19T04:09:05.943Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|