@orq-ai/node 4.1.0-rc.33 → 4.1.0-rc.35
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/README.md +27 -23
- package/bin/mcp-server.js +6400 -6141
- package/bin/mcp-server.js.map +66 -58
- package/examples/package-lock.json +1 -1
- package/funcs/conversationsGenerateName.d.ts +18 -0
- package/funcs/conversationsGenerateName.d.ts.map +1 -0
- package/funcs/conversationsGenerateName.js +128 -0
- package/funcs/conversationsGenerateName.js.map +1 -0
- 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.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.js +66 -0
- package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
- package/models/components/agentresponsemessage.d.ts +56 -0
- package/models/components/agentresponsemessage.d.ts.map +1 -0
- package/models/components/agentresponsemessage.js +116 -0
- package/models/components/agentresponsemessage.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +6 -6
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +11 -12
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/conversationresponse.d.ts +39 -5
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +52 -8
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/createagentresponse.d.ts +124 -0
- package/models/components/createagentresponse.d.ts.map +1 -0
- package/models/components/createagentresponse.js +191 -0
- package/models/components/createagentresponse.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +8 -8
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +13 -11
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/components/responsedoneevent.d.ts +24 -24
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +31 -32
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/thinkingconfigdisabledschema.d.ts +23 -0
- package/models/components/thinkingconfigdisabledschema.d.ts.map +1 -0
- package/models/components/thinkingconfigdisabledschema.js +58 -0
- package/models/components/thinkingconfigdisabledschema.js.map +1 -0
- package/models/components/thinkingconfigenabledschema.d.ts +49 -0
- package/models/components/thinkingconfigenabledschema.d.ts.map +1 -0
- package/models/components/thinkingconfigenabledschema.js +84 -0
- package/models/components/thinkingconfigenabledschema.js.map +1 -0
- package/models/errors/generateconversationname.d.ts +55 -0
- package/models/errors/generateconversationname.d.ts.map +1 -0
- package/models/errors/generateconversationname.js +106 -0
- package/models/errors/generateconversationname.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +17 -204
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +75 -194
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +22 -166
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +32 -227
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.d.ts +62 -8
- package/models/operations/createconversation.d.ts.map +1 -1
- package/models/operations/createconversation.js +94 -10
- package/models/operations/createconversation.js.map +1 -1
- 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.js +28 -28
- package/models/operations/createprompt.d.ts +10 -10
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +13 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.d.ts +136 -0
- package/models/operations/generateconversationname.d.ts.map +1 -0
- package/models/operations/generateconversationname.js +179 -0
- package/models/operations/generateconversationname.js.map +1 -0
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +6 -6
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +10 -9
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +9 -102
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +38 -97
- package/models/operations/listagents.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.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +9 -102
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +38 -97
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.d.ts +39 -5
- package/models/operations/retrieveconversation.d.ts.map +1 -1
- package/models/operations/retrieveconversation.js +53 -8
- package/models/operations/retrieveconversation.js.map +1 -1
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +8 -102
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +41 -104
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +8 -102
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +41 -103
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +17 -204
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +75 -193
- 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/updateconversation.d.ts +63 -6
- package/models/operations/updateconversation.d.ts.map +1 -1
- package/models/operations/updateconversation.js +93 -9
- package/models/operations/updateconversation.js.map +1 -1
- 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/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/conversations.d.ts +7 -0
- package/sdk/conversations.d.ts.map +1 -1
- package/sdk/conversations.js +10 -0
- package/sdk/conversations.js.map +1 -1
- package/src/funcs/conversationsGenerateName.ts +194 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
- package/src/models/components/agentresponsemessage.ts +185 -0
- package/src/models/components/agentstartedstreamingevent.ts +30 -21
- package/src/models/components/conversationresponse.ts +100 -12
- package/src/models/components/createagentresponse.ts +340 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/invokedeploymentrequest.ts +25 -17
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/components/responsedoneevent.ts +93 -68
- package/src/models/components/thinkingconfigdisabledschema.ts +59 -0
- package/src/models/components/thinkingconfigenabledschema.ts +106 -0
- package/src/models/errors/generateconversationname.ts +132 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/createagentrequest.ts +123 -369
- package/src/models/operations/createagentresponserequest.ts +71 -513
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +192 -17
- 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 +28 -28
- package/src/models/operations/createprompt.ts +23 -25
- package/src/models/operations/createtool.ts +12 -12
- 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/generateconversationname.ts +341 -0
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/invokeagent.ts +19 -26
- package/src/models/operations/listagents.ts +63 -186
- 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 +2 -2
- package/src/models/operations/retrieveagentrequest.ts +61 -194
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +107 -12
- 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/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +64 -194
- package/src/models/operations/streamrunagent.ts +62 -201
- package/src/models/operations/updateagent.ts +123 -379
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +192 -14
- 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/updatetool.ts +14 -14
- package/src/sdk/conversations.ts +20 -0
|
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as components from "../components/index.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
|
|
12
13
|
export type ListAgentsRequest = {
|
|
@@ -295,46 +296,9 @@ export type ListAgentsStreamOptions = {
|
|
|
295
296
|
includeUsage?: boolean | undefined;
|
|
296
297
|
};
|
|
297
298
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
export const ListAgentsType = {
|
|
302
|
-
Enabled: "enabled",
|
|
303
|
-
Disabled: "disabled",
|
|
304
|
-
} as const;
|
|
305
|
-
/**
|
|
306
|
-
* Enables or disables the thinking mode capability
|
|
307
|
-
*/
|
|
308
|
-
export type ListAgentsType = ClosedEnum<typeof ListAgentsType>;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* 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.
|
|
312
|
-
*/
|
|
313
|
-
export const ListAgentsThinkingLevel = {
|
|
314
|
-
Low: "low",
|
|
315
|
-
High: "high",
|
|
316
|
-
} as const;
|
|
317
|
-
/**
|
|
318
|
-
* 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.
|
|
319
|
-
*/
|
|
320
|
-
export type ListAgentsThinkingLevel = ClosedEnum<
|
|
321
|
-
typeof ListAgentsThinkingLevel
|
|
322
|
-
>;
|
|
323
|
-
|
|
324
|
-
export type ListAgentsThinking = {
|
|
325
|
-
/**
|
|
326
|
-
* Enables or disables the thinking mode capability
|
|
327
|
-
*/
|
|
328
|
-
type: ListAgentsType;
|
|
329
|
-
/**
|
|
330
|
-
* 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`.
|
|
331
|
-
*/
|
|
332
|
-
budgetTokens: number;
|
|
333
|
-
/**
|
|
334
|
-
* 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.
|
|
335
|
-
*/
|
|
336
|
-
thinkingLevel?: ListAgentsThinkingLevel | undefined;
|
|
337
|
-
};
|
|
299
|
+
export type ListAgentsThinking =
|
|
300
|
+
| components.ThinkingConfigDisabledSchema
|
|
301
|
+
| components.ThinkingConfigEnabledSchema;
|
|
338
302
|
|
|
339
303
|
/**
|
|
340
304
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -452,7 +416,10 @@ export type ListAgentsParameters = {
|
|
|
452
416
|
* Options for streaming response. Only set this when you set stream: true.
|
|
453
417
|
*/
|
|
454
418
|
streamOptions?: ListAgentsStreamOptions | null | undefined;
|
|
455
|
-
thinking?:
|
|
419
|
+
thinking?:
|
|
420
|
+
| components.ThinkingConfigDisabledSchema
|
|
421
|
+
| components.ThinkingConfigEnabledSchema
|
|
422
|
+
| undefined;
|
|
456
423
|
/**
|
|
457
424
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
458
425
|
*/
|
|
@@ -612,48 +579,9 @@ export type ListAgentsFallbackModelConfigurationStreamOptions = {
|
|
|
612
579
|
includeUsage?: boolean | undefined;
|
|
613
580
|
};
|
|
614
581
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
export const ListAgentsFallbackModelConfigurationType = {
|
|
619
|
-
Enabled: "enabled",
|
|
620
|
-
Disabled: "disabled",
|
|
621
|
-
} as const;
|
|
622
|
-
/**
|
|
623
|
-
* Enables or disables the thinking mode capability
|
|
624
|
-
*/
|
|
625
|
-
export type ListAgentsFallbackModelConfigurationType = ClosedEnum<
|
|
626
|
-
typeof ListAgentsFallbackModelConfigurationType
|
|
627
|
-
>;
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* 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.
|
|
631
|
-
*/
|
|
632
|
-
export const ListAgentsFallbackModelConfigurationThinkingLevel = {
|
|
633
|
-
Low: "low",
|
|
634
|
-
High: "high",
|
|
635
|
-
} as const;
|
|
636
|
-
/**
|
|
637
|
-
* 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.
|
|
638
|
-
*/
|
|
639
|
-
export type ListAgentsFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
640
|
-
typeof ListAgentsFallbackModelConfigurationThinkingLevel
|
|
641
|
-
>;
|
|
642
|
-
|
|
643
|
-
export type ListAgentsFallbackModelConfigurationThinking = {
|
|
644
|
-
/**
|
|
645
|
-
* Enables or disables the thinking mode capability
|
|
646
|
-
*/
|
|
647
|
-
type: ListAgentsFallbackModelConfigurationType;
|
|
648
|
-
/**
|
|
649
|
-
* 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`.
|
|
650
|
-
*/
|
|
651
|
-
budgetTokens: number;
|
|
652
|
-
/**
|
|
653
|
-
* 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.
|
|
654
|
-
*/
|
|
655
|
-
thinkingLevel?: ListAgentsFallbackModelConfigurationThinkingLevel | undefined;
|
|
656
|
-
};
|
|
582
|
+
export type ListAgentsFallbackModelConfigurationThinking =
|
|
583
|
+
| components.ThinkingConfigDisabledSchema
|
|
584
|
+
| components.ThinkingConfigEnabledSchema;
|
|
657
585
|
|
|
658
586
|
/**
|
|
659
587
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -778,7 +706,10 @@ export type ListAgentsFallbackModelConfigurationParameters = {
|
|
|
778
706
|
| ListAgentsFallbackModelConfigurationStreamOptions
|
|
779
707
|
| null
|
|
780
708
|
| undefined;
|
|
781
|
-
thinking?:
|
|
709
|
+
thinking?:
|
|
710
|
+
| components.ThinkingConfigDisabledSchema
|
|
711
|
+
| components.ThinkingConfigEnabledSchema
|
|
712
|
+
| undefined;
|
|
782
713
|
/**
|
|
783
714
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
784
715
|
*/
|
|
@@ -1279,7 +1210,7 @@ export const ListAgentsSettings$inboundSchema: z.ZodType<
|
|
|
1279
1210
|
unknown
|
|
1280
1211
|
> = z.object({
|
|
1281
1212
|
max_iterations: z.number().int().default(100),
|
|
1282
|
-
max_execution_time: z.number().int().default(
|
|
1213
|
+
max_execution_time: z.number().int().default(600),
|
|
1283
1214
|
tool_approval_required: ListAgentsToolApprovalRequired$inboundSchema.default(
|
|
1284
1215
|
"respect_tool",
|
|
1285
1216
|
),
|
|
@@ -1312,7 +1243,7 @@ export const ListAgentsSettings$outboundSchema: z.ZodType<
|
|
|
1312
1243
|
ListAgentsSettings
|
|
1313
1244
|
> = z.object({
|
|
1314
1245
|
maxIterations: z.number().int().default(100),
|
|
1315
|
-
maxExecutionTime: z.number().int().default(
|
|
1246
|
+
maxExecutionTime: z.number().int().default(600),
|
|
1316
1247
|
toolApprovalRequired: ListAgentsToolApprovalRequired$outboundSchema.default(
|
|
1317
1248
|
"respect_tool",
|
|
1318
1249
|
),
|
|
@@ -1717,61 +1648,29 @@ export function listAgentsStreamOptionsFromJSON(
|
|
|
1717
1648
|
);
|
|
1718
1649
|
}
|
|
1719
1650
|
|
|
1720
|
-
/** @internal */
|
|
1721
|
-
export const ListAgentsType$inboundSchema: z.ZodNativeEnum<
|
|
1722
|
-
typeof ListAgentsType
|
|
1723
|
-
> = z.nativeEnum(ListAgentsType);
|
|
1724
|
-
/** @internal */
|
|
1725
|
-
export const ListAgentsType$outboundSchema: z.ZodNativeEnum<
|
|
1726
|
-
typeof ListAgentsType
|
|
1727
|
-
> = ListAgentsType$inboundSchema;
|
|
1728
|
-
|
|
1729
|
-
/** @internal */
|
|
1730
|
-
export const ListAgentsThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1731
|
-
typeof ListAgentsThinkingLevel
|
|
1732
|
-
> = z.nativeEnum(ListAgentsThinkingLevel);
|
|
1733
|
-
/** @internal */
|
|
1734
|
-
export const ListAgentsThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1735
|
-
typeof ListAgentsThinkingLevel
|
|
1736
|
-
> = ListAgentsThinkingLevel$inboundSchema;
|
|
1737
|
-
|
|
1738
1651
|
/** @internal */
|
|
1739
1652
|
export const ListAgentsThinking$inboundSchema: z.ZodType<
|
|
1740
1653
|
ListAgentsThinking,
|
|
1741
1654
|
z.ZodTypeDef,
|
|
1742
1655
|
unknown
|
|
1743
|
-
> = z.
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
}).transform((v) => {
|
|
1748
|
-
return remap$(v, {
|
|
1749
|
-
"budget_tokens": "budgetTokens",
|
|
1750
|
-
"thinking_level": "thinkingLevel",
|
|
1751
|
-
});
|
|
1752
|
-
});
|
|
1656
|
+
> = z.union([
|
|
1657
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
1658
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
1659
|
+
]);
|
|
1753
1660
|
/** @internal */
|
|
1754
|
-
export type ListAgentsThinking$Outbound =
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
thinking_level?: string | undefined;
|
|
1758
|
-
};
|
|
1661
|
+
export type ListAgentsThinking$Outbound =
|
|
1662
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
1663
|
+
| components.ThinkingConfigEnabledSchema$Outbound;
|
|
1759
1664
|
|
|
1760
1665
|
/** @internal */
|
|
1761
1666
|
export const ListAgentsThinking$outboundSchema: z.ZodType<
|
|
1762
1667
|
ListAgentsThinking$Outbound,
|
|
1763
1668
|
z.ZodTypeDef,
|
|
1764
1669
|
ListAgentsThinking
|
|
1765
|
-
> = z.
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
}).transform((v) => {
|
|
1770
|
-
return remap$(v, {
|
|
1771
|
-
budgetTokens: "budget_tokens",
|
|
1772
|
-
thinkingLevel: "thinking_level",
|
|
1773
|
-
});
|
|
1774
|
-
});
|
|
1670
|
+
> = z.union([
|
|
1671
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
1672
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
1673
|
+
]);
|
|
1775
1674
|
|
|
1776
1675
|
export function listAgentsThinkingToJSON(
|
|
1777
1676
|
listAgentsThinking: ListAgentsThinking,
|
|
@@ -1967,7 +1866,10 @@ export const ListAgentsParameters$inboundSchema: z.ZodType<
|
|
|
1967
1866
|
stream_options: z.nullable(
|
|
1968
1867
|
z.lazy(() => ListAgentsStreamOptions$inboundSchema),
|
|
1969
1868
|
).optional(),
|
|
1970
|
-
thinking: z.
|
|
1869
|
+
thinking: z.union([
|
|
1870
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
1871
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
1872
|
+
]).optional(),
|
|
1971
1873
|
temperature: z.nullable(z.number()).optional(),
|
|
1972
1874
|
top_p: z.nullable(z.number()).optional(),
|
|
1973
1875
|
top_k: z.nullable(z.number()).optional(),
|
|
@@ -2014,7 +1916,10 @@ export type ListAgentsParameters$Outbound = {
|
|
|
2014
1916
|
seed?: number | null | undefined;
|
|
2015
1917
|
stop?: string | Array<string> | null | undefined;
|
|
2016
1918
|
stream_options?: ListAgentsStreamOptions$Outbound | null | undefined;
|
|
2017
|
-
thinking?:
|
|
1919
|
+
thinking?:
|
|
1920
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
1921
|
+
| components.ThinkingConfigEnabledSchema$Outbound
|
|
1922
|
+
| undefined;
|
|
2018
1923
|
temperature?: number | null | undefined;
|
|
2019
1924
|
top_p?: number | null | undefined;
|
|
2020
1925
|
top_k?: number | null | undefined;
|
|
@@ -2049,7 +1954,10 @@ export const ListAgentsParameters$outboundSchema: z.ZodType<
|
|
|
2049
1954
|
streamOptions: z.nullable(
|
|
2050
1955
|
z.lazy(() => ListAgentsStreamOptions$outboundSchema),
|
|
2051
1956
|
).optional(),
|
|
2052
|
-
thinking: z.
|
|
1957
|
+
thinking: z.union([
|
|
1958
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
1959
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
1960
|
+
]).optional(),
|
|
2053
1961
|
temperature: z.nullable(z.number()).optional(),
|
|
2054
1962
|
topP: z.nullable(z.number()).optional(),
|
|
2055
1963
|
topK: z.nullable(z.number()).optional(),
|
|
@@ -2587,48 +2495,20 @@ export function listAgentsFallbackModelConfigurationStreamOptionsFromJSON(
|
|
|
2587
2495
|
);
|
|
2588
2496
|
}
|
|
2589
2497
|
|
|
2590
|
-
/** @internal */
|
|
2591
|
-
export const ListAgentsFallbackModelConfigurationType$inboundSchema:
|
|
2592
|
-
z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationType> = z
|
|
2593
|
-
.nativeEnum(ListAgentsFallbackModelConfigurationType);
|
|
2594
|
-
/** @internal */
|
|
2595
|
-
export const ListAgentsFallbackModelConfigurationType$outboundSchema:
|
|
2596
|
-
z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationType> =
|
|
2597
|
-
ListAgentsFallbackModelConfigurationType$inboundSchema;
|
|
2598
|
-
|
|
2599
|
-
/** @internal */
|
|
2600
|
-
export const ListAgentsFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
2601
|
-
z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationThinkingLevel> = z
|
|
2602
|
-
.nativeEnum(ListAgentsFallbackModelConfigurationThinkingLevel);
|
|
2603
|
-
/** @internal */
|
|
2604
|
-
export const ListAgentsFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
2605
|
-
z.ZodNativeEnum<typeof ListAgentsFallbackModelConfigurationThinkingLevel> =
|
|
2606
|
-
ListAgentsFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
2607
|
-
|
|
2608
2498
|
/** @internal */
|
|
2609
2499
|
export const ListAgentsFallbackModelConfigurationThinking$inboundSchema:
|
|
2610
2500
|
z.ZodType<
|
|
2611
2501
|
ListAgentsFallbackModelConfigurationThinking,
|
|
2612
2502
|
z.ZodTypeDef,
|
|
2613
2503
|
unknown
|
|
2614
|
-
> = z.
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
ListAgentsFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
2619
|
-
.optional(),
|
|
2620
|
-
}).transform((v) => {
|
|
2621
|
-
return remap$(v, {
|
|
2622
|
-
"budget_tokens": "budgetTokens",
|
|
2623
|
-
"thinking_level": "thinkingLevel",
|
|
2624
|
-
});
|
|
2625
|
-
});
|
|
2504
|
+
> = z.union([
|
|
2505
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
2506
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
2507
|
+
]);
|
|
2626
2508
|
/** @internal */
|
|
2627
|
-
export type ListAgentsFallbackModelConfigurationThinking$Outbound =
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
thinking_level?: string | undefined;
|
|
2631
|
-
};
|
|
2509
|
+
export type ListAgentsFallbackModelConfigurationThinking$Outbound =
|
|
2510
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
2511
|
+
| components.ThinkingConfigEnabledSchema$Outbound;
|
|
2632
2512
|
|
|
2633
2513
|
/** @internal */
|
|
2634
2514
|
export const ListAgentsFallbackModelConfigurationThinking$outboundSchema:
|
|
@@ -2636,18 +2516,10 @@ export const ListAgentsFallbackModelConfigurationThinking$outboundSchema:
|
|
|
2636
2516
|
ListAgentsFallbackModelConfigurationThinking$Outbound,
|
|
2637
2517
|
z.ZodTypeDef,
|
|
2638
2518
|
ListAgentsFallbackModelConfigurationThinking
|
|
2639
|
-
> = z.
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
ListAgentsFallbackModelConfigurationThinkingLevel$outboundSchema
|
|
2644
|
-
.optional(),
|
|
2645
|
-
}).transform((v) => {
|
|
2646
|
-
return remap$(v, {
|
|
2647
|
-
budgetTokens: "budget_tokens",
|
|
2648
|
-
thinkingLevel: "thinking_level",
|
|
2649
|
-
});
|
|
2650
|
-
});
|
|
2519
|
+
> = z.union([
|
|
2520
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
2521
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
2522
|
+
]);
|
|
2651
2523
|
|
|
2652
2524
|
export function listAgentsFallbackModelConfigurationThinkingToJSON(
|
|
2653
2525
|
listAgentsFallbackModelConfigurationThinking:
|
|
@@ -2873,9 +2745,10 @@ export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
|
|
|
2873
2745
|
ListAgentsFallbackModelConfigurationStreamOptions$inboundSchema
|
|
2874
2746
|
),
|
|
2875
2747
|
).optional(),
|
|
2876
|
-
thinking: z.
|
|
2877
|
-
|
|
2878
|
-
|
|
2748
|
+
thinking: z.union([
|
|
2749
|
+
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
2750
|
+
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
2751
|
+
]).optional(),
|
|
2879
2752
|
temperature: z.nullable(z.number()).optional(),
|
|
2880
2753
|
top_p: z.nullable(z.number()).optional(),
|
|
2881
2754
|
top_k: z.nullable(z.number()).optional(),
|
|
@@ -2926,7 +2799,10 @@ export type ListAgentsFallbackModelConfigurationParameters$Outbound = {
|
|
|
2926
2799
|
| ListAgentsFallbackModelConfigurationStreamOptions$Outbound
|
|
2927
2800
|
| null
|
|
2928
2801
|
| undefined;
|
|
2929
|
-
thinking?:
|
|
2802
|
+
thinking?:
|
|
2803
|
+
| components.ThinkingConfigDisabledSchema$Outbound
|
|
2804
|
+
| components.ThinkingConfigEnabledSchema$Outbound
|
|
2805
|
+
| undefined;
|
|
2930
2806
|
temperature?: number | null | undefined;
|
|
2931
2807
|
top_p?: number | null | undefined;
|
|
2932
2808
|
top_k?: number | null | undefined;
|
|
@@ -2968,9 +2844,10 @@ export const ListAgentsFallbackModelConfigurationParameters$outboundSchema:
|
|
|
2968
2844
|
ListAgentsFallbackModelConfigurationStreamOptions$outboundSchema
|
|
2969
2845
|
),
|
|
2970
2846
|
).optional(),
|
|
2971
|
-
thinking: z.
|
|
2972
|
-
|
|
2973
|
-
|
|
2847
|
+
thinking: z.union([
|
|
2848
|
+
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
2849
|
+
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
2850
|
+
]).optional(),
|
|
2974
2851
|
temperature: z.nullable(z.number()).optional(),
|
|
2975
2852
|
topP: z.nullable(z.number()).optional(),
|
|
2976
2853
|
topK: z.nullable(z.number()).optional(),
|
|
@@ -386,7 +386,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
|
|
|
386
386
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
387
387
|
.optional(),
|
|
388
388
|
updated: z.string().datetime({ offset: true }).default(
|
|
389
|
-
"2025-12-
|
|
389
|
+
"2025-12-10T05:40:55.012Z",
|
|
390
390
|
).transform(v => new Date(v)),
|
|
391
391
|
}).transform((v) => {
|
|
392
392
|
return remap$(v, {
|
|
@@ -423,7 +423,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
|
|
|
423
423
|
isActive: z.boolean(),
|
|
424
424
|
consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
|
|
425
425
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
426
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
426
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:55.012Z"))
|
|
427
427
|
.transform(v => v.toISOString()),
|
|
428
428
|
}).transform((v) => {
|
|
429
429
|
return remap$(v, {
|
|
@@ -305,7 +305,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
305
305
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
306
306
|
.optional(),
|
|
307
307
|
updated: z.string().datetime({ offset: true }).default(
|
|
308
|
-
"2025-12-
|
|
308
|
+
"2025-12-10T05:40:54.670Z",
|
|
309
309
|
).transform(v => new Date(v)),
|
|
310
310
|
metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
|
|
311
311
|
}).transform((v) => {
|
|
@@ -341,7 +341,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
341
341
|
tags: z.array(z.string()).optional(),
|
|
342
342
|
metadata: z.record(z.any()).optional(),
|
|
343
343
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
344
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
344
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:54.670Z"))
|
|
345
345
|
.transform(v => v.toISOString()),
|
|
346
346
|
metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
|
|
347
347
|
}).transform((v) => {
|
|
@@ -1960,7 +1960,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1960
1960
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
1961
1961
|
reviewed_by_id: z.string(),
|
|
1962
1962
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1963
|
-
"2025-12-
|
|
1963
|
+
"2025-12-10T05:41:06.426Z",
|
|
1964
1964
|
).transform(v => new Date(v)),
|
|
1965
1965
|
type: z.literal("string_array"),
|
|
1966
1966
|
values: z.array(z.string()),
|
|
@@ -1995,7 +1995,7 @@ export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
|
|
|
1995
1995
|
humanReviewId: z.string(),
|
|
1996
1996
|
source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
|
|
1997
1997
|
reviewedById: z.string(),
|
|
1998
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
1998
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.426Z"))
|
|
1999
1999
|
.transform(v => v.toISOString()),
|
|
2000
2000
|
type: z.literal("string_array"),
|
|
2001
2001
|
values: z.array(z.string()),
|
|
@@ -2066,7 +2066,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
2066
2066
|
.default("orq"),
|
|
2067
2067
|
reviewed_by_id: z.string(),
|
|
2068
2068
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2069
|
-
"2025-12-
|
|
2069
|
+
"2025-12-10T05:41:06.426Z",
|
|
2070
2070
|
).transform(v => new Date(v)),
|
|
2071
2071
|
type: z.literal("number"),
|
|
2072
2072
|
value: z.number(),
|
|
@@ -2103,7 +2103,7 @@ export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
|
|
|
2103
2103
|
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
|
|
2104
2104
|
.default("orq"),
|
|
2105
2105
|
reviewedById: z.string(),
|
|
2106
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2106
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.426Z"))
|
|
2107
2107
|
.transform(v => v.toISOString()),
|
|
2108
2108
|
type: z.literal("number"),
|
|
2109
2109
|
value: z.number(),
|
|
@@ -2170,7 +2170,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
2170
2170
|
),
|
|
2171
2171
|
reviewed_by_id: z.string(),
|
|
2172
2172
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2173
|
-
"2025-12-
|
|
2173
|
+
"2025-12-10T05:41:06.425Z",
|
|
2174
2174
|
).transform(v => new Date(v)),
|
|
2175
2175
|
type: z.literal("string"),
|
|
2176
2176
|
value: z.string(),
|
|
@@ -2208,7 +2208,7 @@ export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
|
|
|
2208
2208
|
"orq",
|
|
2209
2209
|
),
|
|
2210
2210
|
reviewedById: z.string(),
|
|
2211
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2211
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.425Z"))
|
|
2212
2212
|
.transform(v => v.toISOString()),
|
|
2213
2213
|
type: z.literal("string"),
|
|
2214
2214
|
value: z.string(),
|
|
@@ -2321,7 +2321,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2321
2321
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2322
2322
|
.optional(),
|
|
2323
2323
|
updated: z.string().datetime({ offset: true }).default(
|
|
2324
|
-
"2025-12-
|
|
2324
|
+
"2025-12-10T05:40:54.670Z",
|
|
2325
2325
|
).transform(v => new Date(v)),
|
|
2326
2326
|
}).transform((v) => {
|
|
2327
2327
|
return remap$(v, {
|
|
@@ -2399,7 +2399,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2399
2399
|
createdById: z.string().optional(),
|
|
2400
2400
|
updatedById: z.string().optional(),
|
|
2401
2401
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2402
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
2402
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:54.670Z"))
|
|
2403
2403
|
.transform(v => v.toISOString()),
|
|
2404
2404
|
}).transform((v) => {
|
|
2405
2405
|
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-12-
|
|
214
|
+
"2025-12-10T05:40:54.670Z",
|
|
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-12-
|
|
253
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:54.670Z"))
|
|
254
254
|
.transform(v => v.toISOString()),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -224,7 +224,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
224
224
|
z.ZodTypeDef,
|
|
225
225
|
unknown
|
|
226
226
|
> = z.object({
|
|
227
|
-
_id: z.string().default("
|
|
227
|
+
_id: z.string().default("01KC3CE2NPKF8W042V5PEPEK50"),
|
|
228
228
|
display_name: z.string(),
|
|
229
229
|
description: z.string().optional(),
|
|
230
230
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -267,7 +267,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
267
267
|
z.ZodTypeDef,
|
|
268
268
|
ListDatasourcesData
|
|
269
269
|
> = z.object({
|
|
270
|
-
id: z.string().default("
|
|
270
|
+
id: z.string().default("01KC3CE2NPKF8W042V5PEPEK50"),
|
|
271
271
|
displayName: z.string(),
|
|
272
272
|
description: z.string().optional(),
|
|
273
273
|
status: ListDatasourcesStatus$outboundSchema,
|