@orq-ai/node 4.0.0-rc.49 → 4.0.0-rc.50

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 (156) hide show
  1. package/README.md +20 -29
  2. package/bin/mcp-server.js +1502 -4133
  3. package/bin/mcp-server.js.map +40 -51
  4. package/docs/sdks/agents/README.md +0 -76
  5. package/docs/sdks/tools/README.md +1 -152
  6. package/examples/package-lock.json +1 -1
  7. package/jsr.json +1 -1
  8. package/lib/config.d.ts +2 -2
  9. package/lib/config.js +2 -2
  10. package/mcp-server/mcp-server.js +1 -1
  11. package/mcp-server/server.d.ts.map +1 -1
  12. package/mcp-server/server.js +1 -7
  13. package/mcp-server/server.js.map +1 -1
  14. package/models/errors/index.d.ts +0 -2
  15. package/models/errors/index.d.ts.map +1 -1
  16. package/models/errors/index.js +0 -2
  17. package/models/errors/index.js.map +1 -1
  18. package/models/operations/createbudget.js +2 -2
  19. package/models/operations/createcontact.js +2 -2
  20. package/models/operations/createdataset.js +2 -2
  21. package/models/operations/createdatasetitem.js +8 -8
  22. package/models/operations/createdatasource.js +2 -2
  23. package/models/operations/createeval.js +28 -28
  24. package/models/operations/createtool.js +12 -12
  25. package/models/operations/fileget.js +2 -2
  26. package/models/operations/filelist.js +2 -2
  27. package/models/operations/fileupload.js +2 -2
  28. package/models/operations/getalltools.js +12 -12
  29. package/models/operations/getbudget.js +2 -2
  30. package/models/operations/getevals.js +28 -28
  31. package/models/operations/index.d.ts +0 -3
  32. package/models/operations/index.d.ts.map +1 -1
  33. package/models/operations/index.js +0 -3
  34. package/models/operations/index.js.map +1 -1
  35. package/models/operations/listbudgets.js +2 -2
  36. package/models/operations/listcontacts.js +2 -2
  37. package/models/operations/listdatasetdatapoints.js +8 -8
  38. package/models/operations/listdatasets.js +2 -2
  39. package/models/operations/listdatasources.js +2 -2
  40. package/models/operations/retrievecontact.js +2 -2
  41. package/models/operations/retrievedatapoint.js +8 -8
  42. package/models/operations/retrievedataset.js +2 -2
  43. package/models/operations/retrievedatasource.js +2 -2
  44. package/models/operations/retrievetool.js +12 -12
  45. package/models/operations/runagent.js +2 -2
  46. package/models/operations/streamrunagent.js +2 -2
  47. package/models/operations/updatebudget.js +2 -2
  48. package/models/operations/updatecontact.js +2 -2
  49. package/models/operations/updatedatapoint.js +8 -8
  50. package/models/operations/updatedataset.js +2 -2
  51. package/models/operations/updatedatasource.js +2 -2
  52. package/models/operations/updateeval.js +28 -28
  53. package/models/operations/updatetool.js +14 -14
  54. package/package.json +1 -1
  55. package/sdk/agents.d.ts +0 -7
  56. package/sdk/agents.d.ts.map +1 -1
  57. package/sdk/agents.js +0 -10
  58. package/sdk/agents.js.map +1 -1
  59. package/sdk/tools.d.ts +0 -14
  60. package/sdk/tools.d.ts.map +1 -1
  61. package/sdk/tools.js +0 -20
  62. package/sdk/tools.js.map +1 -1
  63. package/src/lib/config.ts +2 -2
  64. package/src/mcp-server/mcp-server.ts +1 -1
  65. package/src/mcp-server/server.ts +1 -7
  66. package/src/models/errors/index.ts +0 -2
  67. package/src/models/operations/createbudget.ts +2 -2
  68. package/src/models/operations/createcontact.ts +2 -2
  69. package/src/models/operations/createdataset.ts +2 -2
  70. package/src/models/operations/createdatasetitem.ts +8 -8
  71. package/src/models/operations/createdatasource.ts +2 -2
  72. package/src/models/operations/createeval.ts +28 -28
  73. package/src/models/operations/createtool.ts +12 -12
  74. package/src/models/operations/fileget.ts +2 -2
  75. package/src/models/operations/filelist.ts +2 -2
  76. package/src/models/operations/fileupload.ts +2 -2
  77. package/src/models/operations/getalltools.ts +12 -12
  78. package/src/models/operations/getbudget.ts +2 -2
  79. package/src/models/operations/getevals.ts +28 -28
  80. package/src/models/operations/index.ts +0 -3
  81. package/src/models/operations/listbudgets.ts +2 -2
  82. package/src/models/operations/listcontacts.ts +2 -2
  83. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  84. package/src/models/operations/listdatasets.ts +2 -2
  85. package/src/models/operations/listdatasources.ts +2 -2
  86. package/src/models/operations/retrievecontact.ts +2 -2
  87. package/src/models/operations/retrievedatapoint.ts +8 -8
  88. package/src/models/operations/retrievedataset.ts +2 -2
  89. package/src/models/operations/retrievedatasource.ts +2 -2
  90. package/src/models/operations/retrievetool.ts +12 -12
  91. package/src/models/operations/runagent.ts +2 -2
  92. package/src/models/operations/streamrunagent.ts +2 -2
  93. package/src/models/operations/updatebudget.ts +2 -2
  94. package/src/models/operations/updatecontact.ts +2 -2
  95. package/src/models/operations/updatedatapoint.ts +8 -8
  96. package/src/models/operations/updatedataset.ts +2 -2
  97. package/src/models/operations/updatedatasource.ts +2 -2
  98. package/src/models/operations/updateeval.ts +28 -28
  99. package/src/models/operations/updatetool.ts +14 -14
  100. package/src/sdk/agents.ts +0 -18
  101. package/src/sdk/tools.ts +0 -36
  102. package/funcs/agentsDuplicate.d.ts +0 -18
  103. package/funcs/agentsDuplicate.d.ts.map +0 -1
  104. package/funcs/agentsDuplicate.js +0 -124
  105. package/funcs/agentsDuplicate.js.map +0 -1
  106. package/funcs/toolsDuplicate.d.ts +0 -18
  107. package/funcs/toolsDuplicate.d.ts.map +0 -1
  108. package/funcs/toolsDuplicate.js +0 -124
  109. package/funcs/toolsDuplicate.js.map +0 -1
  110. package/funcs/toolsSync.d.ts +0 -18
  111. package/funcs/toolsSync.d.ts.map +0 -1
  112. package/funcs/toolsSync.js +0 -123
  113. package/funcs/toolsSync.js.map +0 -1
  114. package/mcp-server/tools/agentsDuplicate.d.ts +0 -8
  115. package/mcp-server/tools/agentsDuplicate.d.ts.map +0 -1
  116. package/mcp-server/tools/agentsDuplicate.js +0 -64
  117. package/mcp-server/tools/agentsDuplicate.js.map +0 -1
  118. package/mcp-server/tools/toolsDuplicate.d.ts +0 -8
  119. package/mcp-server/tools/toolsDuplicate.d.ts.map +0 -1
  120. package/mcp-server/tools/toolsDuplicate.js +0 -64
  121. package/mcp-server/tools/toolsDuplicate.js.map +0 -1
  122. package/mcp-server/tools/toolsSync.d.ts +0 -8
  123. package/mcp-server/tools/toolsSync.d.ts.map +0 -1
  124. package/mcp-server/tools/toolsSync.js +0 -64
  125. package/mcp-server/tools/toolsSync.js.map +0 -1
  126. package/models/errors/duplicateagent.d.ts +0 -55
  127. package/models/errors/duplicateagent.d.ts.map +0 -1
  128. package/models/errors/duplicateagent.js +0 -106
  129. package/models/errors/duplicateagent.js.map +0 -1
  130. package/models/errors/duplicatetool.d.ts +0 -36
  131. package/models/errors/duplicatetool.d.ts.map +0 -1
  132. package/models/errors/duplicatetool.js +0 -77
  133. package/models/errors/duplicatetool.js.map +0 -1
  134. package/models/operations/duplicateagent.d.ts +0 -1436
  135. package/models/operations/duplicateagent.d.ts.map +0 -1
  136. package/models/operations/duplicateagent.js +0 -1456
  137. package/models/operations/duplicateagent.js.map +0 -1
  138. package/models/operations/duplicatetool.d.ts +0 -1038
  139. package/models/operations/duplicatetool.d.ts.map +0 -1
  140. package/models/operations/duplicatetool.js +0 -982
  141. package/models/operations/duplicatetool.js.map +0 -1
  142. package/models/operations/syncmcptool.d.ts +0 -1115
  143. package/models/operations/syncmcptool.d.ts.map +0 -1
  144. package/models/operations/syncmcptool.js +0 -1072
  145. package/models/operations/syncmcptool.js.map +0 -1
  146. package/src/funcs/agentsDuplicate.ts +0 -180
  147. package/src/funcs/toolsDuplicate.ts +0 -176
  148. package/src/funcs/toolsSync.ts +0 -176
  149. package/src/mcp-server/tools/agentsDuplicate.ts +0 -37
  150. package/src/mcp-server/tools/toolsDuplicate.ts +0 -37
  151. package/src/mcp-server/tools/toolsSync.ts +0 -37
  152. package/src/models/errors/duplicateagent.ts +0 -128
  153. package/src/models/errors/duplicatetool.ts +0 -78
  154. package/src/models/operations/duplicateagent.ts +0 -3674
  155. package/src/models/operations/duplicatetool.ts +0 -2395
  156. package/src/models/operations/syncmcptool.ts +0 -2603
@@ -1,1436 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type DuplicateAgentRequestBody = {
6
- /**
7
- * The unique key for the duplicated agent
8
- */
9
- key: string;
10
- /**
11
- * The display name for the duplicated agent
12
- */
13
- displayName?: string | undefined;
14
- };
15
- export type DuplicateAgentRequest = {
16
- /**
17
- * The key of the agent to duplicate
18
- */
19
- agentKey: string;
20
- requestBody?: DuplicateAgentRequestBody | undefined;
21
- };
22
- /**
23
- * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
24
- */
25
- export declare const DuplicateAgentStatus: {
26
- readonly Live: "live";
27
- readonly Draft: "draft";
28
- readonly Pending: "pending";
29
- readonly Published: "published";
30
- };
31
- /**
32
- * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
33
- */
34
- export type DuplicateAgentStatus = ClosedEnum<typeof DuplicateAgentStatus>;
35
- /**
36
- * 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.
37
- */
38
- export declare const DuplicateAgentToolApprovalRequired: {
39
- readonly All: "all";
40
- readonly RespectTool: "respect_tool";
41
- readonly None: "none";
42
- };
43
- /**
44
- * 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.
45
- */
46
- export type DuplicateAgentToolApprovalRequired = ClosedEnum<typeof DuplicateAgentToolApprovalRequired>;
47
- export type DuplicateAgentConditions = {
48
- /**
49
- * The argument of the tool call to evaluate
50
- */
51
- condition: string;
52
- /**
53
- * The operator to use
54
- */
55
- operator: string;
56
- /**
57
- * The value to compare against
58
- */
59
- value: string;
60
- };
61
- export type DuplicateAgentTools = {
62
- /**
63
- * The id of the resource
64
- */
65
- id: string;
66
- /**
67
- * Optional tool key for custom tools
68
- */
69
- key?: string | undefined;
70
- actionType: string;
71
- displayName?: string | undefined;
72
- /**
73
- * Optional tool description
74
- */
75
- description?: string | undefined;
76
- requiresApproval?: boolean | undefined;
77
- conditions?: Array<DuplicateAgentConditions> | undefined;
78
- /**
79
- * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
80
- */
81
- timeout?: number | undefined;
82
- };
83
- /**
84
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
85
- */
86
- export declare const DuplicateAgentExecuteOn: {
87
- readonly Input: "input";
88
- readonly Output: "output";
89
- };
90
- /**
91
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
92
- */
93
- export type DuplicateAgentExecuteOn = ClosedEnum<typeof DuplicateAgentExecuteOn>;
94
- export type DuplicateAgentEvaluators = {
95
- /**
96
- * Unique key or identifier of the evaluator
97
- */
98
- id: string;
99
- /**
100
- * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
101
- */
102
- sampleRate?: number | undefined;
103
- /**
104
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
105
- */
106
- executeOn: DuplicateAgentExecuteOn;
107
- };
108
- /**
109
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
110
- */
111
- export declare const DuplicateAgentAgentsExecuteOn: {
112
- readonly Input: "input";
113
- readonly Output: "output";
114
- };
115
- /**
116
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
117
- */
118
- export type DuplicateAgentAgentsExecuteOn = ClosedEnum<typeof DuplicateAgentAgentsExecuteOn>;
119
- export type DuplicateAgentGuardrails = {
120
- /**
121
- * Unique key or identifier of the evaluator
122
- */
123
- id: string;
124
- /**
125
- * The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
126
- */
127
- sampleRate?: number | undefined;
128
- /**
129
- * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
130
- */
131
- executeOn: DuplicateAgentAgentsExecuteOn;
132
- };
133
- export type DuplicateAgentSettings = {
134
- /**
135
- * Maximum iterations(llm calls) before the agent will stop executing.
136
- */
137
- maxIterations?: number | undefined;
138
- /**
139
- * 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.
140
- */
141
- maxExecutionTime?: number | undefined;
142
- /**
143
- * 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.
144
- */
145
- toolApprovalRequired?: DuplicateAgentToolApprovalRequired | undefined;
146
- tools?: Array<DuplicateAgentTools> | undefined;
147
- /**
148
- * Configuration for an evaluator applied to the agent
149
- */
150
- evaluators?: Array<DuplicateAgentEvaluators> | undefined;
151
- /**
152
- * Configuration for a guardrail applied to the agent
153
- */
154
- guardrails?: Array<DuplicateAgentGuardrails> | undefined;
155
- };
156
- /**
157
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
158
- */
159
- export declare const DuplicateAgentVoice: {
160
- readonly Alloy: "alloy";
161
- readonly Echo: "echo";
162
- readonly Fable: "fable";
163
- readonly Onyx: "onyx";
164
- readonly Nova: "nova";
165
- readonly Shimmer: "shimmer";
166
- };
167
- /**
168
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
169
- */
170
- export type DuplicateAgentVoice = ClosedEnum<typeof DuplicateAgentVoice>;
171
- /**
172
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
173
- */
174
- export declare const DuplicateAgentFormat: {
175
- readonly Wav: "wav";
176
- readonly Mp3: "mp3";
177
- readonly Flac: "flac";
178
- readonly Opus: "opus";
179
- readonly Pcm16: "pcm16";
180
- };
181
- /**
182
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
183
- */
184
- export type DuplicateAgentFormat = ClosedEnum<typeof DuplicateAgentFormat>;
185
- /**
186
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
187
- */
188
- export type DuplicateAgentAudio = {
189
- /**
190
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
191
- */
192
- voice: DuplicateAgentVoice;
193
- /**
194
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
195
- */
196
- format: DuplicateAgentFormat;
197
- };
198
- export declare const DuplicateAgentResponseFormatAgentsResponseType: {
199
- readonly JsonSchema: "json_schema";
200
- };
201
- export type DuplicateAgentResponseFormatAgentsResponseType = ClosedEnum<typeof DuplicateAgentResponseFormatAgentsResponseType>;
202
- export type DuplicateAgentResponseFormatJsonSchema = {
203
- /**
204
- * A description of what the response format is for, used by the model to determine how to respond in the format.
205
- */
206
- description?: string | undefined;
207
- /**
208
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
209
- */
210
- name: string;
211
- /**
212
- * The schema for the response format, described as a JSON Schema object.
213
- */
214
- schema?: any | undefined;
215
- /**
216
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
217
- */
218
- strict?: boolean | null | undefined;
219
- };
220
- /**
221
- * @remarks
222
- *
223
- * JSON Schema response format. Used to generate structured JSON responses
224
- */
225
- export type DuplicateAgentResponseFormatAgentsJSONSchema = {
226
- type: DuplicateAgentResponseFormatAgentsResponseType;
227
- jsonSchema: DuplicateAgentResponseFormatJsonSchema;
228
- };
229
- export declare const DuplicateAgentResponseFormatAgentsType: {
230
- readonly JsonObject: "json_object";
231
- };
232
- export type DuplicateAgentResponseFormatAgentsType = ClosedEnum<typeof DuplicateAgentResponseFormatAgentsType>;
233
- /**
234
- * @remarks
235
- *
236
- * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
237
- */
238
- export type DuplicateAgentResponseFormatJSONObject = {
239
- type: DuplicateAgentResponseFormatAgentsType;
240
- };
241
- export declare const DuplicateAgentResponseFormatType: {
242
- readonly Text: "text";
243
- };
244
- export type DuplicateAgentResponseFormatType = ClosedEnum<typeof DuplicateAgentResponseFormatType>;
245
- /**
246
- * @remarks
247
- *
248
- * Default response format. Used to generate text responses
249
- */
250
- export type DuplicateAgentResponseFormatText = {
251
- type: DuplicateAgentResponseFormatType;
252
- };
253
- /**
254
- * An object specifying the format that the model must output
255
- */
256
- export type DuplicateAgentResponseFormat = DuplicateAgentResponseFormatAgentsJSONSchema | DuplicateAgentResponseFormatText | DuplicateAgentResponseFormatJSONObject;
257
- /**
258
- * Up to 4 sequences where the API will stop generating further tokens.
259
- */
260
- export type DuplicateAgentStop = string | Array<string>;
261
- /**
262
- * Options for streaming response. Only set this when you set stream: true.
263
- */
264
- export type DuplicateAgentStreamOptions = {
265
- /**
266
- * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
267
- */
268
- includeUsage?: boolean | undefined;
269
- };
270
- /**
271
- * Enables or disables the thinking mode capability
272
- */
273
- export declare const DuplicateAgentType: {
274
- readonly Enabled: "enabled";
275
- readonly Disabled: "disabled";
276
- };
277
- /**
278
- * Enables or disables the thinking mode capability
279
- */
280
- export type DuplicateAgentType = ClosedEnum<typeof DuplicateAgentType>;
281
- /**
282
- * 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.
283
- */
284
- export declare const DuplicateAgentThinkingLevel: {
285
- readonly Low: "low";
286
- readonly High: "high";
287
- };
288
- /**
289
- * 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.
290
- */
291
- export type DuplicateAgentThinkingLevel = ClosedEnum<typeof DuplicateAgentThinkingLevel>;
292
- export type DuplicateAgentThinking = {
293
- /**
294
- * Enables or disables the thinking mode capability
295
- */
296
- type: DuplicateAgentType;
297
- /**
298
- * 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`.
299
- */
300
- budgetTokens: number;
301
- /**
302
- * 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.
303
- */
304
- thinkingLevel?: DuplicateAgentThinkingLevel | undefined;
305
- };
306
- /**
307
- * The type of the tool. Currently, only function is supported.
308
- */
309
- export declare const DuplicateAgentToolChoiceType: {
310
- readonly Function: "function";
311
- };
312
- /**
313
- * The type of the tool. Currently, only function is supported.
314
- */
315
- export type DuplicateAgentToolChoiceType = ClosedEnum<typeof DuplicateAgentToolChoiceType>;
316
- export type DuplicateAgentToolChoiceFunction = {
317
- /**
318
- * The name of the function to call.
319
- */
320
- name?: string | undefined;
321
- };
322
- export type DuplicateAgentToolChoice2 = {
323
- /**
324
- * The type of the tool. Currently, only function is supported.
325
- */
326
- type?: DuplicateAgentToolChoiceType | undefined;
327
- function: DuplicateAgentToolChoiceFunction;
328
- };
329
- export declare const DuplicateAgentToolChoice1: {
330
- readonly None: "none";
331
- readonly Auto: "auto";
332
- readonly Required: "required";
333
- };
334
- export type DuplicateAgentToolChoice1 = ClosedEnum<typeof DuplicateAgentToolChoice1>;
335
- /**
336
- * Controls which (if any) tool is called by the model.
337
- */
338
- export type DuplicateAgentToolChoice = DuplicateAgentToolChoice2 | DuplicateAgentToolChoice1;
339
- export declare const DuplicateAgentModalities: {
340
- readonly Text: "text";
341
- readonly Audio: "audio";
342
- };
343
- export type DuplicateAgentModalities = ClosedEnum<typeof DuplicateAgentModalities>;
344
- /**
345
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
346
- */
347
- export type DuplicateAgentParameters = {
348
- /**
349
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
350
- */
351
- audio?: DuplicateAgentAudio | null | undefined;
352
- /**
353
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
354
- */
355
- frequencyPenalty?: number | null | undefined;
356
- /**
357
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
358
- *
359
- * @remarks
360
- *
361
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
362
- */
363
- maxTokens?: number | null | undefined;
364
- /**
365
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
366
- */
367
- maxCompletionTokens?: number | null | undefined;
368
- /**
369
- * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
370
- */
371
- logprobs?: boolean | null | undefined;
372
- /**
373
- * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
374
- */
375
- topLogprobs?: number | null | undefined;
376
- /**
377
- * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
378
- */
379
- n?: number | null | undefined;
380
- /**
381
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
382
- */
383
- presencePenalty?: number | null | undefined;
384
- /**
385
- * An object specifying the format that the model must output
386
- */
387
- responseFormat?: DuplicateAgentResponseFormatAgentsJSONSchema | DuplicateAgentResponseFormatText | DuplicateAgentResponseFormatJSONObject | undefined;
388
- /**
389
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
390
- */
391
- reasoningEffort?: string | undefined;
392
- /**
393
- * Adjusts response verbosity. Lower levels yield shorter answers.
394
- */
395
- verbosity?: string | undefined;
396
- /**
397
- * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
398
- */
399
- seed?: number | null | undefined;
400
- /**
401
- * Up to 4 sequences where the API will stop generating further tokens.
402
- */
403
- stop?: string | Array<string> | null | undefined;
404
- /**
405
- * Options for streaming response. Only set this when you set stream: true.
406
- */
407
- streamOptions?: DuplicateAgentStreamOptions | null | undefined;
408
- thinking?: DuplicateAgentThinking | undefined;
409
- /**
410
- * 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.
411
- */
412
- temperature?: number | null | undefined;
413
- /**
414
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
415
- */
416
- topP?: number | null | undefined;
417
- /**
418
- * Limits the model to consider only the top k most likely tokens at each step.
419
- */
420
- topK?: number | null | undefined;
421
- /**
422
- * Controls which (if any) tool is called by the model.
423
- */
424
- toolChoice?: DuplicateAgentToolChoice2 | DuplicateAgentToolChoice1 | undefined;
425
- /**
426
- * Whether to enable parallel function calling during tool use.
427
- */
428
- parallelToolCalls?: boolean | undefined;
429
- /**
430
- * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
431
- */
432
- modalities?: Array<DuplicateAgentModalities> | null | undefined;
433
- };
434
- /**
435
- * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
436
- */
437
- export type DuplicateAgentRetry = {
438
- /**
439
- * Number of retry attempts (1-5)
440
- */
441
- count?: number | undefined;
442
- /**
443
- * HTTP status codes that trigger retry logic
444
- */
445
- onCodes?: Array<number> | undefined;
446
- };
447
- /**
448
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
449
- */
450
- export declare const DuplicateAgentFallbackModelConfigurationVoice: {
451
- readonly Alloy: "alloy";
452
- readonly Echo: "echo";
453
- readonly Fable: "fable";
454
- readonly Onyx: "onyx";
455
- readonly Nova: "nova";
456
- readonly Shimmer: "shimmer";
457
- };
458
- /**
459
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
460
- */
461
- export type DuplicateAgentFallbackModelConfigurationVoice = ClosedEnum<typeof DuplicateAgentFallbackModelConfigurationVoice>;
462
- /**
463
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
464
- */
465
- export declare const DuplicateAgentFallbackModelConfigurationFormat: {
466
- readonly Wav: "wav";
467
- readonly Mp3: "mp3";
468
- readonly Flac: "flac";
469
- readonly Opus: "opus";
470
- readonly Pcm16: "pcm16";
471
- };
472
- /**
473
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
474
- */
475
- export type DuplicateAgentFallbackModelConfigurationFormat = ClosedEnum<typeof DuplicateAgentFallbackModelConfigurationFormat>;
476
- /**
477
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
478
- */
479
- export type DuplicateAgentFallbackModelConfigurationAudio = {
480
- /**
481
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
482
- */
483
- voice: DuplicateAgentFallbackModelConfigurationVoice;
484
- /**
485
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
486
- */
487
- format: DuplicateAgentFallbackModelConfigurationFormat;
488
- };
489
- export declare const DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType: {
490
- readonly JsonSchema: "json_schema";
491
- };
492
- export type DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType = ClosedEnum<typeof DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType>;
493
- export type DuplicateAgentResponseFormatAgentsResponseJsonSchema = {
494
- /**
495
- * A description of what the response format is for, used by the model to determine how to respond in the format.
496
- */
497
- description?: string | undefined;
498
- /**
499
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
500
- */
501
- name: string;
502
- /**
503
- * The schema for the response format, described as a JSON Schema object.
504
- */
505
- schema?: any | undefined;
506
- /**
507
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
508
- */
509
- strict?: boolean | null | undefined;
510
- };
511
- /**
512
- * @remarks
513
- *
514
- * JSON Schema response format. Used to generate structured JSON responses
515
- */
516
- export type DuplicateAgentResponseFormatAgentsResponse201JSONSchema = {
517
- type: DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType;
518
- jsonSchema: DuplicateAgentResponseFormatAgentsResponseJsonSchema;
519
- };
520
- export declare const DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType: {
521
- readonly JsonObject: "json_object";
522
- };
523
- export type DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType = ClosedEnum<typeof DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType>;
524
- /**
525
- * @remarks
526
- *
527
- * JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
528
- */
529
- export type DuplicateAgentResponseFormatAgentsJSONObject = {
530
- type: DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType;
531
- };
532
- export declare const DuplicateAgentResponseFormatAgentsResponse201Type: {
533
- readonly Text: "text";
534
- };
535
- export type DuplicateAgentResponseFormatAgentsResponse201Type = ClosedEnum<typeof DuplicateAgentResponseFormatAgentsResponse201Type>;
536
- /**
537
- * @remarks
538
- *
539
- * Default response format. Used to generate text responses
540
- */
541
- export type DuplicateAgentResponseFormatAgentsText = {
542
- type: DuplicateAgentResponseFormatAgentsResponse201Type;
543
- };
544
- /**
545
- * An object specifying the format that the model must output
546
- */
547
- export type DuplicateAgentFallbackModelConfigurationResponseFormat = DuplicateAgentResponseFormatAgentsResponse201JSONSchema | DuplicateAgentResponseFormatAgentsText | DuplicateAgentResponseFormatAgentsJSONObject;
548
- /**
549
- * Up to 4 sequences where the API will stop generating further tokens.
550
- */
551
- export type DuplicateAgentFallbackModelConfigurationStop = string | Array<string>;
552
- /**
553
- * Options for streaming response. Only set this when you set stream: true.
554
- */
555
- export type DuplicateAgentFallbackModelConfigurationStreamOptions = {
556
- /**
557
- * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
558
- */
559
- includeUsage?: boolean | undefined;
560
- };
561
- /**
562
- * Enables or disables the thinking mode capability
563
- */
564
- export declare const DuplicateAgentFallbackModelConfigurationType: {
565
- readonly Enabled: "enabled";
566
- readonly Disabled: "disabled";
567
- };
568
- /**
569
- * Enables or disables the thinking mode capability
570
- */
571
- export type DuplicateAgentFallbackModelConfigurationType = ClosedEnum<typeof DuplicateAgentFallbackModelConfigurationType>;
572
- /**
573
- * 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.
574
- */
575
- export declare const DuplicateAgentFallbackModelConfigurationThinkingLevel: {
576
- readonly Low: "low";
577
- readonly High: "high";
578
- };
579
- /**
580
- * 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.
581
- */
582
- export type DuplicateAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<typeof DuplicateAgentFallbackModelConfigurationThinkingLevel>;
583
- export type DuplicateAgentFallbackModelConfigurationThinking = {
584
- /**
585
- * Enables or disables the thinking mode capability
586
- */
587
- type: DuplicateAgentFallbackModelConfigurationType;
588
- /**
589
- * 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`.
590
- */
591
- budgetTokens: number;
592
- /**
593
- * 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.
594
- */
595
- thinkingLevel?: DuplicateAgentFallbackModelConfigurationThinkingLevel | undefined;
596
- };
597
- /**
598
- * The type of the tool. Currently, only function is supported.
599
- */
600
- export declare const DuplicateAgentToolChoiceAgentsType: {
601
- readonly Function: "function";
602
- };
603
- /**
604
- * The type of the tool. Currently, only function is supported.
605
- */
606
- export type DuplicateAgentToolChoiceAgentsType = ClosedEnum<typeof DuplicateAgentToolChoiceAgentsType>;
607
- export type DuplicateAgentToolChoiceAgentsFunction = {
608
- /**
609
- * The name of the function to call.
610
- */
611
- name?: string | undefined;
612
- };
613
- export type DuplicateAgentToolChoiceAgents2 = {
614
- /**
615
- * The type of the tool. Currently, only function is supported.
616
- */
617
- type?: DuplicateAgentToolChoiceAgentsType | undefined;
618
- function: DuplicateAgentToolChoiceAgentsFunction;
619
- };
620
- export declare const DuplicateAgentToolChoiceAgents1: {
621
- readonly None: "none";
622
- readonly Auto: "auto";
623
- readonly Required: "required";
624
- };
625
- export type DuplicateAgentToolChoiceAgents1 = ClosedEnum<typeof DuplicateAgentToolChoiceAgents1>;
626
- /**
627
- * Controls which (if any) tool is called by the model.
628
- */
629
- export type DuplicateAgentFallbackModelConfigurationToolChoice = DuplicateAgentToolChoiceAgents2 | DuplicateAgentToolChoiceAgents1;
630
- export declare const DuplicateAgentFallbackModelConfigurationModalities: {
631
- readonly Text: "text";
632
- readonly Audio: "audio";
633
- };
634
- export type DuplicateAgentFallbackModelConfigurationModalities = ClosedEnum<typeof DuplicateAgentFallbackModelConfigurationModalities>;
635
- /**
636
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
637
- */
638
- export type DuplicateAgentFallbackModelConfigurationParameters = {
639
- /**
640
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
641
- */
642
- audio?: DuplicateAgentFallbackModelConfigurationAudio | null | undefined;
643
- /**
644
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
645
- */
646
- frequencyPenalty?: number | null | undefined;
647
- /**
648
- * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
649
- *
650
- * @remarks
651
- *
652
- * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
653
- */
654
- maxTokens?: number | null | undefined;
655
- /**
656
- * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
657
- */
658
- maxCompletionTokens?: number | null | undefined;
659
- /**
660
- * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
661
- */
662
- logprobs?: boolean | null | undefined;
663
- /**
664
- * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
665
- */
666
- topLogprobs?: number | null | undefined;
667
- /**
668
- * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
669
- */
670
- n?: number | null | undefined;
671
- /**
672
- * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
673
- */
674
- presencePenalty?: number | null | undefined;
675
- /**
676
- * An object specifying the format that the model must output
677
- */
678
- responseFormat?: DuplicateAgentResponseFormatAgentsResponse201JSONSchema | DuplicateAgentResponseFormatAgentsText | DuplicateAgentResponseFormatAgentsJSONObject | undefined;
679
- /**
680
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
681
- */
682
- reasoningEffort?: string | undefined;
683
- /**
684
- * Adjusts response verbosity. Lower levels yield shorter answers.
685
- */
686
- verbosity?: string | undefined;
687
- /**
688
- * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
689
- */
690
- seed?: number | null | undefined;
691
- /**
692
- * Up to 4 sequences where the API will stop generating further tokens.
693
- */
694
- stop?: string | Array<string> | null | undefined;
695
- /**
696
- * Options for streaming response. Only set this when you set stream: true.
697
- */
698
- streamOptions?: DuplicateAgentFallbackModelConfigurationStreamOptions | null | undefined;
699
- thinking?: DuplicateAgentFallbackModelConfigurationThinking | undefined;
700
- /**
701
- * 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.
702
- */
703
- temperature?: number | null | undefined;
704
- /**
705
- * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
706
- */
707
- topP?: number | null | undefined;
708
- /**
709
- * Limits the model to consider only the top k most likely tokens at each step.
710
- */
711
- topK?: number | null | undefined;
712
- /**
713
- * Controls which (if any) tool is called by the model.
714
- */
715
- toolChoice?: DuplicateAgentToolChoiceAgents2 | DuplicateAgentToolChoiceAgents1 | undefined;
716
- /**
717
- * Whether to enable parallel function calling during tool use.
718
- */
719
- parallelToolCalls?: boolean | undefined;
720
- /**
721
- * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
722
- */
723
- modalities?: Array<DuplicateAgentFallbackModelConfigurationModalities> | null | undefined;
724
- };
725
- /**
726
- * Fallback model configuration with optional parameters.
727
- */
728
- export type DuplicateAgentFallbackModelConfiguration2 = {
729
- /**
730
- * A fallback model ID string. Must support tool calling.
731
- */
732
- id: string;
733
- /**
734
- * Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
735
- */
736
- parameters?: DuplicateAgentFallbackModelConfigurationParameters | undefined;
737
- };
738
- /**
739
- * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
740
- */
741
- export type DuplicateAgentFallbackModelConfiguration = DuplicateAgentFallbackModelConfiguration2 | string;
742
- export type DuplicateAgentModel = {
743
- /**
744
- * The database ID of the primary model
745
- */
746
- id: string;
747
- /**
748
- * Optional integration ID for custom model configurations
749
- */
750
- integrationId?: string | null | undefined;
751
- /**
752
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
753
- */
754
- parameters?: DuplicateAgentParameters | undefined;
755
- /**
756
- * Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
757
- */
758
- retry?: DuplicateAgentRetry | undefined;
759
- /**
760
- * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
761
- */
762
- fallbackModels?: Array<DuplicateAgentFallbackModelConfiguration2 | string> | null | undefined;
763
- };
764
- export type DuplicateAgentTeamOfAgents = {
765
- /**
766
- * The unique key of the agent within the workspace
767
- */
768
- key: string;
769
- /**
770
- * The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
771
- */
772
- role?: string | undefined;
773
- };
774
- export type DuplicateAgentMetrics = {
775
- totalCost?: number | undefined;
776
- };
777
- export type DuplicateAgentKnowledgeBases = {
778
- /**
779
- * Unique identifier of the knowledge base to search
780
- */
781
- knowledgeId: string;
782
- };
783
- /**
784
- * Agent duplicated successfully
785
- */
786
- export type DuplicateAgentResponseBody = {
787
- id: string;
788
- key: string;
789
- displayName: string;
790
- workspaceId: string;
791
- projectId: string;
792
- createdById?: string | null | undefined;
793
- updatedById?: string | null | undefined;
794
- created?: string | undefined;
795
- updated?: string | undefined;
796
- role: string;
797
- description: string;
798
- systemPrompt?: string | undefined;
799
- instructions: string;
800
- /**
801
- * The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
802
- */
803
- status: DuplicateAgentStatus;
804
- settings?: DuplicateAgentSettings | undefined;
805
- model: DuplicateAgentModel;
806
- versionHash?: string | undefined;
807
- /**
808
- * Entity storage path in the format: `project/folder/subfolder/...`
809
- *
810
- * @remarks
811
- *
812
- * The first element identifies the project, followed by nested folders (auto-created as needed).
813
- *
814
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
815
- */
816
- path: string;
817
- /**
818
- * Array of memory store identifiers. Accepts both memory store IDs and keys.
819
- */
820
- memoryStores: Array<string>;
821
- /**
822
- * The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
823
- */
824
- teamOfAgents: Array<DuplicateAgentTeamOfAgents>;
825
- metrics?: DuplicateAgentMetrics | undefined;
826
- /**
827
- * Extracted variables from agent instructions
828
- */
829
- variables?: {
830
- [k: string]: any;
831
- } | undefined;
832
- /**
833
- * Agent knowledge bases reference
834
- */
835
- knowledgeBases?: Array<DuplicateAgentKnowledgeBases> | undefined;
836
- };
837
- /** @internal */
838
- export declare const DuplicateAgentRequestBody$inboundSchema: z.ZodType<DuplicateAgentRequestBody, z.ZodTypeDef, unknown>;
839
- /** @internal */
840
- export type DuplicateAgentRequestBody$Outbound = {
841
- key: string;
842
- display_name?: string | undefined;
843
- };
844
- /** @internal */
845
- export declare const DuplicateAgentRequestBody$outboundSchema: z.ZodType<DuplicateAgentRequestBody$Outbound, z.ZodTypeDef, DuplicateAgentRequestBody>;
846
- export declare function duplicateAgentRequestBodyToJSON(duplicateAgentRequestBody: DuplicateAgentRequestBody): string;
847
- export declare function duplicateAgentRequestBodyFromJSON(jsonString: string): SafeParseResult<DuplicateAgentRequestBody, SDKValidationError>;
848
- /** @internal */
849
- export declare const DuplicateAgentRequest$inboundSchema: z.ZodType<DuplicateAgentRequest, z.ZodTypeDef, unknown>;
850
- /** @internal */
851
- export type DuplicateAgentRequest$Outbound = {
852
- agent_key: string;
853
- RequestBody?: DuplicateAgentRequestBody$Outbound | undefined;
854
- };
855
- /** @internal */
856
- export declare const DuplicateAgentRequest$outboundSchema: z.ZodType<DuplicateAgentRequest$Outbound, z.ZodTypeDef, DuplicateAgentRequest>;
857
- export declare function duplicateAgentRequestToJSON(duplicateAgentRequest: DuplicateAgentRequest): string;
858
- export declare function duplicateAgentRequestFromJSON(jsonString: string): SafeParseResult<DuplicateAgentRequest, SDKValidationError>;
859
- /** @internal */
860
- export declare const DuplicateAgentStatus$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentStatus>;
861
- /** @internal */
862
- export declare const DuplicateAgentStatus$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentStatus>;
863
- /** @internal */
864
- export declare const DuplicateAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolApprovalRequired>;
865
- /** @internal */
866
- export declare const DuplicateAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolApprovalRequired>;
867
- /** @internal */
868
- export declare const DuplicateAgentConditions$inboundSchema: z.ZodType<DuplicateAgentConditions, z.ZodTypeDef, unknown>;
869
- /** @internal */
870
- export type DuplicateAgentConditions$Outbound = {
871
- condition: string;
872
- operator: string;
873
- value: string;
874
- };
875
- /** @internal */
876
- export declare const DuplicateAgentConditions$outboundSchema: z.ZodType<DuplicateAgentConditions$Outbound, z.ZodTypeDef, DuplicateAgentConditions>;
877
- export declare function duplicateAgentConditionsToJSON(duplicateAgentConditions: DuplicateAgentConditions): string;
878
- export declare function duplicateAgentConditionsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentConditions, SDKValidationError>;
879
- /** @internal */
880
- export declare const DuplicateAgentTools$inboundSchema: z.ZodType<DuplicateAgentTools, z.ZodTypeDef, unknown>;
881
- /** @internal */
882
- export type DuplicateAgentTools$Outbound = {
883
- id: string;
884
- key?: string | undefined;
885
- action_type: string;
886
- display_name?: string | undefined;
887
- description?: string | undefined;
888
- requires_approval: boolean;
889
- conditions?: Array<DuplicateAgentConditions$Outbound> | undefined;
890
- timeout: number;
891
- };
892
- /** @internal */
893
- export declare const DuplicateAgentTools$outboundSchema: z.ZodType<DuplicateAgentTools$Outbound, z.ZodTypeDef, DuplicateAgentTools>;
894
- export declare function duplicateAgentToolsToJSON(duplicateAgentTools: DuplicateAgentTools): string;
895
- export declare function duplicateAgentToolsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentTools, SDKValidationError>;
896
- /** @internal */
897
- export declare const DuplicateAgentExecuteOn$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentExecuteOn>;
898
- /** @internal */
899
- export declare const DuplicateAgentExecuteOn$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentExecuteOn>;
900
- /** @internal */
901
- export declare const DuplicateAgentEvaluators$inboundSchema: z.ZodType<DuplicateAgentEvaluators, z.ZodTypeDef, unknown>;
902
- /** @internal */
903
- export type DuplicateAgentEvaluators$Outbound = {
904
- id: string;
905
- sample_rate: number;
906
- execute_on: string;
907
- };
908
- /** @internal */
909
- export declare const DuplicateAgentEvaluators$outboundSchema: z.ZodType<DuplicateAgentEvaluators$Outbound, z.ZodTypeDef, DuplicateAgentEvaluators>;
910
- export declare function duplicateAgentEvaluatorsToJSON(duplicateAgentEvaluators: DuplicateAgentEvaluators): string;
911
- export declare function duplicateAgentEvaluatorsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentEvaluators, SDKValidationError>;
912
- /** @internal */
913
- export declare const DuplicateAgentAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentAgentsExecuteOn>;
914
- /** @internal */
915
- export declare const DuplicateAgentAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentAgentsExecuteOn>;
916
- /** @internal */
917
- export declare const DuplicateAgentGuardrails$inboundSchema: z.ZodType<DuplicateAgentGuardrails, z.ZodTypeDef, unknown>;
918
- /** @internal */
919
- export type DuplicateAgentGuardrails$Outbound = {
920
- id: string;
921
- sample_rate: number;
922
- execute_on: string;
923
- };
924
- /** @internal */
925
- export declare const DuplicateAgentGuardrails$outboundSchema: z.ZodType<DuplicateAgentGuardrails$Outbound, z.ZodTypeDef, DuplicateAgentGuardrails>;
926
- export declare function duplicateAgentGuardrailsToJSON(duplicateAgentGuardrails: DuplicateAgentGuardrails): string;
927
- export declare function duplicateAgentGuardrailsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentGuardrails, SDKValidationError>;
928
- /** @internal */
929
- export declare const DuplicateAgentSettings$inboundSchema: z.ZodType<DuplicateAgentSettings, z.ZodTypeDef, unknown>;
930
- /** @internal */
931
- export type DuplicateAgentSettings$Outbound = {
932
- max_iterations: number;
933
- max_execution_time: number;
934
- tool_approval_required: string;
935
- tools?: Array<DuplicateAgentTools$Outbound> | undefined;
936
- evaluators?: Array<DuplicateAgentEvaluators$Outbound> | undefined;
937
- guardrails?: Array<DuplicateAgentGuardrails$Outbound> | undefined;
938
- };
939
- /** @internal */
940
- export declare const DuplicateAgentSettings$outboundSchema: z.ZodType<DuplicateAgentSettings$Outbound, z.ZodTypeDef, DuplicateAgentSettings>;
941
- export declare function duplicateAgentSettingsToJSON(duplicateAgentSettings: DuplicateAgentSettings): string;
942
- export declare function duplicateAgentSettingsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentSettings, SDKValidationError>;
943
- /** @internal */
944
- export declare const DuplicateAgentVoice$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentVoice>;
945
- /** @internal */
946
- export declare const DuplicateAgentVoice$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentVoice>;
947
- /** @internal */
948
- export declare const DuplicateAgentFormat$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFormat>;
949
- /** @internal */
950
- export declare const DuplicateAgentFormat$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFormat>;
951
- /** @internal */
952
- export declare const DuplicateAgentAudio$inboundSchema: z.ZodType<DuplicateAgentAudio, z.ZodTypeDef, unknown>;
953
- /** @internal */
954
- export type DuplicateAgentAudio$Outbound = {
955
- voice: string;
956
- format: string;
957
- };
958
- /** @internal */
959
- export declare const DuplicateAgentAudio$outboundSchema: z.ZodType<DuplicateAgentAudio$Outbound, z.ZodTypeDef, DuplicateAgentAudio>;
960
- export declare function duplicateAgentAudioToJSON(duplicateAgentAudio: DuplicateAgentAudio): string;
961
- export declare function duplicateAgentAudioFromJSON(jsonString: string): SafeParseResult<DuplicateAgentAudio, SDKValidationError>;
962
- /** @internal */
963
- export declare const DuplicateAgentResponseFormatAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponseType>;
964
- /** @internal */
965
- export declare const DuplicateAgentResponseFormatAgentsResponseType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponseType>;
966
- /** @internal */
967
- export declare const DuplicateAgentResponseFormatJsonSchema$inboundSchema: z.ZodType<DuplicateAgentResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
968
- /** @internal */
969
- export type DuplicateAgentResponseFormatJsonSchema$Outbound = {
970
- description?: string | undefined;
971
- name: string;
972
- schema?: any | undefined;
973
- strict?: boolean | null | undefined;
974
- };
975
- /** @internal */
976
- export declare const DuplicateAgentResponseFormatJsonSchema$outboundSchema: z.ZodType<DuplicateAgentResponseFormatJsonSchema$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatJsonSchema>;
977
- export declare function duplicateAgentResponseFormatJsonSchemaToJSON(duplicateAgentResponseFormatJsonSchema: DuplicateAgentResponseFormatJsonSchema): string;
978
- export declare function duplicateAgentResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatJsonSchema, SDKValidationError>;
979
- /** @internal */
980
- export declare const DuplicateAgentResponseFormatAgentsJSONSchema$inboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsJSONSchema, z.ZodTypeDef, unknown>;
981
- /** @internal */
982
- export type DuplicateAgentResponseFormatAgentsJSONSchema$Outbound = {
983
- type: string;
984
- json_schema: DuplicateAgentResponseFormatJsonSchema$Outbound;
985
- };
986
- /** @internal */
987
- export declare const DuplicateAgentResponseFormatAgentsJSONSchema$outboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsJSONSchema$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatAgentsJSONSchema>;
988
- export declare function duplicateAgentResponseFormatAgentsJSONSchemaToJSON(duplicateAgentResponseFormatAgentsJSONSchema: DuplicateAgentResponseFormatAgentsJSONSchema): string;
989
- export declare function duplicateAgentResponseFormatAgentsJSONSchemaFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatAgentsJSONSchema, SDKValidationError>;
990
- /** @internal */
991
- export declare const DuplicateAgentResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsType>;
992
- /** @internal */
993
- export declare const DuplicateAgentResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsType>;
994
- /** @internal */
995
- export declare const DuplicateAgentResponseFormatJSONObject$inboundSchema: z.ZodType<DuplicateAgentResponseFormatJSONObject, z.ZodTypeDef, unknown>;
996
- /** @internal */
997
- export type DuplicateAgentResponseFormatJSONObject$Outbound = {
998
- type: string;
999
- };
1000
- /** @internal */
1001
- export declare const DuplicateAgentResponseFormatJSONObject$outboundSchema: z.ZodType<DuplicateAgentResponseFormatJSONObject$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatJSONObject>;
1002
- export declare function duplicateAgentResponseFormatJSONObjectToJSON(duplicateAgentResponseFormatJSONObject: DuplicateAgentResponseFormatJSONObject): string;
1003
- export declare function duplicateAgentResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatJSONObject, SDKValidationError>;
1004
- /** @internal */
1005
- export declare const DuplicateAgentResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatType>;
1006
- /** @internal */
1007
- export declare const DuplicateAgentResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatType>;
1008
- /** @internal */
1009
- export declare const DuplicateAgentResponseFormatText$inboundSchema: z.ZodType<DuplicateAgentResponseFormatText, z.ZodTypeDef, unknown>;
1010
- /** @internal */
1011
- export type DuplicateAgentResponseFormatText$Outbound = {
1012
- type: string;
1013
- };
1014
- /** @internal */
1015
- export declare const DuplicateAgentResponseFormatText$outboundSchema: z.ZodType<DuplicateAgentResponseFormatText$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatText>;
1016
- export declare function duplicateAgentResponseFormatTextToJSON(duplicateAgentResponseFormatText: DuplicateAgentResponseFormatText): string;
1017
- export declare function duplicateAgentResponseFormatTextFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatText, SDKValidationError>;
1018
- /** @internal */
1019
- export declare const DuplicateAgentResponseFormat$inboundSchema: z.ZodType<DuplicateAgentResponseFormat, z.ZodTypeDef, unknown>;
1020
- /** @internal */
1021
- export type DuplicateAgentResponseFormat$Outbound = DuplicateAgentResponseFormatAgentsJSONSchema$Outbound | DuplicateAgentResponseFormatText$Outbound | DuplicateAgentResponseFormatJSONObject$Outbound;
1022
- /** @internal */
1023
- export declare const DuplicateAgentResponseFormat$outboundSchema: z.ZodType<DuplicateAgentResponseFormat$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormat>;
1024
- export declare function duplicateAgentResponseFormatToJSON(duplicateAgentResponseFormat: DuplicateAgentResponseFormat): string;
1025
- export declare function duplicateAgentResponseFormatFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormat, SDKValidationError>;
1026
- /** @internal */
1027
- export declare const DuplicateAgentStop$inboundSchema: z.ZodType<DuplicateAgentStop, z.ZodTypeDef, unknown>;
1028
- /** @internal */
1029
- export type DuplicateAgentStop$Outbound = string | Array<string>;
1030
- /** @internal */
1031
- export declare const DuplicateAgentStop$outboundSchema: z.ZodType<DuplicateAgentStop$Outbound, z.ZodTypeDef, DuplicateAgentStop>;
1032
- export declare function duplicateAgentStopToJSON(duplicateAgentStop: DuplicateAgentStop): string;
1033
- export declare function duplicateAgentStopFromJSON(jsonString: string): SafeParseResult<DuplicateAgentStop, SDKValidationError>;
1034
- /** @internal */
1035
- export declare const DuplicateAgentStreamOptions$inboundSchema: z.ZodType<DuplicateAgentStreamOptions, z.ZodTypeDef, unknown>;
1036
- /** @internal */
1037
- export type DuplicateAgentStreamOptions$Outbound = {
1038
- include_usage?: boolean | undefined;
1039
- };
1040
- /** @internal */
1041
- export declare const DuplicateAgentStreamOptions$outboundSchema: z.ZodType<DuplicateAgentStreamOptions$Outbound, z.ZodTypeDef, DuplicateAgentStreamOptions>;
1042
- export declare function duplicateAgentStreamOptionsToJSON(duplicateAgentStreamOptions: DuplicateAgentStreamOptions): string;
1043
- export declare function duplicateAgentStreamOptionsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentStreamOptions, SDKValidationError>;
1044
- /** @internal */
1045
- export declare const DuplicateAgentType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentType>;
1046
- /** @internal */
1047
- export declare const DuplicateAgentType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentType>;
1048
- /** @internal */
1049
- export declare const DuplicateAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentThinkingLevel>;
1050
- /** @internal */
1051
- export declare const DuplicateAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentThinkingLevel>;
1052
- /** @internal */
1053
- export declare const DuplicateAgentThinking$inboundSchema: z.ZodType<DuplicateAgentThinking, z.ZodTypeDef, unknown>;
1054
- /** @internal */
1055
- export type DuplicateAgentThinking$Outbound = {
1056
- type: string;
1057
- budget_tokens: number;
1058
- thinking_level?: string | undefined;
1059
- };
1060
- /** @internal */
1061
- export declare const DuplicateAgentThinking$outboundSchema: z.ZodType<DuplicateAgentThinking$Outbound, z.ZodTypeDef, DuplicateAgentThinking>;
1062
- export declare function duplicateAgentThinkingToJSON(duplicateAgentThinking: DuplicateAgentThinking): string;
1063
- export declare function duplicateAgentThinkingFromJSON(jsonString: string): SafeParseResult<DuplicateAgentThinking, SDKValidationError>;
1064
- /** @internal */
1065
- export declare const DuplicateAgentToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoiceType>;
1066
- /** @internal */
1067
- export declare const DuplicateAgentToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoiceType>;
1068
- /** @internal */
1069
- export declare const DuplicateAgentToolChoiceFunction$inboundSchema: z.ZodType<DuplicateAgentToolChoiceFunction, z.ZodTypeDef, unknown>;
1070
- /** @internal */
1071
- export type DuplicateAgentToolChoiceFunction$Outbound = {
1072
- name?: string | undefined;
1073
- };
1074
- /** @internal */
1075
- export declare const DuplicateAgentToolChoiceFunction$outboundSchema: z.ZodType<DuplicateAgentToolChoiceFunction$Outbound, z.ZodTypeDef, DuplicateAgentToolChoiceFunction>;
1076
- export declare function duplicateAgentToolChoiceFunctionToJSON(duplicateAgentToolChoiceFunction: DuplicateAgentToolChoiceFunction): string;
1077
- export declare function duplicateAgentToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<DuplicateAgentToolChoiceFunction, SDKValidationError>;
1078
- /** @internal */
1079
- export declare const DuplicateAgentToolChoice2$inboundSchema: z.ZodType<DuplicateAgentToolChoice2, z.ZodTypeDef, unknown>;
1080
- /** @internal */
1081
- export type DuplicateAgentToolChoice2$Outbound = {
1082
- type?: string | undefined;
1083
- function: DuplicateAgentToolChoiceFunction$Outbound;
1084
- };
1085
- /** @internal */
1086
- export declare const DuplicateAgentToolChoice2$outboundSchema: z.ZodType<DuplicateAgentToolChoice2$Outbound, z.ZodTypeDef, DuplicateAgentToolChoice2>;
1087
- export declare function duplicateAgentToolChoice2ToJSON(duplicateAgentToolChoice2: DuplicateAgentToolChoice2): string;
1088
- export declare function duplicateAgentToolChoice2FromJSON(jsonString: string): SafeParseResult<DuplicateAgentToolChoice2, SDKValidationError>;
1089
- /** @internal */
1090
- export declare const DuplicateAgentToolChoice1$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoice1>;
1091
- /** @internal */
1092
- export declare const DuplicateAgentToolChoice1$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoice1>;
1093
- /** @internal */
1094
- export declare const DuplicateAgentToolChoice$inboundSchema: z.ZodType<DuplicateAgentToolChoice, z.ZodTypeDef, unknown>;
1095
- /** @internal */
1096
- export type DuplicateAgentToolChoice$Outbound = DuplicateAgentToolChoice2$Outbound | string;
1097
- /** @internal */
1098
- export declare const DuplicateAgentToolChoice$outboundSchema: z.ZodType<DuplicateAgentToolChoice$Outbound, z.ZodTypeDef, DuplicateAgentToolChoice>;
1099
- export declare function duplicateAgentToolChoiceToJSON(duplicateAgentToolChoice: DuplicateAgentToolChoice): string;
1100
- export declare function duplicateAgentToolChoiceFromJSON(jsonString: string): SafeParseResult<DuplicateAgentToolChoice, SDKValidationError>;
1101
- /** @internal */
1102
- export declare const DuplicateAgentModalities$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentModalities>;
1103
- /** @internal */
1104
- export declare const DuplicateAgentModalities$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentModalities>;
1105
- /** @internal */
1106
- export declare const DuplicateAgentParameters$inboundSchema: z.ZodType<DuplicateAgentParameters, z.ZodTypeDef, unknown>;
1107
- /** @internal */
1108
- export type DuplicateAgentParameters$Outbound = {
1109
- audio?: DuplicateAgentAudio$Outbound | null | undefined;
1110
- frequency_penalty?: number | null | undefined;
1111
- max_tokens?: number | null | undefined;
1112
- max_completion_tokens?: number | null | undefined;
1113
- logprobs?: boolean | null | undefined;
1114
- top_logprobs?: number | null | undefined;
1115
- n?: number | null | undefined;
1116
- presence_penalty?: number | null | undefined;
1117
- response_format?: DuplicateAgentResponseFormatAgentsJSONSchema$Outbound | DuplicateAgentResponseFormatText$Outbound | DuplicateAgentResponseFormatJSONObject$Outbound | undefined;
1118
- reasoning_effort?: string | undefined;
1119
- verbosity?: string | undefined;
1120
- seed?: number | null | undefined;
1121
- stop?: string | Array<string> | null | undefined;
1122
- stream_options?: DuplicateAgentStreamOptions$Outbound | null | undefined;
1123
- thinking?: DuplicateAgentThinking$Outbound | undefined;
1124
- temperature?: number | null | undefined;
1125
- top_p?: number | null | undefined;
1126
- top_k?: number | null | undefined;
1127
- tool_choice?: DuplicateAgentToolChoice2$Outbound | string | undefined;
1128
- parallel_tool_calls?: boolean | undefined;
1129
- modalities?: Array<string> | null | undefined;
1130
- };
1131
- /** @internal */
1132
- export declare const DuplicateAgentParameters$outboundSchema: z.ZodType<DuplicateAgentParameters$Outbound, z.ZodTypeDef, DuplicateAgentParameters>;
1133
- export declare function duplicateAgentParametersToJSON(duplicateAgentParameters: DuplicateAgentParameters): string;
1134
- export declare function duplicateAgentParametersFromJSON(jsonString: string): SafeParseResult<DuplicateAgentParameters, SDKValidationError>;
1135
- /** @internal */
1136
- export declare const DuplicateAgentRetry$inboundSchema: z.ZodType<DuplicateAgentRetry, z.ZodTypeDef, unknown>;
1137
- /** @internal */
1138
- export type DuplicateAgentRetry$Outbound = {
1139
- count: number;
1140
- on_codes?: Array<number> | undefined;
1141
- };
1142
- /** @internal */
1143
- export declare const DuplicateAgentRetry$outboundSchema: z.ZodType<DuplicateAgentRetry$Outbound, z.ZodTypeDef, DuplicateAgentRetry>;
1144
- export declare function duplicateAgentRetryToJSON(duplicateAgentRetry: DuplicateAgentRetry): string;
1145
- export declare function duplicateAgentRetryFromJSON(jsonString: string): SafeParseResult<DuplicateAgentRetry, SDKValidationError>;
1146
- /** @internal */
1147
- export declare const DuplicateAgentFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationVoice>;
1148
- /** @internal */
1149
- export declare const DuplicateAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationVoice>;
1150
- /** @internal */
1151
- export declare const DuplicateAgentFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationFormat>;
1152
- /** @internal */
1153
- export declare const DuplicateAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationFormat>;
1154
- /** @internal */
1155
- export declare const DuplicateAgentFallbackModelConfigurationAudio$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
1156
- /** @internal */
1157
- export type DuplicateAgentFallbackModelConfigurationAudio$Outbound = {
1158
- voice: string;
1159
- format: string;
1160
- };
1161
- /** @internal */
1162
- export declare const DuplicateAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfigurationAudio>;
1163
- export declare function duplicateAgentFallbackModelConfigurationAudioToJSON(duplicateAgentFallbackModelConfigurationAudio: DuplicateAgentFallbackModelConfigurationAudio): string;
1164
- export declare function duplicateAgentFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfigurationAudio, SDKValidationError>;
1165
- /** @internal */
1166
- export declare const DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType>;
1167
- /** @internal */
1168
- export declare const DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONResponseBodyType>;
1169
- /** @internal */
1170
- export declare const DuplicateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
1171
- /** @internal */
1172
- export type DuplicateAgentResponseFormatAgentsResponseJsonSchema$Outbound = {
1173
- description?: string | undefined;
1174
- name: string;
1175
- schema?: any | undefined;
1176
- strict?: boolean | null | undefined;
1177
- };
1178
- /** @internal */
1179
- export declare const DuplicateAgentResponseFormatAgentsResponseJsonSchema$outboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsResponseJsonSchema$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatAgentsResponseJsonSchema>;
1180
- export declare function duplicateAgentResponseFormatAgentsResponseJsonSchemaToJSON(duplicateAgentResponseFormatAgentsResponseJsonSchema: DuplicateAgentResponseFormatAgentsResponseJsonSchema): string;
1181
- export declare function duplicateAgentResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
1182
- /** @internal */
1183
- export declare const DuplicateAgentResponseFormatAgentsResponse201JSONSchema$inboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsResponse201JSONSchema, z.ZodTypeDef, unknown>;
1184
- /** @internal */
1185
- export type DuplicateAgentResponseFormatAgentsResponse201JSONSchema$Outbound = {
1186
- type: string;
1187
- json_schema: DuplicateAgentResponseFormatAgentsResponseJsonSchema$Outbound;
1188
- };
1189
- /** @internal */
1190
- export declare const DuplicateAgentResponseFormatAgentsResponse201JSONSchema$outboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsResponse201JSONSchema$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatAgentsResponse201JSONSchema>;
1191
- export declare function duplicateAgentResponseFormatAgentsResponse201JSONSchemaToJSON(duplicateAgentResponseFormatAgentsResponse201JSONSchema: DuplicateAgentResponseFormatAgentsResponse201JSONSchema): string;
1192
- export declare function duplicateAgentResponseFormatAgentsResponse201JSONSchemaFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatAgentsResponse201JSONSchema, SDKValidationError>;
1193
- /** @internal */
1194
- export declare const DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType>;
1195
- /** @internal */
1196
- export declare const DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponse201ApplicationJSONType>;
1197
- /** @internal */
1198
- export declare const DuplicateAgentResponseFormatAgentsJSONObject$inboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsJSONObject, z.ZodTypeDef, unknown>;
1199
- /** @internal */
1200
- export type DuplicateAgentResponseFormatAgentsJSONObject$Outbound = {
1201
- type: string;
1202
- };
1203
- /** @internal */
1204
- export declare const DuplicateAgentResponseFormatAgentsJSONObject$outboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsJSONObject$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatAgentsJSONObject>;
1205
- export declare function duplicateAgentResponseFormatAgentsJSONObjectToJSON(duplicateAgentResponseFormatAgentsJSONObject: DuplicateAgentResponseFormatAgentsJSONObject): string;
1206
- export declare function duplicateAgentResponseFormatAgentsJSONObjectFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatAgentsJSONObject, SDKValidationError>;
1207
- /** @internal */
1208
- export declare const DuplicateAgentResponseFormatAgentsResponse201Type$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponse201Type>;
1209
- /** @internal */
1210
- export declare const DuplicateAgentResponseFormatAgentsResponse201Type$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentResponseFormatAgentsResponse201Type>;
1211
- /** @internal */
1212
- export declare const DuplicateAgentResponseFormatAgentsText$inboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsText, z.ZodTypeDef, unknown>;
1213
- /** @internal */
1214
- export type DuplicateAgentResponseFormatAgentsText$Outbound = {
1215
- type: string;
1216
- };
1217
- /** @internal */
1218
- export declare const DuplicateAgentResponseFormatAgentsText$outboundSchema: z.ZodType<DuplicateAgentResponseFormatAgentsText$Outbound, z.ZodTypeDef, DuplicateAgentResponseFormatAgentsText>;
1219
- export declare function duplicateAgentResponseFormatAgentsTextToJSON(duplicateAgentResponseFormatAgentsText: DuplicateAgentResponseFormatAgentsText): string;
1220
- export declare function duplicateAgentResponseFormatAgentsTextFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseFormatAgentsText, SDKValidationError>;
1221
- /** @internal */
1222
- export declare const DuplicateAgentFallbackModelConfigurationResponseFormat$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
1223
- /** @internal */
1224
- export type DuplicateAgentFallbackModelConfigurationResponseFormat$Outbound = DuplicateAgentResponseFormatAgentsResponse201JSONSchema$Outbound | DuplicateAgentResponseFormatAgentsText$Outbound | DuplicateAgentResponseFormatAgentsJSONObject$Outbound;
1225
- /** @internal */
1226
- export declare const DuplicateAgentFallbackModelConfigurationResponseFormat$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationResponseFormat$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfigurationResponseFormat>;
1227
- export declare function duplicateAgentFallbackModelConfigurationResponseFormatToJSON(duplicateAgentFallbackModelConfigurationResponseFormat: DuplicateAgentFallbackModelConfigurationResponseFormat): string;
1228
- export declare function duplicateAgentFallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfigurationResponseFormat, SDKValidationError>;
1229
- /** @internal */
1230
- export declare const DuplicateAgentFallbackModelConfigurationStop$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
1231
- /** @internal */
1232
- export type DuplicateAgentFallbackModelConfigurationStop$Outbound = string | Array<string>;
1233
- /** @internal */
1234
- export declare const DuplicateAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfigurationStop>;
1235
- export declare function duplicateAgentFallbackModelConfigurationStopToJSON(duplicateAgentFallbackModelConfigurationStop: DuplicateAgentFallbackModelConfigurationStop): string;
1236
- export declare function duplicateAgentFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfigurationStop, SDKValidationError>;
1237
- /** @internal */
1238
- export declare const DuplicateAgentFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
1239
- /** @internal */
1240
- export type DuplicateAgentFallbackModelConfigurationStreamOptions$Outbound = {
1241
- include_usage?: boolean | undefined;
1242
- };
1243
- /** @internal */
1244
- export declare const DuplicateAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfigurationStreamOptions>;
1245
- export declare function duplicateAgentFallbackModelConfigurationStreamOptionsToJSON(duplicateAgentFallbackModelConfigurationStreamOptions: DuplicateAgentFallbackModelConfigurationStreamOptions): string;
1246
- export declare function duplicateAgentFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfigurationStreamOptions, SDKValidationError>;
1247
- /** @internal */
1248
- export declare const DuplicateAgentFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationType>;
1249
- /** @internal */
1250
- export declare const DuplicateAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationType>;
1251
- /** @internal */
1252
- export declare const DuplicateAgentFallbackModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationThinkingLevel>;
1253
- /** @internal */
1254
- export declare const DuplicateAgentFallbackModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationThinkingLevel>;
1255
- /** @internal */
1256
- export declare const DuplicateAgentFallbackModelConfigurationThinking$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
1257
- /** @internal */
1258
- export type DuplicateAgentFallbackModelConfigurationThinking$Outbound = {
1259
- type: string;
1260
- budget_tokens: number;
1261
- thinking_level?: string | undefined;
1262
- };
1263
- /** @internal */
1264
- export declare const DuplicateAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfigurationThinking>;
1265
- export declare function duplicateAgentFallbackModelConfigurationThinkingToJSON(duplicateAgentFallbackModelConfigurationThinking: DuplicateAgentFallbackModelConfigurationThinking): string;
1266
- export declare function duplicateAgentFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfigurationThinking, SDKValidationError>;
1267
- /** @internal */
1268
- export declare const DuplicateAgentToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoiceAgentsType>;
1269
- /** @internal */
1270
- export declare const DuplicateAgentToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoiceAgentsType>;
1271
- /** @internal */
1272
- export declare const DuplicateAgentToolChoiceAgentsFunction$inboundSchema: z.ZodType<DuplicateAgentToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
1273
- /** @internal */
1274
- export type DuplicateAgentToolChoiceAgentsFunction$Outbound = {
1275
- name?: string | undefined;
1276
- };
1277
- /** @internal */
1278
- export declare const DuplicateAgentToolChoiceAgentsFunction$outboundSchema: z.ZodType<DuplicateAgentToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, DuplicateAgentToolChoiceAgentsFunction>;
1279
- export declare function duplicateAgentToolChoiceAgentsFunctionToJSON(duplicateAgentToolChoiceAgentsFunction: DuplicateAgentToolChoiceAgentsFunction): string;
1280
- export declare function duplicateAgentToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<DuplicateAgentToolChoiceAgentsFunction, SDKValidationError>;
1281
- /** @internal */
1282
- export declare const DuplicateAgentToolChoiceAgents2$inboundSchema: z.ZodType<DuplicateAgentToolChoiceAgents2, z.ZodTypeDef, unknown>;
1283
- /** @internal */
1284
- export type DuplicateAgentToolChoiceAgents2$Outbound = {
1285
- type?: string | undefined;
1286
- function: DuplicateAgentToolChoiceAgentsFunction$Outbound;
1287
- };
1288
- /** @internal */
1289
- export declare const DuplicateAgentToolChoiceAgents2$outboundSchema: z.ZodType<DuplicateAgentToolChoiceAgents2$Outbound, z.ZodTypeDef, DuplicateAgentToolChoiceAgents2>;
1290
- export declare function duplicateAgentToolChoiceAgents2ToJSON(duplicateAgentToolChoiceAgents2: DuplicateAgentToolChoiceAgents2): string;
1291
- export declare function duplicateAgentToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<DuplicateAgentToolChoiceAgents2, SDKValidationError>;
1292
- /** @internal */
1293
- export declare const DuplicateAgentToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoiceAgents1>;
1294
- /** @internal */
1295
- export declare const DuplicateAgentToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentToolChoiceAgents1>;
1296
- /** @internal */
1297
- export declare const DuplicateAgentFallbackModelConfigurationToolChoice$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
1298
- /** @internal */
1299
- export type DuplicateAgentFallbackModelConfigurationToolChoice$Outbound = DuplicateAgentToolChoiceAgents2$Outbound | string;
1300
- /** @internal */
1301
- export declare const DuplicateAgentFallbackModelConfigurationToolChoice$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationToolChoice$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfigurationToolChoice>;
1302
- export declare function duplicateAgentFallbackModelConfigurationToolChoiceToJSON(duplicateAgentFallbackModelConfigurationToolChoice: DuplicateAgentFallbackModelConfigurationToolChoice): string;
1303
- export declare function duplicateAgentFallbackModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfigurationToolChoice, SDKValidationError>;
1304
- /** @internal */
1305
- export declare const DuplicateAgentFallbackModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationModalities>;
1306
- /** @internal */
1307
- export declare const DuplicateAgentFallbackModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof DuplicateAgentFallbackModelConfigurationModalities>;
1308
- /** @internal */
1309
- export declare const DuplicateAgentFallbackModelConfigurationParameters$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
1310
- /** @internal */
1311
- export type DuplicateAgentFallbackModelConfigurationParameters$Outbound = {
1312
- audio?: DuplicateAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
1313
- frequency_penalty?: number | null | undefined;
1314
- max_tokens?: number | null | undefined;
1315
- max_completion_tokens?: number | null | undefined;
1316
- logprobs?: boolean | null | undefined;
1317
- top_logprobs?: number | null | undefined;
1318
- n?: number | null | undefined;
1319
- presence_penalty?: number | null | undefined;
1320
- response_format?: DuplicateAgentResponseFormatAgentsResponse201JSONSchema$Outbound | DuplicateAgentResponseFormatAgentsText$Outbound | DuplicateAgentResponseFormatAgentsJSONObject$Outbound | undefined;
1321
- reasoning_effort?: string | undefined;
1322
- verbosity?: string | undefined;
1323
- seed?: number | null | undefined;
1324
- stop?: string | Array<string> | null | undefined;
1325
- stream_options?: DuplicateAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
1326
- thinking?: DuplicateAgentFallbackModelConfigurationThinking$Outbound | undefined;
1327
- temperature?: number | null | undefined;
1328
- top_p?: number | null | undefined;
1329
- top_k?: number | null | undefined;
1330
- tool_choice?: DuplicateAgentToolChoiceAgents2$Outbound | string | undefined;
1331
- parallel_tool_calls?: boolean | undefined;
1332
- modalities?: Array<string> | null | undefined;
1333
- };
1334
- /** @internal */
1335
- export declare const DuplicateAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfigurationParameters>;
1336
- export declare function duplicateAgentFallbackModelConfigurationParametersToJSON(duplicateAgentFallbackModelConfigurationParameters: DuplicateAgentFallbackModelConfigurationParameters): string;
1337
- export declare function duplicateAgentFallbackModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfigurationParameters, SDKValidationError>;
1338
- /** @internal */
1339
- export declare const DuplicateAgentFallbackModelConfiguration2$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
1340
- /** @internal */
1341
- export type DuplicateAgentFallbackModelConfiguration2$Outbound = {
1342
- id: string;
1343
- parameters?: DuplicateAgentFallbackModelConfigurationParameters$Outbound | undefined;
1344
- };
1345
- /** @internal */
1346
- export declare const DuplicateAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfiguration2>;
1347
- export declare function duplicateAgentFallbackModelConfiguration2ToJSON(duplicateAgentFallbackModelConfiguration2: DuplicateAgentFallbackModelConfiguration2): string;
1348
- export declare function duplicateAgentFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfiguration2, SDKValidationError>;
1349
- /** @internal */
1350
- export declare const DuplicateAgentFallbackModelConfiguration$inboundSchema: z.ZodType<DuplicateAgentFallbackModelConfiguration, z.ZodTypeDef, unknown>;
1351
- /** @internal */
1352
- export type DuplicateAgentFallbackModelConfiguration$Outbound = DuplicateAgentFallbackModelConfiguration2$Outbound | string;
1353
- /** @internal */
1354
- export declare const DuplicateAgentFallbackModelConfiguration$outboundSchema: z.ZodType<DuplicateAgentFallbackModelConfiguration$Outbound, z.ZodTypeDef, DuplicateAgentFallbackModelConfiguration>;
1355
- export declare function duplicateAgentFallbackModelConfigurationToJSON(duplicateAgentFallbackModelConfiguration: DuplicateAgentFallbackModelConfiguration): string;
1356
- export declare function duplicateAgentFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<DuplicateAgentFallbackModelConfiguration, SDKValidationError>;
1357
- /** @internal */
1358
- export declare const DuplicateAgentModel$inboundSchema: z.ZodType<DuplicateAgentModel, z.ZodTypeDef, unknown>;
1359
- /** @internal */
1360
- export type DuplicateAgentModel$Outbound = {
1361
- id: string;
1362
- integration_id?: string | null | undefined;
1363
- parameters?: DuplicateAgentParameters$Outbound | undefined;
1364
- retry?: DuplicateAgentRetry$Outbound | undefined;
1365
- fallback_models?: Array<DuplicateAgentFallbackModelConfiguration2$Outbound | string> | null | undefined;
1366
- };
1367
- /** @internal */
1368
- export declare const DuplicateAgentModel$outboundSchema: z.ZodType<DuplicateAgentModel$Outbound, z.ZodTypeDef, DuplicateAgentModel>;
1369
- export declare function duplicateAgentModelToJSON(duplicateAgentModel: DuplicateAgentModel): string;
1370
- export declare function duplicateAgentModelFromJSON(jsonString: string): SafeParseResult<DuplicateAgentModel, SDKValidationError>;
1371
- /** @internal */
1372
- export declare const DuplicateAgentTeamOfAgents$inboundSchema: z.ZodType<DuplicateAgentTeamOfAgents, z.ZodTypeDef, unknown>;
1373
- /** @internal */
1374
- export type DuplicateAgentTeamOfAgents$Outbound = {
1375
- key: string;
1376
- role?: string | undefined;
1377
- };
1378
- /** @internal */
1379
- export declare const DuplicateAgentTeamOfAgents$outboundSchema: z.ZodType<DuplicateAgentTeamOfAgents$Outbound, z.ZodTypeDef, DuplicateAgentTeamOfAgents>;
1380
- export declare function duplicateAgentTeamOfAgentsToJSON(duplicateAgentTeamOfAgents: DuplicateAgentTeamOfAgents): string;
1381
- export declare function duplicateAgentTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentTeamOfAgents, SDKValidationError>;
1382
- /** @internal */
1383
- export declare const DuplicateAgentMetrics$inboundSchema: z.ZodType<DuplicateAgentMetrics, z.ZodTypeDef, unknown>;
1384
- /** @internal */
1385
- export type DuplicateAgentMetrics$Outbound = {
1386
- total_cost: number;
1387
- };
1388
- /** @internal */
1389
- export declare const DuplicateAgentMetrics$outboundSchema: z.ZodType<DuplicateAgentMetrics$Outbound, z.ZodTypeDef, DuplicateAgentMetrics>;
1390
- export declare function duplicateAgentMetricsToJSON(duplicateAgentMetrics: DuplicateAgentMetrics): string;
1391
- export declare function duplicateAgentMetricsFromJSON(jsonString: string): SafeParseResult<DuplicateAgentMetrics, SDKValidationError>;
1392
- /** @internal */
1393
- export declare const DuplicateAgentKnowledgeBases$inboundSchema: z.ZodType<DuplicateAgentKnowledgeBases, z.ZodTypeDef, unknown>;
1394
- /** @internal */
1395
- export type DuplicateAgentKnowledgeBases$Outbound = {
1396
- knowledge_id: string;
1397
- };
1398
- /** @internal */
1399
- export declare const DuplicateAgentKnowledgeBases$outboundSchema: z.ZodType<DuplicateAgentKnowledgeBases$Outbound, z.ZodTypeDef, DuplicateAgentKnowledgeBases>;
1400
- export declare function duplicateAgentKnowledgeBasesToJSON(duplicateAgentKnowledgeBases: DuplicateAgentKnowledgeBases): string;
1401
- export declare function duplicateAgentKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<DuplicateAgentKnowledgeBases, SDKValidationError>;
1402
- /** @internal */
1403
- export declare const DuplicateAgentResponseBody$inboundSchema: z.ZodType<DuplicateAgentResponseBody, z.ZodTypeDef, unknown>;
1404
- /** @internal */
1405
- export type DuplicateAgentResponseBody$Outbound = {
1406
- _id: string;
1407
- key: string;
1408
- display_name: string;
1409
- workspace_id: string;
1410
- project_id: string;
1411
- created_by_id?: string | null | undefined;
1412
- updated_by_id?: string | null | undefined;
1413
- created?: string | undefined;
1414
- updated?: string | undefined;
1415
- role: string;
1416
- description: string;
1417
- system_prompt?: string | undefined;
1418
- instructions: string;
1419
- status: string;
1420
- settings?: DuplicateAgentSettings$Outbound | undefined;
1421
- model: DuplicateAgentModel$Outbound;
1422
- version_hash?: string | undefined;
1423
- path: string;
1424
- memory_stores: Array<string>;
1425
- team_of_agents: Array<DuplicateAgentTeamOfAgents$Outbound>;
1426
- metrics?: DuplicateAgentMetrics$Outbound | undefined;
1427
- variables?: {
1428
- [k: string]: any;
1429
- } | undefined;
1430
- knowledge_bases?: Array<DuplicateAgentKnowledgeBases$Outbound> | undefined;
1431
- };
1432
- /** @internal */
1433
- export declare const DuplicateAgentResponseBody$outboundSchema: z.ZodType<DuplicateAgentResponseBody$Outbound, z.ZodTypeDef, DuplicateAgentResponseBody>;
1434
- export declare function duplicateAgentResponseBodyToJSON(duplicateAgentResponseBody: DuplicateAgentResponseBody): string;
1435
- export declare function duplicateAgentResponseBodyFromJSON(jsonString: string): SafeParseResult<DuplicateAgentResponseBody, SDKValidationError>;
1436
- //# sourceMappingURL=duplicateagent.d.ts.map