@orq-ai/node 3.12.19 → 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.
Files changed (127) hide show
  1. package/bin/mcp-server.js +112 -112
  2. package/bin/mcp-server.js.map +30 -30
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/config.js.map +1 -1
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/server.js +1 -1
  10. package/models/operations/createbudget.js +2 -2
  11. package/models/operations/createcontact.js +2 -2
  12. package/models/operations/createdataset.js +2 -2
  13. package/models/operations/createdatasetitem.js +2 -2
  14. package/models/operations/createdatasource.js +2 -2
  15. package/models/operations/createeval.js +16 -16
  16. package/models/operations/fileget.js +2 -2
  17. package/models/operations/filelist.js +2 -2
  18. package/models/operations/fileupload.js +2 -2
  19. package/models/operations/getbudget.js +2 -2
  20. package/models/operations/getevals.js +28 -28
  21. package/models/operations/listbudgets.js +2 -2
  22. package/models/operations/listcontacts.js +2 -2
  23. package/models/operations/listdatasetdatapoints.js +2 -2
  24. package/models/operations/listdatasets.js +2 -2
  25. package/models/operations/listdatasources.js +2 -2
  26. package/models/operations/retrievecontact.js +2 -2
  27. package/models/operations/retrievedatapoint.js +2 -2
  28. package/models/operations/retrievedataset.js +2 -2
  29. package/models/operations/retrievedatasource.js +2 -2
  30. package/models/operations/updatebudget.js +2 -2
  31. package/models/operations/updatecontact.js +2 -2
  32. package/models/operations/updatedatapoint.js +2 -2
  33. package/models/operations/updatedataset.js +2 -2
  34. package/models/operations/updatedatasource.js +2 -2
  35. package/models/operations/updateeval.js +16 -16
  36. package/package.json +1 -1
  37. package/packages/orq-rc/examples/package-lock.json +1 -1
  38. package/packages/orq-rc/jsr.json +1 -1
  39. package/packages/orq-rc/package-lock.json +2 -2
  40. package/packages/orq-rc/package.json +1 -1
  41. package/packages/orq-rc/src/lib/config.ts +3 -3
  42. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  43. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  44. package/packages/orq-rc/src/models/components/deployments.ts +39 -44
  45. package/packages/orq-rc/src/models/components/index.ts +0 -13
  46. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  47. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  48. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  49. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  51. package/packages/orq-rc/src/models/operations/createeval.ts +56 -60
  52. package/packages/orq-rc/src/models/operations/creatememorystore.ts +18 -17
  53. package/packages/orq-rc/src/models/operations/createprompt.ts +34 -30
  54. package/packages/orq-rc/src/models/operations/createtool.ts +42 -68
  55. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +27 -36
  56. package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
  57. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  60. package/packages/orq-rc/src/models/operations/getagent.ts +203 -141
  61. package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
  62. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  63. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  64. package/packages/orq-rc/src/models/operations/listagents.ts +202 -141
  65. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  66. package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
  67. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  68. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  69. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  70. package/packages/orq-rc/src/models/operations/listdatasources.ts +22 -29
  71. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  72. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  73. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  74. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  75. package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
  76. package/packages/orq-rc/src/models/operations/runagent.ts +2292 -1130
  77. package/packages/orq-rc/src/models/operations/streamrunagent.ts +2590 -1252
  78. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  79. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  80. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  81. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
  84. package/packages/orq-rc/src/models/operations/updatememorystore.ts +17 -21
  85. package/packages/orq-rc/src/models/operations/updatetool.ts +43 -69
  86. package/src/lib/config.ts +3 -3
  87. package/src/mcp-server/mcp-server.ts +1 -1
  88. package/src/mcp-server/server.ts +1 -1
  89. package/src/models/operations/createbudget.ts +2 -2
  90. package/src/models/operations/createcontact.ts +2 -2
  91. package/src/models/operations/createdataset.ts +2 -2
  92. package/src/models/operations/createdatasetitem.ts +2 -2
  93. package/src/models/operations/createdatasource.ts +2 -2
  94. package/src/models/operations/createeval.ts +16 -16
  95. package/src/models/operations/fileget.ts +2 -2
  96. package/src/models/operations/filelist.ts +2 -2
  97. package/src/models/operations/fileupload.ts +2 -2
  98. package/src/models/operations/getbudget.ts +2 -2
  99. package/src/models/operations/getevals.ts +28 -28
  100. package/src/models/operations/listbudgets.ts +2 -2
  101. package/src/models/operations/listcontacts.ts +2 -2
  102. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  103. package/src/models/operations/listdatasets.ts +2 -2
  104. package/src/models/operations/listdatasources.ts +2 -2
  105. package/src/models/operations/retrievecontact.ts +2 -2
  106. package/src/models/operations/retrievedatapoint.ts +2 -2
  107. package/src/models/operations/retrievedataset.ts +2 -2
  108. package/src/models/operations/retrievedatasource.ts +2 -2
  109. package/src/models/operations/updatebudget.ts +2 -2
  110. package/src/models/operations/updatecontact.ts +2 -2
  111. package/src/models/operations/updatedatapoint.ts +2 -2
  112. package/src/models/operations/updatedataset.ts +2 -2
  113. package/src/models/operations/updatedatasource.ts +2 -2
  114. package/src/models/operations/updateeval.ts +16 -16
  115. package/packages/orq-rc/src/models/components/callsubagenttool.ts +0 -109
  116. package/packages/orq-rc/src/models/components/codeexecutiontool.ts +0 -293
  117. package/packages/orq-rc/src/models/components/currentdatetool.ts +0 -107
  118. package/packages/orq-rc/src/models/components/functiontool.ts +0 -195
  119. package/packages/orq-rc/src/models/components/googlesearchtool.ts +0 -108
  120. package/packages/orq-rc/src/models/components/httptool.ts +0 -532
  121. package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +0 -111
  122. package/packages/orq-rc/src/models/components/querymemorystoretool.ts +0 -111
  123. package/packages/orq-rc/src/models/components/retrieveagentstool.ts +0 -109
  124. package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +0 -111
  125. package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +0 -111
  126. package/packages/orq-rc/src/models/components/webscrapertool.ts +0 -105
  127. 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-25T12:10:32.801Z",
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-25T12:10:32.801Z"))
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
- * Max execution time in seconds
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: number;
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 GetAgentConfigurationType = {
133
+ export const GetAgentKnowledgeBaseConfigurationType = {
131
134
  Query: "query",
132
135
  } as const;
133
- export type GetAgentConfigurationType = ClosedEnum<
134
- typeof GetAgentConfigurationType
136
+ export type GetAgentKnowledgeBaseConfigurationType = ClosedEnum<
137
+ typeof GetAgentKnowledgeBaseConfigurationType
135
138
  >;
136
139
 
137
- export type GetAgentConfiguration2 = {
138
- type: GetAgentConfigurationType;
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 GetAgentConfigurationAgentsType = {
148
+ export const GetAgentKnowledgeBaseConfigurationAgentsType = {
143
149
  LastUserMessage: "last_user_message",
144
150
  } as const;
145
- export type GetAgentConfigurationAgentsType = ClosedEnum<
146
- typeof GetAgentConfigurationAgentsType
151
+ export type GetAgentKnowledgeBaseConfigurationAgentsType = ClosedEnum<
152
+ typeof GetAgentKnowledgeBaseConfigurationAgentsType
147
153
  >;
148
154
 
149
- export type GetAgentConfiguration1 = {
150
- type: GetAgentConfigurationAgentsType;
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 GetAgentConfiguration =
157
- | GetAgentConfiguration2
158
- | GetAgentConfiguration1;
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: GetAgentConfiguration2 | GetAgentConfiguration1;
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(10),
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(10),
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 GetAgentConfigurationType$inboundSchema: z.ZodNativeEnum<
736
- typeof GetAgentConfigurationType
737
- > = z.nativeEnum(GetAgentConfigurationType);
746
+ export const GetAgentKnowledgeBaseConfigurationType$inboundSchema:
747
+ z.ZodNativeEnum<typeof GetAgentKnowledgeBaseConfigurationType> = z.nativeEnum(
748
+ GetAgentKnowledgeBaseConfigurationType,
749
+ );
738
750
 
739
751
  /** @internal */
740
- export const GetAgentConfigurationType$outboundSchema: z.ZodNativeEnum<
741
- typeof GetAgentConfigurationType
742
- > = GetAgentConfigurationType$inboundSchema;
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 GetAgentConfigurationType$ {
749
- /** @deprecated use `GetAgentConfigurationType$inboundSchema` instead. */
750
- export const inboundSchema = GetAgentConfigurationType$inboundSchema;
751
- /** @deprecated use `GetAgentConfigurationType$outboundSchema` instead. */
752
- export const outboundSchema = GetAgentConfigurationType$outboundSchema;
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 GetAgentConfiguration2$inboundSchema: z.ZodType<
757
- GetAgentConfiguration2,
758
- z.ZodTypeDef,
759
- unknown
760
- > = z.object({
761
- type: GetAgentConfigurationType$inboundSchema,
762
- query: z.string(),
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 GetAgentConfiguration2$Outbound = {
767
- type: string;
768
- query: string;
769
- };
781
+ export type GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound =
782
+ {
783
+ type: string;
784
+ query: string;
785
+ };
770
786
 
771
787
  /** @internal */
772
- export const GetAgentConfiguration2$outboundSchema: z.ZodType<
773
- GetAgentConfiguration2$Outbound,
774
- z.ZodTypeDef,
775
- GetAgentConfiguration2
776
- > = z.object({
777
- type: GetAgentConfigurationType$outboundSchema,
778
- query: z.string(),
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 GetAgentConfiguration2$ {
786
- /** @deprecated use `GetAgentConfiguration2$inboundSchema` instead. */
787
- export const inboundSchema = GetAgentConfiguration2$inboundSchema;
788
- /** @deprecated use `GetAgentConfiguration2$outboundSchema` instead. */
789
- export const outboundSchema = GetAgentConfiguration2$outboundSchema;
790
- /** @deprecated use `GetAgentConfiguration2$Outbound` instead. */
791
- export type Outbound = GetAgentConfiguration2$Outbound;
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 getAgentConfiguration2ToJSON(
795
- getAgentConfiguration2: GetAgentConfiguration2,
814
+ export function getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQueryToJSON(
815
+ getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery:
816
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
796
817
  ): string {
797
818
  return JSON.stringify(
798
- GetAgentConfiguration2$outboundSchema.parse(getAgentConfiguration2),
819
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema
820
+ .parse(getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery),
799
821
  );
800
822
  }
801
823
 
802
- export function getAgentConfiguration2FromJSON(
824
+ export function getAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQueryFromJSON(
803
825
  jsonString: string,
804
- ): SafeParseResult<GetAgentConfiguration2, SDKValidationError> {
826
+ ): SafeParseResult<
827
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery,
828
+ SDKValidationError
829
+ > {
805
830
  return safeParse(
806
831
  jsonString,
807
- (x) => GetAgentConfiguration2$inboundSchema.parse(JSON.parse(x)),
808
- `Failed to parse 'GetAgentConfiguration2' from JSON`,
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 GetAgentConfigurationAgentsType$inboundSchema: z.ZodNativeEnum<
814
- typeof GetAgentConfigurationAgentsType
815
- > = z.nativeEnum(GetAgentConfigurationAgentsType);
840
+ export const GetAgentKnowledgeBaseConfigurationAgentsType$inboundSchema:
841
+ z.ZodNativeEnum<typeof GetAgentKnowledgeBaseConfigurationAgentsType> = z
842
+ .nativeEnum(GetAgentKnowledgeBaseConfigurationAgentsType);
816
843
 
817
844
  /** @internal */
818
- export const GetAgentConfigurationAgentsType$outboundSchema: z.ZodNativeEnum<
819
- typeof GetAgentConfigurationAgentsType
820
- > = GetAgentConfigurationAgentsType$inboundSchema;
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 GetAgentConfigurationAgentsType$ {
827
- /** @deprecated use `GetAgentConfigurationAgentsType$inboundSchema` instead. */
828
- export const inboundSchema = GetAgentConfigurationAgentsType$inboundSchema;
829
- /** @deprecated use `GetAgentConfigurationAgentsType$outboundSchema` instead. */
830
- export const outboundSchema = GetAgentConfigurationAgentsType$outboundSchema;
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 GetAgentConfiguration1$inboundSchema: z.ZodType<
835
- GetAgentConfiguration1,
836
- z.ZodTypeDef,
837
- unknown
838
- > = z.object({
839
- type: GetAgentConfigurationAgentsType$inboundSchema,
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 GetAgentConfiguration1$Outbound = {
844
- type: string;
845
- };
873
+ export type GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound =
874
+ {
875
+ type: string;
876
+ };
846
877
 
847
878
  /** @internal */
848
- export const GetAgentConfiguration1$outboundSchema: z.ZodType<
849
- GetAgentConfiguration1$Outbound,
850
- z.ZodTypeDef,
851
- GetAgentConfiguration1
852
- > = z.object({
853
- type: GetAgentConfigurationAgentsType$outboundSchema,
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 GetAgentConfiguration1$ {
861
- /** @deprecated use `GetAgentConfiguration1$inboundSchema` instead. */
862
- export const inboundSchema = GetAgentConfiguration1$inboundSchema;
863
- /** @deprecated use `GetAgentConfiguration1$outboundSchema` instead. */
864
- export const outboundSchema = GetAgentConfiguration1$outboundSchema;
865
- /** @deprecated use `GetAgentConfiguration1$Outbound` instead. */
866
- export type Outbound = GetAgentConfiguration1$Outbound;
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 getAgentConfiguration1ToJSON(
870
- getAgentConfiguration1: GetAgentConfiguration1,
904
+ export function getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessageToJSON(
905
+ getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage:
906
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
871
907
  ): string {
872
908
  return JSON.stringify(
873
- GetAgentConfiguration1$outboundSchema.parse(getAgentConfiguration1),
909
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema
910
+ .parse(getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage),
874
911
  );
875
912
  }
876
913
 
877
- export function getAgentConfiguration1FromJSON(
914
+ export function getAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessageFromJSON(
878
915
  jsonString: string,
879
- ): SafeParseResult<GetAgentConfiguration1, SDKValidationError> {
916
+ ): SafeParseResult<
917
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage,
918
+ SDKValidationError
919
+ > {
880
920
  return safeParse(
881
921
  jsonString,
882
- (x) => GetAgentConfiguration1$inboundSchema.parse(JSON.parse(x)),
883
- `Failed to parse 'GetAgentConfiguration1' from JSON`,
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 GetAgentConfiguration$inboundSchema: z.ZodType<
889
- GetAgentConfiguration,
930
+ export const GetAgentKnowledgeBaseConfiguration$inboundSchema: z.ZodType<
931
+ GetAgentKnowledgeBaseConfiguration,
890
932
  z.ZodTypeDef,
891
933
  unknown
892
934
  > = z.union([
893
- z.lazy(() => GetAgentConfiguration2$inboundSchema),
894
- z.lazy(() => GetAgentConfiguration1$inboundSchema),
935
+ z.lazy(() =>
936
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema
937
+ ),
938
+ z.lazy(() =>
939
+ GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
940
+ ),
895
941
  ]);
896
942
 
897
943
  /** @internal */
898
- export type GetAgentConfiguration$Outbound =
899
- | GetAgentConfiguration2$Outbound
900
- | GetAgentConfiguration1$Outbound;
944
+ export type GetAgentKnowledgeBaseConfiguration$Outbound =
945
+ | GetAgentKnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound
946
+ | GetAgentKnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
901
947
 
902
948
  /** @internal */
903
- export const GetAgentConfiguration$outboundSchema: z.ZodType<
904
- GetAgentConfiguration$Outbound,
949
+ export const GetAgentKnowledgeBaseConfiguration$outboundSchema: z.ZodType<
950
+ GetAgentKnowledgeBaseConfiguration$Outbound,
905
951
  z.ZodTypeDef,
906
- GetAgentConfiguration
952
+ GetAgentKnowledgeBaseConfiguration
907
953
  > = z.union([
908
- z.lazy(() => GetAgentConfiguration2$outboundSchema),
909
- z.lazy(() => GetAgentConfiguration1$outboundSchema),
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 GetAgentConfiguration$ {
917
- /** @deprecated use `GetAgentConfiguration$inboundSchema` instead. */
918
- export const inboundSchema = GetAgentConfiguration$inboundSchema;
919
- /** @deprecated use `GetAgentConfiguration$outboundSchema` instead. */
920
- export const outboundSchema = GetAgentConfiguration$outboundSchema;
921
- /** @deprecated use `GetAgentConfiguration$Outbound` instead. */
922
- export type Outbound = GetAgentConfiguration$Outbound;
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 getAgentConfigurationToJSON(
926
- getAgentConfiguration: GetAgentConfiguration,
976
+ export function getAgentKnowledgeBaseConfigurationToJSON(
977
+ getAgentKnowledgeBaseConfiguration: GetAgentKnowledgeBaseConfiguration,
927
978
  ): string {
928
979
  return JSON.stringify(
929
- GetAgentConfiguration$outboundSchema.parse(getAgentConfiguration),
980
+ GetAgentKnowledgeBaseConfiguration$outboundSchema.parse(
981
+ getAgentKnowledgeBaseConfiguration,
982
+ ),
930
983
  );
931
984
  }
932
985
 
933
- export function getAgentConfigurationFromJSON(
986
+ export function getAgentKnowledgeBaseConfigurationFromJSON(
934
987
  jsonString: string,
935
- ): SafeParseResult<GetAgentConfiguration, SDKValidationError> {
988
+ ): SafeParseResult<GetAgentKnowledgeBaseConfiguration, SDKValidationError> {
936
989
  return safeParse(
937
990
  jsonString,
938
- (x) => GetAgentConfiguration$inboundSchema.parse(JSON.parse(x)),
939
- `Failed to parse 'GetAgentConfiguration' from JSON`,
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("01K60CGQ2DXANBB2SN1A3NQ2CT"),
1003
+ id: z.string().default("01K6A6CKC6HR8KYT5PFFSEHWT4"),
950
1004
  knowledge_id: z.string(),
951
1005
  configuration: z.union([
952
- z.lazy(() => GetAgentConfiguration2$inboundSchema),
953
- z.lazy(() => GetAgentConfiguration1$inboundSchema),
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
- | GetAgentConfiguration2$Outbound
967
- | GetAgentConfiguration1$Outbound;
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("01K60CGQ2DXANBB2SN1A3NQ2CT"),
1034
+ id: z.string().default("01K6A6CKC6HR8KYT5PFFSEHWT4"),
977
1035
  knowledgeId: z.string(),
978
1036
  configuration: z.union([
979
- z.lazy(() => GetAgentConfiguration2$outboundSchema),
980
- z.lazy(() => GetAgentConfiguration1$outboundSchema),
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("01K60CGQ9JKN0EVPJZ8DA1XVR9"),
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("01K60CGQ9JKN0EVPJZ8DA1XVR9"),
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("01K60CGQ9HDTYR0DSP0SF3E0KN"),
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("01K60CGQ9HDTYR0DSP0SF3E0KN"),
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("01K60CGQ9HZMSC5HPSB1FN8WQP"),
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("01K60CGQ9HZMSC5HPSB1FN8WQP"),
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("01K60CGQ9GBQ2CBS40R0ZMKNQ6"),
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("01K60CGQ9GBQ2CBS40R0ZMKNQ6"),
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("01K60CGQ9GVX9P8YCDMQS4H380"),
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("01K60CGQ9GVX9P8YCDMQS4H380"),
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-25T12:10:29.955Z",
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-25T12:10:29.955Z"))
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, {