@orq-ai/node 3.12.17 → 3.12.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +112 -112
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +39 -44
- package/packages/orq-rc/src/models/components/index.ts +0 -13
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +56 -60
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +18 -17
- package/packages/orq-rc/src/models/operations/createprompt.ts +34 -30
- package/packages/orq-rc/src/models/operations/createtool.ts +42 -68
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +27 -36
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +203 -141
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listagents.ts +202 -141
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +22 -29
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +2292 -1130
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2590 -1252
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +17 -21
- package/packages/orq-rc/src/models/operations/updatetool.ts +43 -69
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/components/callsubagenttool.ts +0 -109
- package/packages/orq-rc/src/models/components/codeexecutiontool.ts +0 -293
- package/packages/orq-rc/src/models/components/currentdatetool.ts +0 -107
- package/packages/orq-rc/src/models/components/functiontool.ts +0 -195
- package/packages/orq-rc/src/models/components/googlesearchtool.ts +0 -108
- package/packages/orq-rc/src/models/components/httptool.ts +0 -532
- package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +0 -111
- package/packages/orq-rc/src/models/components/querymemorystoretool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrieveagentstool.ts +0 -109
- package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +0 -111
- package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +0 -111
- package/packages/orq-rc/src/models/components/webscrapertool.ts +0 -105
- package/packages/orq-rc/src/models/components/writememorystoretool.ts +0 -111
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-09-
|
|
253
|
+
"2025-09-29T07:35:50.555Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-09-
|
|
287
|
+
created: z.date().default(() => new Date("2025-09-29T07:35:50.555Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -80,11 +80,14 @@ export type GetAgentTools = {
|
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
export type GetAgentSettings = {
|
|
83
|
+
/**
|
|
84
|
+
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
85
|
+
*/
|
|
83
86
|
maxIterations?: number | undefined;
|
|
84
87
|
/**
|
|
85
|
-
*
|
|
88
|
+
* Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
|
|
86
89
|
*/
|
|
87
|
-
maxExecutionTime
|
|
90
|
+
maxExecutionTime?: number | undefined;
|
|
88
91
|
/**
|
|
89
92
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
90
93
|
*/
|
|
@@ -127,35 +130,41 @@ export type Metrics = {
|
|
|
127
130
|
totalCost?: number | undefined;
|
|
128
131
|
};
|
|
129
132
|
|
|
130
|
-
export const
|
|
133
|
+
export const GetAgentKnowledgeBaseConfigurationType = {
|
|
131
134
|
Query: "query",
|
|
132
135
|
} as const;
|
|
133
|
-
export type
|
|
134
|
-
typeof
|
|
136
|
+
export type GetAgentKnowledgeBaseConfigurationType = ClosedEnum<
|
|
137
|
+
typeof GetAgentKnowledgeBaseConfigurationType
|
|
135
138
|
>;
|
|
136
139
|
|
|
137
|
-
|
|
138
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Defines the configuration settings for a static query.
|
|
142
|
+
*/
|
|
143
|
+
export type GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery = {
|
|
144
|
+
type: GetAgentKnowledgeBaseConfigurationType;
|
|
139
145
|
query: string;
|
|
140
146
|
};
|
|
141
147
|
|
|
142
|
-
export const
|
|
148
|
+
export const GetAgentKnowledgeBaseConfigurationAgentsType = {
|
|
143
149
|
LastUserMessage: "last_user_message",
|
|
144
150
|
} as const;
|
|
145
|
-
export type
|
|
146
|
-
typeof
|
|
151
|
+
export type GetAgentKnowledgeBaseConfigurationAgentsType = ClosedEnum<
|
|
152
|
+
typeof GetAgentKnowledgeBaseConfigurationAgentsType
|
|
147
153
|
>;
|
|
148
154
|
|
|
149
|
-
|
|
150
|
-
|
|
155
|
+
/**
|
|
156
|
+
* Defines the configuration settings for a last user message type retrieval.
|
|
157
|
+
*/
|
|
158
|
+
export type GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage = {
|
|
159
|
+
type: GetAgentKnowledgeBaseConfigurationAgentsType;
|
|
151
160
|
};
|
|
152
161
|
|
|
153
162
|
/**
|
|
154
163
|
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
155
164
|
*/
|
|
156
|
-
export type
|
|
157
|
-
|
|
|
158
|
-
|
|
|
165
|
+
export type GetAgentKnowledgeBaseConfiguration =
|
|
166
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery
|
|
167
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage;
|
|
159
168
|
|
|
160
169
|
export type GetAgentKnowledgeBases = {
|
|
161
170
|
/**
|
|
@@ -169,7 +178,9 @@ export type GetAgentKnowledgeBases = {
|
|
|
169
178
|
/**
|
|
170
179
|
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
171
180
|
*/
|
|
172
|
-
configuration:
|
|
181
|
+
configuration:
|
|
182
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery
|
|
183
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage;
|
|
173
184
|
};
|
|
174
185
|
|
|
175
186
|
export const HiddenPanels = {
|
|
@@ -464,8 +475,8 @@ export const GetAgentSettings$inboundSchema: z.ZodType<
|
|
|
464
475
|
z.ZodTypeDef,
|
|
465
476
|
unknown
|
|
466
477
|
> = z.object({
|
|
467
|
-
max_iterations: z.number().int().default(
|
|
468
|
-
max_execution_time: z.number().int(),
|
|
478
|
+
max_iterations: z.number().int().default(15),
|
|
479
|
+
max_execution_time: z.number().int().default(300),
|
|
469
480
|
tool_approval_required: GetAgentToolApprovalRequired$inboundSchema.default(
|
|
470
481
|
"respect_tool",
|
|
471
482
|
),
|
|
@@ -492,8 +503,8 @@ export const GetAgentSettings$outboundSchema: z.ZodType<
|
|
|
492
503
|
z.ZodTypeDef,
|
|
493
504
|
GetAgentSettings
|
|
494
505
|
> = z.object({
|
|
495
|
-
maxIterations: z.number().int().default(
|
|
496
|
-
maxExecutionTime: z.number().int(),
|
|
506
|
+
maxIterations: z.number().int().default(15),
|
|
507
|
+
maxExecutionTime: z.number().int().default(300),
|
|
497
508
|
toolApprovalRequired: GetAgentToolApprovalRequired$outboundSchema.default(
|
|
498
509
|
"respect_tool",
|
|
499
510
|
),
|
|
@@ -732,211 +743,254 @@ export function metricsFromJSON(
|
|
|
732
743
|
}
|
|
733
744
|
|
|
734
745
|
/** @internal */
|
|
735
|
-
export const
|
|
736
|
-
typeof
|
|
737
|
-
|
|
746
|
+
export const GetAgentKnowledgeBaseConfigurationType$inboundSchema:
|
|
747
|
+
z.ZodNativeEnum<typeof GetAgentKnowledgeBaseConfigurationType> = z.nativeEnum(
|
|
748
|
+
GetAgentKnowledgeBaseConfigurationType,
|
|
749
|
+
);
|
|
738
750
|
|
|
739
751
|
/** @internal */
|
|
740
|
-
export const
|
|
741
|
-
typeof
|
|
742
|
-
|
|
752
|
+
export const GetAgentKnowledgeBaseConfigurationType$outboundSchema:
|
|
753
|
+
z.ZodNativeEnum<typeof GetAgentKnowledgeBaseConfigurationType> =
|
|
754
|
+
GetAgentKnowledgeBaseConfigurationType$inboundSchema;
|
|
743
755
|
|
|
744
756
|
/**
|
|
745
757
|
* @internal
|
|
746
758
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
747
759
|
*/
|
|
748
|
-
export namespace
|
|
749
|
-
/** @deprecated use `
|
|
750
|
-
export const inboundSchema =
|
|
751
|
-
|
|
752
|
-
|
|
760
|
+
export namespace GetAgentKnowledgeBaseConfigurationType$ {
|
|
761
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationType$inboundSchema` instead. */
|
|
762
|
+
export const inboundSchema =
|
|
763
|
+
GetAgentKnowledgeBaseConfigurationType$inboundSchema;
|
|
764
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationType$outboundSchema` instead. */
|
|
765
|
+
export const outboundSchema =
|
|
766
|
+
GetAgentKnowledgeBaseConfigurationType$outboundSchema;
|
|
753
767
|
}
|
|
754
768
|
|
|
755
769
|
/** @internal */
|
|
756
|
-
export const
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
770
|
+
export const GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema:
|
|
771
|
+
z.ZodType<
|
|
772
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
|
|
773
|
+
z.ZodTypeDef,
|
|
774
|
+
unknown
|
|
775
|
+
> = z.object({
|
|
776
|
+
type: GetAgentKnowledgeBaseConfigurationType$inboundSchema,
|
|
777
|
+
query: z.string(),
|
|
778
|
+
});
|
|
764
779
|
|
|
765
780
|
/** @internal */
|
|
766
|
-
export type
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
781
|
+
export type GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound =
|
|
782
|
+
{
|
|
783
|
+
type: string;
|
|
784
|
+
query: string;
|
|
785
|
+
};
|
|
770
786
|
|
|
771
787
|
/** @internal */
|
|
772
|
-
export const
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
788
|
+
export const GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema:
|
|
789
|
+
z.ZodType<
|
|
790
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound,
|
|
791
|
+
z.ZodTypeDef,
|
|
792
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery
|
|
793
|
+
> = z.object({
|
|
794
|
+
type: GetAgentKnowledgeBaseConfigurationType$outboundSchema,
|
|
795
|
+
query: z.string(),
|
|
796
|
+
});
|
|
780
797
|
|
|
781
798
|
/**
|
|
782
799
|
* @internal
|
|
783
800
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
784
801
|
*/
|
|
785
|
-
export namespace
|
|
786
|
-
/** @deprecated use `
|
|
787
|
-
export const inboundSchema =
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
802
|
+
export namespace GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$ {
|
|
803
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema` instead. */
|
|
804
|
+
export const inboundSchema =
|
|
805
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema;
|
|
806
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema` instead. */
|
|
807
|
+
export const outboundSchema =
|
|
808
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema;
|
|
809
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound` instead. */
|
|
810
|
+
export type Outbound =
|
|
811
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound;
|
|
792
812
|
}
|
|
793
813
|
|
|
794
|
-
export function
|
|
795
|
-
|
|
814
|
+
export function getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQueryToJSON(
|
|
815
|
+
getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery:
|
|
816
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
|
|
796
817
|
): string {
|
|
797
818
|
return JSON.stringify(
|
|
798
|
-
|
|
819
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema
|
|
820
|
+
.parse(getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery),
|
|
799
821
|
);
|
|
800
822
|
}
|
|
801
823
|
|
|
802
|
-
export function
|
|
824
|
+
export function getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQueryFromJSON(
|
|
803
825
|
jsonString: string,
|
|
804
|
-
): SafeParseResult<
|
|
826
|
+
): SafeParseResult<
|
|
827
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
|
|
828
|
+
SDKValidationError
|
|
829
|
+
> {
|
|
805
830
|
return safeParse(
|
|
806
831
|
jsonString,
|
|
807
|
-
(x) =>
|
|
808
|
-
|
|
832
|
+
(x) =>
|
|
833
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema
|
|
834
|
+
.parse(JSON.parse(x)),
|
|
835
|
+
`Failed to parse 'GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery' from JSON`,
|
|
809
836
|
);
|
|
810
837
|
}
|
|
811
838
|
|
|
812
839
|
/** @internal */
|
|
813
|
-
export const
|
|
814
|
-
typeof
|
|
815
|
-
|
|
840
|
+
export const GetAgentKnowledgeBaseConfigurationAgentsType$inboundSchema:
|
|
841
|
+
z.ZodNativeEnum<typeof GetAgentKnowledgeBaseConfigurationAgentsType> = z
|
|
842
|
+
.nativeEnum(GetAgentKnowledgeBaseConfigurationAgentsType);
|
|
816
843
|
|
|
817
844
|
/** @internal */
|
|
818
|
-
export const
|
|
819
|
-
typeof
|
|
820
|
-
|
|
845
|
+
export const GetAgentKnowledgeBaseConfigurationAgentsType$outboundSchema:
|
|
846
|
+
z.ZodNativeEnum<typeof GetAgentKnowledgeBaseConfigurationAgentsType> =
|
|
847
|
+
GetAgentKnowledgeBaseConfigurationAgentsType$inboundSchema;
|
|
821
848
|
|
|
822
849
|
/**
|
|
823
850
|
* @internal
|
|
824
851
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
825
852
|
*/
|
|
826
|
-
export namespace
|
|
827
|
-
/** @deprecated use `
|
|
828
|
-
export const inboundSchema =
|
|
829
|
-
|
|
830
|
-
|
|
853
|
+
export namespace GetAgentKnowledgeBaseConfigurationAgentsType$ {
|
|
854
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationAgentsType$inboundSchema` instead. */
|
|
855
|
+
export const inboundSchema =
|
|
856
|
+
GetAgentKnowledgeBaseConfigurationAgentsType$inboundSchema;
|
|
857
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationAgentsType$outboundSchema` instead. */
|
|
858
|
+
export const outboundSchema =
|
|
859
|
+
GetAgentKnowledgeBaseConfigurationAgentsType$outboundSchema;
|
|
831
860
|
}
|
|
832
861
|
|
|
833
862
|
/** @internal */
|
|
834
|
-
export const
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
863
|
+
export const GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema:
|
|
864
|
+
z.ZodType<
|
|
865
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
|
|
866
|
+
z.ZodTypeDef,
|
|
867
|
+
unknown
|
|
868
|
+
> = z.object({
|
|
869
|
+
type: GetAgentKnowledgeBaseConfigurationAgentsType$inboundSchema,
|
|
870
|
+
});
|
|
841
871
|
|
|
842
872
|
/** @internal */
|
|
843
|
-
export type
|
|
844
|
-
|
|
845
|
-
|
|
873
|
+
export type GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound =
|
|
874
|
+
{
|
|
875
|
+
type: string;
|
|
876
|
+
};
|
|
846
877
|
|
|
847
878
|
/** @internal */
|
|
848
|
-
export const
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
879
|
+
export const GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema:
|
|
880
|
+
z.ZodType<
|
|
881
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound,
|
|
882
|
+
z.ZodTypeDef,
|
|
883
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage
|
|
884
|
+
> = z.object({
|
|
885
|
+
type: GetAgentKnowledgeBaseConfigurationAgentsType$outboundSchema,
|
|
886
|
+
});
|
|
855
887
|
|
|
856
888
|
/**
|
|
857
889
|
* @internal
|
|
858
890
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
859
891
|
*/
|
|
860
|
-
export namespace
|
|
861
|
-
/** @deprecated use `
|
|
862
|
-
export const inboundSchema =
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
892
|
+
export namespace GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$ {
|
|
893
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema` instead. */
|
|
894
|
+
export const inboundSchema =
|
|
895
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema;
|
|
896
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema` instead. */
|
|
897
|
+
export const outboundSchema =
|
|
898
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema;
|
|
899
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound` instead. */
|
|
900
|
+
export type Outbound =
|
|
901
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
867
902
|
}
|
|
868
903
|
|
|
869
|
-
export function
|
|
870
|
-
|
|
904
|
+
export function getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessageToJSON(
|
|
905
|
+
getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage:
|
|
906
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
|
|
871
907
|
): string {
|
|
872
908
|
return JSON.stringify(
|
|
873
|
-
|
|
909
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema
|
|
910
|
+
.parse(getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage),
|
|
874
911
|
);
|
|
875
912
|
}
|
|
876
913
|
|
|
877
|
-
export function
|
|
914
|
+
export function getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessageFromJSON(
|
|
878
915
|
jsonString: string,
|
|
879
|
-
): SafeParseResult<
|
|
916
|
+
): SafeParseResult<
|
|
917
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
|
|
918
|
+
SDKValidationError
|
|
919
|
+
> {
|
|
880
920
|
return safeParse(
|
|
881
921
|
jsonString,
|
|
882
|
-
(x) =>
|
|
883
|
-
|
|
922
|
+
(x) =>
|
|
923
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
|
|
924
|
+
.parse(JSON.parse(x)),
|
|
925
|
+
`Failed to parse 'GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage' from JSON`,
|
|
884
926
|
);
|
|
885
927
|
}
|
|
886
928
|
|
|
887
929
|
/** @internal */
|
|
888
|
-
export const
|
|
889
|
-
|
|
930
|
+
export const GetAgentKnowledgeBaseConfiguration$inboundSchema: z.ZodType<
|
|
931
|
+
GetAgentKnowledgeBaseConfiguration,
|
|
890
932
|
z.ZodTypeDef,
|
|
891
933
|
unknown
|
|
892
934
|
> = z.union([
|
|
893
|
-
z.lazy(() =>
|
|
894
|
-
|
|
935
|
+
z.lazy(() =>
|
|
936
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema
|
|
937
|
+
),
|
|
938
|
+
z.lazy(() =>
|
|
939
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
|
|
940
|
+
),
|
|
895
941
|
]);
|
|
896
942
|
|
|
897
943
|
/** @internal */
|
|
898
|
-
export type
|
|
899
|
-
|
|
|
900
|
-
|
|
|
944
|
+
export type GetAgentKnowledgeBaseConfiguration$Outbound =
|
|
945
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound
|
|
946
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
901
947
|
|
|
902
948
|
/** @internal */
|
|
903
|
-
export const
|
|
904
|
-
|
|
949
|
+
export const GetAgentKnowledgeBaseConfiguration$outboundSchema: z.ZodType<
|
|
950
|
+
GetAgentKnowledgeBaseConfiguration$Outbound,
|
|
905
951
|
z.ZodTypeDef,
|
|
906
|
-
|
|
952
|
+
GetAgentKnowledgeBaseConfiguration
|
|
907
953
|
> = z.union([
|
|
908
|
-
z.lazy(() =>
|
|
909
|
-
|
|
954
|
+
z.lazy(() =>
|
|
955
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema
|
|
956
|
+
),
|
|
957
|
+
z.lazy(() =>
|
|
958
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema
|
|
959
|
+
),
|
|
910
960
|
]);
|
|
911
961
|
|
|
912
962
|
/**
|
|
913
963
|
* @internal
|
|
914
964
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
915
965
|
*/
|
|
916
|
-
export namespace
|
|
917
|
-
/** @deprecated use `
|
|
918
|
-
export const inboundSchema =
|
|
919
|
-
/** @deprecated use `
|
|
920
|
-
export const outboundSchema =
|
|
921
|
-
|
|
922
|
-
|
|
966
|
+
export namespace GetAgentKnowledgeBaseConfiguration$ {
|
|
967
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfiguration$inboundSchema` instead. */
|
|
968
|
+
export const inboundSchema = GetAgentKnowledgeBaseConfiguration$inboundSchema;
|
|
969
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfiguration$outboundSchema` instead. */
|
|
970
|
+
export const outboundSchema =
|
|
971
|
+
GetAgentKnowledgeBaseConfiguration$outboundSchema;
|
|
972
|
+
/** @deprecated use `GetAgentKnowledgeBaseConfiguration$Outbound` instead. */
|
|
973
|
+
export type Outbound = GetAgentKnowledgeBaseConfiguration$Outbound;
|
|
923
974
|
}
|
|
924
975
|
|
|
925
|
-
export function
|
|
926
|
-
|
|
976
|
+
export function getAgentKnowledgeBaseConfigurationToJSON(
|
|
977
|
+
getAgentKnowledgeBaseConfiguration: GetAgentKnowledgeBaseConfiguration,
|
|
927
978
|
): string {
|
|
928
979
|
return JSON.stringify(
|
|
929
|
-
|
|
980
|
+
GetAgentKnowledgeBaseConfiguration$outboundSchema.parse(
|
|
981
|
+
getAgentKnowledgeBaseConfiguration,
|
|
982
|
+
),
|
|
930
983
|
);
|
|
931
984
|
}
|
|
932
985
|
|
|
933
|
-
export function
|
|
986
|
+
export function getAgentKnowledgeBaseConfigurationFromJSON(
|
|
934
987
|
jsonString: string,
|
|
935
|
-
): SafeParseResult<
|
|
988
|
+
): SafeParseResult<GetAgentKnowledgeBaseConfiguration, SDKValidationError> {
|
|
936
989
|
return safeParse(
|
|
937
990
|
jsonString,
|
|
938
|
-
(x) =>
|
|
939
|
-
|
|
991
|
+
(x) =>
|
|
992
|
+
GetAgentKnowledgeBaseConfiguration$inboundSchema.parse(JSON.parse(x)),
|
|
993
|
+
`Failed to parse 'GetAgentKnowledgeBaseConfiguration' from JSON`,
|
|
940
994
|
);
|
|
941
995
|
}
|
|
942
996
|
|
|
@@ -946,11 +1000,15 @@ export const GetAgentKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
946
1000
|
z.ZodTypeDef,
|
|
947
1001
|
unknown
|
|
948
1002
|
> = z.object({
|
|
949
|
-
id: z.string().default("
|
|
1003
|
+
id: z.string().default("01K6A6CKC6HR8KYT5PFFSEHWT4"),
|
|
950
1004
|
knowledge_id: z.string(),
|
|
951
1005
|
configuration: z.union([
|
|
952
|
-
z.lazy(() =>
|
|
953
|
-
|
|
1006
|
+
z.lazy(() =>
|
|
1007
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema
|
|
1008
|
+
),
|
|
1009
|
+
z.lazy(() =>
|
|
1010
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
|
|
1011
|
+
),
|
|
954
1012
|
]),
|
|
955
1013
|
}).transform((v) => {
|
|
956
1014
|
return remap$(v, {
|
|
@@ -963,8 +1021,8 @@ export type GetAgentKnowledgeBases$Outbound = {
|
|
|
963
1021
|
id: string;
|
|
964
1022
|
knowledge_id: string;
|
|
965
1023
|
configuration:
|
|
966
|
-
|
|
|
967
|
-
|
|
|
1024
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound
|
|
1025
|
+
| GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
968
1026
|
};
|
|
969
1027
|
|
|
970
1028
|
/** @internal */
|
|
@@ -973,11 +1031,15 @@ export const GetAgentKnowledgeBases$outboundSchema: z.ZodType<
|
|
|
973
1031
|
z.ZodTypeDef,
|
|
974
1032
|
GetAgentKnowledgeBases
|
|
975
1033
|
> = z.object({
|
|
976
|
-
id: z.string().default("
|
|
1034
|
+
id: z.string().default("01K6A6CKC6HR8KYT5PFFSEHWT4"),
|
|
977
1035
|
knowledgeId: z.string(),
|
|
978
1036
|
configuration: z.union([
|
|
979
|
-
z.lazy(() =>
|
|
980
|
-
|
|
1037
|
+
z.lazy(() =>
|
|
1038
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema
|
|
1039
|
+
),
|
|
1040
|
+
z.lazy(() =>
|
|
1041
|
+
GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema
|
|
1042
|
+
),
|
|
981
1043
|
]),
|
|
982
1044
|
}).transform((v) => {
|
|
983
1045
|
return remap$(v, {
|
|
@@ -763,7 +763,7 @@ export function dataCodeToolFromJSON(
|
|
|
763
763
|
/** @internal */
|
|
764
764
|
export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
|
|
765
765
|
.object({
|
|
766
|
-
_id: z.string().default("
|
|
766
|
+
_id: z.string().default("01K6A6CKKG60K64JSMXH397M73"),
|
|
767
767
|
path: z.string(),
|
|
768
768
|
key: z.string(),
|
|
769
769
|
display_name: z.string(),
|
|
@@ -816,7 +816,7 @@ export const Data5$outboundSchema: z.ZodType<
|
|
|
816
816
|
z.ZodTypeDef,
|
|
817
817
|
Data5
|
|
818
818
|
> = z.object({
|
|
819
|
-
id: z.string().default("
|
|
819
|
+
id: z.string().default("01K6A6CKKG60K64JSMXH397M73"),
|
|
820
820
|
path: z.string(),
|
|
821
821
|
key: z.string(),
|
|
822
822
|
displayName: z.string(),
|
|
@@ -1159,7 +1159,7 @@ export function dataMcpFromJSON(
|
|
|
1159
1159
|
/** @internal */
|
|
1160
1160
|
export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
|
|
1161
1161
|
.object({
|
|
1162
|
-
_id: z.string().default("
|
|
1162
|
+
_id: z.string().default("01K6A6CKKGBN9HYX7VTEGQE3FR"),
|
|
1163
1163
|
path: z.string(),
|
|
1164
1164
|
key: z.string(),
|
|
1165
1165
|
display_name: z.string(),
|
|
@@ -1211,7 +1211,7 @@ export const Data4$outboundSchema: z.ZodType<
|
|
|
1211
1211
|
z.ZodTypeDef,
|
|
1212
1212
|
Data4
|
|
1213
1213
|
> = z.object({
|
|
1214
|
-
id: z.string().default("
|
|
1214
|
+
id: z.string().default("01K6A6CKKGBN9HYX7VTEGQE3FR"),
|
|
1215
1215
|
path: z.string(),
|
|
1216
1216
|
key: z.string(),
|
|
1217
1217
|
displayName: z.string(),
|
|
@@ -1594,7 +1594,7 @@ export function getAllToolsDataHttpFromJSON(
|
|
|
1594
1594
|
/** @internal */
|
|
1595
1595
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
1596
1596
|
.object({
|
|
1597
|
-
_id: z.string().default("
|
|
1597
|
+
_id: z.string().default("01K6A6CKKGCCJ7BB8Z8QDNKH81"),
|
|
1598
1598
|
path: z.string(),
|
|
1599
1599
|
key: z.string(),
|
|
1600
1600
|
display_name: z.string(),
|
|
@@ -1646,7 +1646,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
1646
1646
|
z.ZodTypeDef,
|
|
1647
1647
|
Data3
|
|
1648
1648
|
> = z.object({
|
|
1649
|
-
id: z.string().default("
|
|
1649
|
+
id: z.string().default("01K6A6CKKGCCJ7BB8Z8QDNKH81"),
|
|
1650
1650
|
path: z.string(),
|
|
1651
1651
|
key: z.string(),
|
|
1652
1652
|
displayName: z.string(),
|
|
@@ -1804,7 +1804,7 @@ export function dataJsonSchemaFromJSON(
|
|
|
1804
1804
|
/** @internal */
|
|
1805
1805
|
export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
|
|
1806
1806
|
.object({
|
|
1807
|
-
_id: z.string().default("
|
|
1807
|
+
_id: z.string().default("01K6A6CKKFA6EFM1PHKC67GXW6"),
|
|
1808
1808
|
path: z.string(),
|
|
1809
1809
|
key: z.string(),
|
|
1810
1810
|
display_name: z.string(),
|
|
@@ -1857,7 +1857,7 @@ export const Data2$outboundSchema: z.ZodType<
|
|
|
1857
1857
|
z.ZodTypeDef,
|
|
1858
1858
|
Data2
|
|
1859
1859
|
> = z.object({
|
|
1860
|
-
id: z.string().default("
|
|
1860
|
+
id: z.string().default("01K6A6CKKFA6EFM1PHKC67GXW6"),
|
|
1861
1861
|
path: z.string(),
|
|
1862
1862
|
key: z.string(),
|
|
1863
1863
|
displayName: z.string(),
|
|
@@ -2018,7 +2018,7 @@ export function getAllToolsDataFunctionFromJSON(
|
|
|
2018
2018
|
/** @internal */
|
|
2019
2019
|
export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
|
|
2020
2020
|
.object({
|
|
2021
|
-
_id: z.string().default("
|
|
2021
|
+
_id: z.string().default("01K6A6CKKF1CK7C4BRDD0T41GH"),
|
|
2022
2022
|
path: z.string(),
|
|
2023
2023
|
key: z.string(),
|
|
2024
2024
|
display_name: z.string(),
|
|
@@ -2070,7 +2070,7 @@ export const Data1$outboundSchema: z.ZodType<
|
|
|
2070
2070
|
z.ZodTypeDef,
|
|
2071
2071
|
Data1
|
|
2072
2072
|
> = z.object({
|
|
2073
|
-
id: z.string().default("
|
|
2073
|
+
id: z.string().default("01K6A6CKKF1CK7C4BRDD0T41GH"),
|
|
2074
2074
|
path: z.string(),
|
|
2075
2075
|
key: z.string(),
|
|
2076
2076
|
displayName: z.string(),
|
|
@@ -351,7 +351,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
351
351
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
352
352
|
.optional(),
|
|
353
353
|
updated: z.string().datetime({ offset: true }).default(
|
|
354
|
-
"2025-09-
|
|
354
|
+
"2025-09-29T07:35:47.618Z",
|
|
355
355
|
).transform(v => new Date(v)),
|
|
356
356
|
}).transform((v) => {
|
|
357
357
|
return remap$(v, {
|
|
@@ -386,7 +386,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
386
386
|
isActive: z.boolean(),
|
|
387
387
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
388
388
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
389
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
389
|
+
updated: z.date().default(() => new Date("2025-09-29T07:35:47.618Z"))
|
|
390
390
|
.transform(v => v.toISOString()),
|
|
391
391
|
}).transform((v) => {
|
|
392
392
|
return remap$(v, {
|