@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
|
@@ -84,12 +84,12 @@ export type ListAgentsTools = {
|
|
|
84
84
|
key?: string | undefined;
|
|
85
85
|
actionType: string;
|
|
86
86
|
displayName?: string | undefined;
|
|
87
|
-
requiresApproval?: boolean | undefined;
|
|
88
|
-
conditions?: Array<ListAgentsConditions> | undefined;
|
|
89
87
|
/**
|
|
90
|
-
* Optional
|
|
88
|
+
* Optional tool description
|
|
91
89
|
*/
|
|
92
|
-
|
|
90
|
+
description?: string | undefined;
|
|
91
|
+
requiresApproval?: boolean | undefined;
|
|
92
|
+
conditions?: Array<ListAgentsConditions> | undefined;
|
|
93
93
|
/**
|
|
94
94
|
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
95
95
|
*/
|
|
@@ -244,7 +244,7 @@ export type ListAgentsResponseFormatJsonSchema = {
|
|
|
244
244
|
/**
|
|
245
245
|
* 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.
|
|
246
246
|
*/
|
|
247
|
-
strict?: boolean | undefined;
|
|
247
|
+
strict?: boolean | null | undefined;
|
|
248
248
|
};
|
|
249
249
|
|
|
250
250
|
/**
|
|
@@ -324,6 +324,20 @@ export const ListAgentsType = {
|
|
|
324
324
|
*/
|
|
325
325
|
export type ListAgentsType = ClosedEnum<typeof ListAgentsType>;
|
|
326
326
|
|
|
327
|
+
/**
|
|
328
|
+
* 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.
|
|
329
|
+
*/
|
|
330
|
+
export const ListAgentsThinkingLevel = {
|
|
331
|
+
Low: "low",
|
|
332
|
+
High: "high",
|
|
333
|
+
} as const;
|
|
334
|
+
/**
|
|
335
|
+
* 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.
|
|
336
|
+
*/
|
|
337
|
+
export type ListAgentsThinkingLevel = ClosedEnum<
|
|
338
|
+
typeof ListAgentsThinkingLevel
|
|
339
|
+
>;
|
|
340
|
+
|
|
327
341
|
export type ListAgentsThinking = {
|
|
328
342
|
/**
|
|
329
343
|
* Enables or disables the thinking mode capability
|
|
@@ -333,6 +347,10 @@ export type ListAgentsThinking = {
|
|
|
333
347
|
* 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`.
|
|
334
348
|
*/
|
|
335
349
|
budgetTokens: number;
|
|
350
|
+
/**
|
|
351
|
+
* 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.
|
|
352
|
+
*/
|
|
353
|
+
thinkingLevel?: ListAgentsThinkingLevel | undefined;
|
|
336
354
|
};
|
|
337
355
|
|
|
338
356
|
/**
|
|
@@ -566,7 +584,7 @@ export type ListAgentsResponseFormatAgentsResponseJsonSchema = {
|
|
|
566
584
|
/**
|
|
567
585
|
* 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.
|
|
568
586
|
*/
|
|
569
|
-
strict?: boolean | undefined;
|
|
587
|
+
strict?: boolean | null | undefined;
|
|
570
588
|
};
|
|
571
589
|
|
|
572
590
|
/**
|
|
@@ -650,6 +668,20 @@ export type ListAgentsFallbackModelConfigurationType = ClosedEnum<
|
|
|
650
668
|
typeof ListAgentsFallbackModelConfigurationType
|
|
651
669
|
>;
|
|
652
670
|
|
|
671
|
+
/**
|
|
672
|
+
* 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.
|
|
673
|
+
*/
|
|
674
|
+
export const ListAgentsFallbackModelConfigurationThinkingLevel = {
|
|
675
|
+
Low: "low",
|
|
676
|
+
High: "high",
|
|
677
|
+
} as const;
|
|
678
|
+
/**
|
|
679
|
+
* 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.
|
|
680
|
+
*/
|
|
681
|
+
export type ListAgentsFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
682
|
+
typeof ListAgentsFallbackModelConfigurationThinkingLevel
|
|
683
|
+
>;
|
|
684
|
+
|
|
653
685
|
export type ListAgentsFallbackModelConfigurationThinking = {
|
|
654
686
|
/**
|
|
655
687
|
* Enables or disables the thinking mode capability
|
|
@@ -659,6 +691,10 @@ export type ListAgentsFallbackModelConfigurationThinking = {
|
|
|
659
691
|
* 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`.
|
|
660
692
|
*/
|
|
661
693
|
budgetTokens: number;
|
|
694
|
+
/**
|
|
695
|
+
* 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.
|
|
696
|
+
*/
|
|
697
|
+
thinkingLevel?: ListAgentsFallbackModelConfigurationThinkingLevel | undefined;
|
|
662
698
|
};
|
|
663
699
|
|
|
664
700
|
/**
|
|
@@ -889,6 +925,7 @@ export type ListAgentsKnowledgeBases = {
|
|
|
889
925
|
export type ListAgentsData = {
|
|
890
926
|
id: string;
|
|
891
927
|
key: string;
|
|
928
|
+
displayName: string;
|
|
892
929
|
workspaceId: string;
|
|
893
930
|
projectId: string;
|
|
894
931
|
createdById?: string | null | undefined;
|
|
@@ -1081,10 +1118,10 @@ export const ListAgentsTools$inboundSchema: z.ZodType<
|
|
|
1081
1118
|
key: z.string().optional(),
|
|
1082
1119
|
action_type: z.string(),
|
|
1083
1120
|
display_name: z.string().optional(),
|
|
1121
|
+
description: z.string().optional(),
|
|
1084
1122
|
requires_approval: z.boolean().default(false),
|
|
1085
1123
|
conditions: z.array(z.lazy(() => ListAgentsConditions$inboundSchema))
|
|
1086
1124
|
.optional(),
|
|
1087
|
-
mcpServer: z.string().optional(),
|
|
1088
1125
|
timeout: z.number().default(120),
|
|
1089
1126
|
}).transform((v) => {
|
|
1090
1127
|
return remap$(v, {
|
|
@@ -1099,9 +1136,9 @@ export type ListAgentsTools$Outbound = {
|
|
|
1099
1136
|
key?: string | undefined;
|
|
1100
1137
|
action_type: string;
|
|
1101
1138
|
display_name?: string | undefined;
|
|
1139
|
+
description?: string | undefined;
|
|
1102
1140
|
requires_approval: boolean;
|
|
1103
1141
|
conditions?: Array<ListAgentsConditions$Outbound> | undefined;
|
|
1104
|
-
mcpServer?: string | undefined;
|
|
1105
1142
|
timeout: number;
|
|
1106
1143
|
};
|
|
1107
1144
|
|
|
@@ -1115,10 +1152,10 @@ export const ListAgentsTools$outboundSchema: z.ZodType<
|
|
|
1115
1152
|
key: z.string().optional(),
|
|
1116
1153
|
actionType: z.string(),
|
|
1117
1154
|
displayName: z.string().optional(),
|
|
1155
|
+
description: z.string().optional(),
|
|
1118
1156
|
requiresApproval: z.boolean().default(false),
|
|
1119
1157
|
conditions: z.array(z.lazy(() => ListAgentsConditions$outboundSchema))
|
|
1120
1158
|
.optional(),
|
|
1121
|
-
mcpServer: z.string().optional(),
|
|
1122
1159
|
timeout: z.number().default(120),
|
|
1123
1160
|
}).transform((v) => {
|
|
1124
1161
|
return remap$(v, {
|
|
@@ -1421,14 +1458,14 @@ export const ListAgentsResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1421
1458
|
description: z.string().optional(),
|
|
1422
1459
|
name: z.string(),
|
|
1423
1460
|
schema: z.any().optional(),
|
|
1424
|
-
strict: z.boolean().optional(),
|
|
1461
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1425
1462
|
});
|
|
1426
1463
|
/** @internal */
|
|
1427
1464
|
export type ListAgentsResponseFormatJsonSchema$Outbound = {
|
|
1428
1465
|
description?: string | undefined;
|
|
1429
1466
|
name: string;
|
|
1430
1467
|
schema?: any | undefined;
|
|
1431
|
-
strict?: boolean | undefined;
|
|
1468
|
+
strict?: boolean | null | undefined;
|
|
1432
1469
|
};
|
|
1433
1470
|
|
|
1434
1471
|
/** @internal */
|
|
@@ -1440,7 +1477,7 @@ export const ListAgentsResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1440
1477
|
description: z.string().optional(),
|
|
1441
1478
|
name: z.string(),
|
|
1442
1479
|
schema: z.any().optional(),
|
|
1443
|
-
strict: z.boolean().optional(),
|
|
1480
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1444
1481
|
});
|
|
1445
1482
|
|
|
1446
1483
|
export function listAgentsResponseFormatJsonSchemaToJSON(
|
|
@@ -1752,6 +1789,15 @@ export const ListAgentsType$outboundSchema: z.ZodNativeEnum<
|
|
|
1752
1789
|
typeof ListAgentsType
|
|
1753
1790
|
> = ListAgentsType$inboundSchema;
|
|
1754
1791
|
|
|
1792
|
+
/** @internal */
|
|
1793
|
+
export const ListAgentsThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1794
|
+
typeof ListAgentsThinkingLevel
|
|
1795
|
+
> = z.nativeEnum(ListAgentsThinkingLevel);
|
|
1796
|
+
/** @internal */
|
|
1797
|
+
export const ListAgentsThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1798
|
+
typeof ListAgentsThinkingLevel
|
|
1799
|
+
> = ListAgentsThinkingLevel$inboundSchema;
|
|
1800
|
+
|
|
1755
1801
|
/** @internal */
|
|
1756
1802
|
export const ListAgentsThinking$inboundSchema: z.ZodType<
|
|
1757
1803
|
ListAgentsThinking,
|
|
@@ -1760,15 +1806,18 @@ export const ListAgentsThinking$inboundSchema: z.ZodType<
|
|
|
1760
1806
|
> = z.object({
|
|
1761
1807
|
type: ListAgentsType$inboundSchema,
|
|
1762
1808
|
budget_tokens: z.number(),
|
|
1809
|
+
thinking_level: ListAgentsThinkingLevel$inboundSchema.optional(),
|
|
1763
1810
|
}).transform((v) => {
|
|
1764
1811
|
return remap$(v, {
|
|
1765
1812
|
"budget_tokens": "budgetTokens",
|
|
1813
|
+
"thinking_level": "thinkingLevel",
|
|
1766
1814
|
});
|
|
1767
1815
|
});
|
|
1768
1816
|
/** @internal */
|
|
1769
1817
|
export type ListAgentsThinking$Outbound = {
|
|
1770
1818
|
type: string;
|
|
1771
1819
|
budget_tokens: number;
|
|
1820
|
+
thinking_level?: string | undefined;
|
|
1772
1821
|
};
|
|
1773
1822
|
|
|
1774
1823
|
/** @internal */
|
|
@@ -1779,9 +1828,11 @@ export const ListAgentsThinking$outboundSchema: z.ZodType<
|
|
|
1779
1828
|
> = z.object({
|
|
1780
1829
|
type: ListAgentsType$outboundSchema,
|
|
1781
1830
|
budgetTokens: z.number(),
|
|
1831
|
+
thinkingLevel: ListAgentsThinkingLevel$outboundSchema.optional(),
|
|
1782
1832
|
}).transform((v) => {
|
|
1783
1833
|
return remap$(v, {
|
|
1784
1834
|
budgetTokens: "budget_tokens",
|
|
1835
|
+
thinkingLevel: "thinking_level",
|
|
1785
1836
|
});
|
|
1786
1837
|
});
|
|
1787
1838
|
|
|
@@ -2248,14 +2299,14 @@ export const ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema:
|
|
|
2248
2299
|
description: z.string().optional(),
|
|
2249
2300
|
name: z.string(),
|
|
2250
2301
|
schema: z.any().optional(),
|
|
2251
|
-
strict: z.boolean().optional(),
|
|
2302
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2252
2303
|
});
|
|
2253
2304
|
/** @internal */
|
|
2254
2305
|
export type ListAgentsResponseFormatAgentsResponseJsonSchema$Outbound = {
|
|
2255
2306
|
description?: string | undefined;
|
|
2256
2307
|
name: string;
|
|
2257
2308
|
schema?: any | undefined;
|
|
2258
|
-
strict?: boolean | undefined;
|
|
2309
|
+
strict?: boolean | null | undefined;
|
|
2259
2310
|
};
|
|
2260
2311
|
|
|
2261
2312
|
/** @internal */
|
|
@@ -2268,7 +2319,7 @@ export const ListAgentsResponseFormatAgentsResponseJsonSchema$outboundSchema:
|
|
|
2268
2319
|
description: z.string().optional(),
|
|
2269
2320
|
name: z.string(),
|
|
2270
2321
|
schema: z.any().optional(),
|
|
2271
|
-
strict: z.boolean().optional(),
|
|
2322
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2272
2323
|
});
|
|
2273
2324
|
|
|
2274
2325
|
export function listAgentsResponseFormatAgentsResponseJsonSchemaToJSON(
|
|
@@ -2649,6 +2700,15 @@ export const ListAgentsFallbackModelConfigurationType$outboundSchema:
|
|
|
2649
2700
|
z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationType> =
|
|
2650
2701
|
ListAgentsFallbackModelConfigurationType$inboundSchema;
|
|
2651
2702
|
|
|
2703
|
+
/** @internal */
|
|
2704
|
+
export const ListAgentsFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
2705
|
+
z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationThinkingLevel> = z
|
|
2706
|
+
.nativeEnum(ListAgentsFallbackModelConfigurationThinkingLevel);
|
|
2707
|
+
/** @internal */
|
|
2708
|
+
export const ListAgentsFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
2709
|
+
z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationThinkingLevel> =
|
|
2710
|
+
ListAgentsFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
2711
|
+
|
|
2652
2712
|
/** @internal */
|
|
2653
2713
|
export const ListAgentsFallbackModelConfigurationThinking$inboundSchema:
|
|
2654
2714
|
z.ZodType<
|
|
@@ -2658,15 +2718,20 @@ export const ListAgentsFallbackModelConfigurationThinking$inboundSchema:
|
|
|
2658
2718
|
> = z.object({
|
|
2659
2719
|
type: ListAgentsFallbackModelConfigurationType$inboundSchema,
|
|
2660
2720
|
budget_tokens: z.number(),
|
|
2721
|
+
thinking_level:
|
|
2722
|
+
ListAgentsFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
2723
|
+
.optional(),
|
|
2661
2724
|
}).transform((v) => {
|
|
2662
2725
|
return remap$(v, {
|
|
2663
2726
|
"budget_tokens": "budgetTokens",
|
|
2727
|
+
"thinking_level": "thinkingLevel",
|
|
2664
2728
|
});
|
|
2665
2729
|
});
|
|
2666
2730
|
/** @internal */
|
|
2667
2731
|
export type ListAgentsFallbackModelConfigurationThinking$Outbound = {
|
|
2668
2732
|
type: string;
|
|
2669
2733
|
budget_tokens: number;
|
|
2734
|
+
thinking_level?: string | undefined;
|
|
2670
2735
|
};
|
|
2671
2736
|
|
|
2672
2737
|
/** @internal */
|
|
@@ -2678,9 +2743,13 @@ export const ListAgentsFallbackModelConfigurationThinking$outboundSchema:
|
|
|
2678
2743
|
> = z.object({
|
|
2679
2744
|
type: ListAgentsFallbackModelConfigurationType$outboundSchema,
|
|
2680
2745
|
budgetTokens: z.number(),
|
|
2746
|
+
thinkingLevel:
|
|
2747
|
+
ListAgentsFallbackModelConfigurationThinkingLevel$outboundSchema
|
|
2748
|
+
.optional(),
|
|
2681
2749
|
}).transform((v) => {
|
|
2682
2750
|
return remap$(v, {
|
|
2683
2751
|
budgetTokens: "budget_tokens",
|
|
2752
|
+
thinkingLevel: "thinking_level",
|
|
2684
2753
|
});
|
|
2685
2754
|
});
|
|
2686
2755
|
|
|
@@ -3371,6 +3440,7 @@ export const ListAgentsData$inboundSchema: z.ZodType<
|
|
|
3371
3440
|
> = z.object({
|
|
3372
3441
|
_id: z.string(),
|
|
3373
3442
|
key: z.string(),
|
|
3443
|
+
display_name: z.string(),
|
|
3374
3444
|
workspace_id: z.string(),
|
|
3375
3445
|
project_id: z.string(),
|
|
3376
3446
|
created_by_id: z.nullable(z.string()).optional(),
|
|
@@ -3395,6 +3465,7 @@ export const ListAgentsData$inboundSchema: z.ZodType<
|
|
|
3395
3465
|
}).transform((v) => {
|
|
3396
3466
|
return remap$(v, {
|
|
3397
3467
|
"_id": "id",
|
|
3468
|
+
"display_name": "displayName",
|
|
3398
3469
|
"workspace_id": "workspaceId",
|
|
3399
3470
|
"project_id": "projectId",
|
|
3400
3471
|
"created_by_id": "createdById",
|
|
@@ -3410,6 +3481,7 @@ export const ListAgentsData$inboundSchema: z.ZodType<
|
|
|
3410
3481
|
export type ListAgentsData$Outbound = {
|
|
3411
3482
|
_id: string;
|
|
3412
3483
|
key: string;
|
|
3484
|
+
display_name: string;
|
|
3413
3485
|
workspace_id: string;
|
|
3414
3486
|
project_id: string;
|
|
3415
3487
|
created_by_id?: string | null | undefined;
|
|
@@ -3440,6 +3512,7 @@ export const ListAgentsData$outboundSchema: z.ZodType<
|
|
|
3440
3512
|
> = z.object({
|
|
3441
3513
|
id: z.string(),
|
|
3442
3514
|
key: z.string(),
|
|
3515
|
+
displayName: z.string(),
|
|
3443
3516
|
workspaceId: z.string(),
|
|
3444
3517
|
projectId: z.string(),
|
|
3445
3518
|
createdById: z.nullable(z.string()).optional(),
|
|
@@ -3464,6 +3537,7 @@ export const ListAgentsData$outboundSchema: z.ZodType<
|
|
|
3464
3537
|
}).transform((v) => {
|
|
3465
3538
|
return remap$(v, {
|
|
3466
3539
|
id: "_id",
|
|
3540
|
+
displayName: "display_name",
|
|
3467
3541
|
workspaceId: "workspace_id",
|
|
3468
3542
|
projectId: "project_id",
|
|
3469
3543
|
createdById: "created_by_id",
|
|
@@ -381,7 +381,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
|
|
|
381
381
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
382
382
|
.optional(),
|
|
383
383
|
updated: z.string().datetime({ offset: true }).default(
|
|
384
|
-
"2025-11-
|
|
384
|
+
"2025-11-19T04:09:03.217Z",
|
|
385
385
|
).transform(v => new Date(v)),
|
|
386
386
|
}).transform((v) => {
|
|
387
387
|
return remap$(v, {
|
|
@@ -415,7 +415,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
|
|
|
415
415
|
isActive: z.boolean(),
|
|
416
416
|
consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
|
|
417
417
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
418
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
418
|
+
updated: z.date().default(() => new Date("2025-11-19T04:09:03.217Z"))
|
|
419
419
|
.transform(v => v.toISOString()),
|
|
420
420
|
}).transform((v) => {
|
|
421
421
|
return remap$(v, {
|
|
@@ -298,7 +298,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
298
298
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
299
299
|
.optional(),
|
|
300
300
|
updated: z.string().datetime({ offset: true }).default(
|
|
301
|
-
"2025-11-
|
|
301
|
+
"2025-11-19T04:09:02.872Z",
|
|
302
302
|
).transform(v => new Date(v)),
|
|
303
303
|
metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
|
|
304
304
|
}).transform((v) => {
|
|
@@ -334,7 +334,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
334
334
|
tags: z.array(z.string()).optional(),
|
|
335
335
|
metadata: z.record(z.any()).optional(),
|
|
336
336
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
337
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
337
|
+
updated: z.date().default(() => new Date("2025-11-19T04:09:02.872Z"))
|
|
338
338
|
.transform(v => v.toISOString()),
|
|
339
339
|
metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
|
|
340
340
|
}).transform((v) => {
|
|
@@ -2622,7 +2622,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
2622
2622
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
2623
2623
|
reviewed_by_id: z.string(),
|
|
2624
2624
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2625
|
-
"2025-11-
|
|
2625
|
+
"2025-11-19T04:09:14.313Z",
|
|
2626
2626
|
).transform(v => new Date(v)),
|
|
2627
2627
|
type: ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema,
|
|
2628
2628
|
values: z.array(z.string()),
|
|
@@ -2657,7 +2657,7 @@ export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
|
|
|
2657
2657
|
humanReviewId: z.string(),
|
|
2658
2658
|
source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
|
|
2659
2659
|
reviewedById: z.string(),
|
|
2660
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
2660
|
+
reviewedAt: z.date().default(() => new Date("2025-11-19T04:09:14.313Z"))
|
|
2661
2661
|
.transform(v => v.toISOString()),
|
|
2662
2662
|
type: ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema,
|
|
2663
2663
|
values: z.array(z.string()),
|
|
@@ -2738,7 +2738,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
2738
2738
|
.default("orq"),
|
|
2739
2739
|
reviewed_by_id: z.string(),
|
|
2740
2740
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2741
|
-
"2025-11-
|
|
2741
|
+
"2025-11-19T04:09:14.312Z",
|
|
2742
2742
|
).transform(v => new Date(v)),
|
|
2743
2743
|
type: ListDatasetDatapointsEvaluationsType$inboundSchema,
|
|
2744
2744
|
value: z.number(),
|
|
@@ -2775,7 +2775,7 @@ export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
|
|
|
2775
2775
|
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
|
|
2776
2776
|
.default("orq"),
|
|
2777
2777
|
reviewedById: z.string(),
|
|
2778
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
2778
|
+
reviewedAt: z.date().default(() => new Date("2025-11-19T04:09:14.312Z"))
|
|
2779
2779
|
.transform(v => v.toISOString()),
|
|
2780
2780
|
type: ListDatasetDatapointsEvaluationsType$outboundSchema,
|
|
2781
2781
|
value: z.number(),
|
|
@@ -2851,7 +2851,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
2851
2851
|
),
|
|
2852
2852
|
reviewed_by_id: z.string(),
|
|
2853
2853
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2854
|
-
"2025-11-
|
|
2854
|
+
"2025-11-19T04:09:14.312Z",
|
|
2855
2855
|
).transform(v => new Date(v)),
|
|
2856
2856
|
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema,
|
|
2857
2857
|
value: z.string(),
|
|
@@ -2889,7 +2889,7 @@ export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
|
|
|
2889
2889
|
"orq",
|
|
2890
2890
|
),
|
|
2891
2891
|
reviewedById: z.string(),
|
|
2892
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
2892
|
+
reviewedAt: z.date().default(() => new Date("2025-11-19T04:09:14.312Z"))
|
|
2893
2893
|
.transform(v => v.toISOString()),
|
|
2894
2894
|
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema,
|
|
2895
2895
|
value: z.string(),
|
|
@@ -3002,7 +3002,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
3002
3002
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3003
3003
|
.optional(),
|
|
3004
3004
|
updated: z.string().datetime({ offset: true }).default(
|
|
3005
|
-
"2025-11-
|
|
3005
|
+
"2025-11-19T04:09:02.872Z",
|
|
3006
3006
|
).transform(v => new Date(v)),
|
|
3007
3007
|
}).transform((v) => {
|
|
3008
3008
|
return remap$(v, {
|
|
@@ -3082,7 +3082,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
3082
3082
|
createdById: z.string().optional(),
|
|
3083
3083
|
updatedById: z.string().optional(),
|
|
3084
3084
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3085
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
3085
|
+
updated: z.date().default(() => new Date("2025-11-19T04:09:02.872Z"))
|
|
3086
3086
|
.transform(v => v.toISOString()),
|
|
3087
3087
|
}).transform((v) => {
|
|
3088
3088
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const ListDatasetsData$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-11-
|
|
214
|
+
"2025-11-19T04:09:02.872Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
250
250
|
createdById: z.string().optional(),
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
253
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
253
|
+
updated: z.date().default(() => new Date("2025-11-19T04:09:02.872Z"))
|
|
254
254
|
.transform(v => v.toISOString()),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -19,10 +19,6 @@ export type ListDatasourcesRequest = {
|
|
|
19
19
|
* Unique identifier of the knowledge base
|
|
20
20
|
*/
|
|
21
21
|
knowledgeId: string;
|
|
22
|
-
/**
|
|
23
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
24
|
-
*/
|
|
25
|
-
limit?: number | undefined;
|
|
26
22
|
/**
|
|
27
23
|
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
28
24
|
*/
|
|
@@ -35,6 +31,10 @@ export type ListDatasourcesRequest = {
|
|
|
35
31
|
* Search query to find datasources by name.
|
|
36
32
|
*/
|
|
37
33
|
q?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
36
|
+
*/
|
|
37
|
+
limit?: number | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* Filter datasources by status.
|
|
40
40
|
*/
|
|
@@ -148,10 +148,10 @@ export const ListDatasourcesRequest$inboundSchema: z.ZodType<
|
|
|
148
148
|
unknown
|
|
149
149
|
> = z.object({
|
|
150
150
|
knowledge_id: z.string(),
|
|
151
|
-
limit: z.number().default(10),
|
|
152
151
|
starting_after: z.string().optional(),
|
|
153
152
|
ending_before: z.string().optional(),
|
|
154
153
|
q: z.string().optional(),
|
|
154
|
+
limit: z.number().default(50),
|
|
155
155
|
status: z.union([z.array(z.string()), z.string()]).optional(),
|
|
156
156
|
}).transform((v) => {
|
|
157
157
|
return remap$(v, {
|
|
@@ -163,10 +163,10 @@ export const ListDatasourcesRequest$inboundSchema: z.ZodType<
|
|
|
163
163
|
/** @internal */
|
|
164
164
|
export type ListDatasourcesRequest$Outbound = {
|
|
165
165
|
knowledge_id: string;
|
|
166
|
-
limit: number;
|
|
167
166
|
starting_after?: string | undefined;
|
|
168
167
|
ending_before?: string | undefined;
|
|
169
168
|
q?: string | undefined;
|
|
169
|
+
limit: number;
|
|
170
170
|
status?: Array<string> | string | undefined;
|
|
171
171
|
};
|
|
172
172
|
|
|
@@ -177,10 +177,10 @@ export const ListDatasourcesRequest$outboundSchema: z.ZodType<
|
|
|
177
177
|
ListDatasourcesRequest
|
|
178
178
|
> = z.object({
|
|
179
179
|
knowledgeId: z.string(),
|
|
180
|
-
limit: z.number().default(10),
|
|
181
180
|
startingAfter: z.string().optional(),
|
|
182
181
|
endingBefore: z.string().optional(),
|
|
183
182
|
q: z.string().optional(),
|
|
183
|
+
limit: z.number().default(50),
|
|
184
184
|
status: z.union([z.array(z.string()), z.string()]).optional(),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -231,7 +231,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
231
231
|
z.ZodTypeDef,
|
|
232
232
|
unknown
|
|
233
233
|
> = z.object({
|
|
234
|
-
_id: z.string().default("
|
|
234
|
+
_id: z.string().default("01KAD4TRQHANKPH6VBV972DXYC"),
|
|
235
235
|
display_name: z.string(),
|
|
236
236
|
description: z.string().optional(),
|
|
237
237
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -274,7 +274,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
274
274
|
z.ZodTypeDef,
|
|
275
275
|
ListDatasourcesData
|
|
276
276
|
> = z.object({
|
|
277
|
-
id: z.string().default("
|
|
277
|
+
id: z.string().default("01KAD4TRQHANKPH6VBV972DXYC"),
|
|
278
278
|
displayName: z.string(),
|
|
279
279
|
description: z.string().optional(),
|
|
280
280
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -222,6 +222,20 @@ export type ListPromptVersionsVerbosity = ClosedEnum<
|
|
|
222
222
|
typeof ListPromptVersionsVerbosity
|
|
223
223
|
>;
|
|
224
224
|
|
|
225
|
+
/**
|
|
226
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
227
|
+
*/
|
|
228
|
+
export const ListPromptVersionsThinkingLevel = {
|
|
229
|
+
Low: "low",
|
|
230
|
+
High: "high",
|
|
231
|
+
} as const;
|
|
232
|
+
/**
|
|
233
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
234
|
+
*/
|
|
235
|
+
export type ListPromptVersionsThinkingLevel = ClosedEnum<
|
|
236
|
+
typeof ListPromptVersionsThinkingLevel
|
|
237
|
+
>;
|
|
238
|
+
|
|
225
239
|
/**
|
|
226
240
|
* Model Parameters: Not all parameters apply to every model
|
|
227
241
|
*/
|
|
@@ -314,6 +328,10 @@ export type ListPromptVersionsModelParameters = {
|
|
|
314
328
|
* Controls the verbosity of the model output.
|
|
315
329
|
*/
|
|
316
330
|
verbosity?: ListPromptVersionsVerbosity | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
333
|
+
*/
|
|
334
|
+
thinkingLevel?: ListPromptVersionsThinkingLevel | undefined;
|
|
317
335
|
};
|
|
318
336
|
|
|
319
337
|
export const ListPromptVersionsProvider = {
|
|
@@ -1036,6 +1054,15 @@ export const ListPromptVersionsVerbosity$outboundSchema: z.ZodNativeEnum<
|
|
|
1036
1054
|
typeof ListPromptVersionsVerbosity
|
|
1037
1055
|
> = ListPromptVersionsVerbosity$inboundSchema;
|
|
1038
1056
|
|
|
1057
|
+
/** @internal */
|
|
1058
|
+
export const ListPromptVersionsThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1059
|
+
typeof ListPromptVersionsThinkingLevel
|
|
1060
|
+
> = z.nativeEnum(ListPromptVersionsThinkingLevel);
|
|
1061
|
+
/** @internal */
|
|
1062
|
+
export const ListPromptVersionsThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1063
|
+
typeof ListPromptVersionsThinkingLevel
|
|
1064
|
+
> = ListPromptVersionsThinkingLevel$inboundSchema;
|
|
1065
|
+
|
|
1039
1066
|
/** @internal */
|
|
1040
1067
|
export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
|
|
1041
1068
|
ListPromptVersionsModelParameters,
|
|
@@ -1069,6 +1096,7 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
|
|
|
1069
1096
|
reasoningEffort: ListPromptVersionsReasoningEffort$inboundSchema.optional(),
|
|
1070
1097
|
budgetTokens: z.number().optional(),
|
|
1071
1098
|
verbosity: ListPromptVersionsVerbosity$inboundSchema.optional(),
|
|
1099
|
+
thinkingLevel: ListPromptVersionsThinkingLevel$inboundSchema.optional(),
|
|
1072
1100
|
}).transform((v) => {
|
|
1073
1101
|
return remap$(v, {
|
|
1074
1102
|
"encoding_format": "encodingFormat",
|
|
@@ -1102,6 +1130,7 @@ export type ListPromptVersionsModelParameters$Outbound = {
|
|
|
1102
1130
|
reasoningEffort?: string | undefined;
|
|
1103
1131
|
budgetTokens?: number | undefined;
|
|
1104
1132
|
verbosity?: string | undefined;
|
|
1133
|
+
thinkingLevel?: string | undefined;
|
|
1105
1134
|
};
|
|
1106
1135
|
|
|
1107
1136
|
/** @internal */
|
|
@@ -1138,6 +1167,7 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
|
|
|
1138
1167
|
reasoningEffort: ListPromptVersionsReasoningEffort$outboundSchema.optional(),
|
|
1139
1168
|
budgetTokens: z.number().optional(),
|
|
1140
1169
|
verbosity: ListPromptVersionsVerbosity$outboundSchema.optional(),
|
|
1170
|
+
thinkingLevel: ListPromptVersionsThinkingLevel$outboundSchema.optional(),
|
|
1141
1171
|
}).transform((v) => {
|
|
1142
1172
|
return remap$(v, {
|
|
1143
1173
|
encodingFormat: "encoding_format",
|
|
@@ -112,7 +112,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
112
112
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
113
113
|
.optional(),
|
|
114
114
|
updated: z.string().datetime({ offset: true }).default(
|
|
115
|
-
"2025-11-
|
|
115
|
+
"2025-11-19T04:09:02.872Z",
|
|
116
116
|
).transform(v => new Date(v)),
|
|
117
117
|
}).transform((v) => {
|
|
118
118
|
return remap$(v, {
|
|
@@ -149,7 +149,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
149
149
|
tags: z.array(z.string()).optional(),
|
|
150
150
|
metadata: z.record(z.any()).optional(),
|
|
151
151
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
152
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
152
|
+
updated: z.date().default(() => new Date("2025-11-19T04:09:02.872Z"))
|
|
153
153
|
.transform(v => v.toISOString()),
|
|
154
154
|
}).transform((v) => {
|
|
155
155
|
return remap$(v, {
|