librechat-data-provider 0.8.402 → 0.8.404

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 (109) hide show
  1. package/dist/index.es.js +1 -1
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/react-query/index.es.js +1 -1
  6. package/dist/react-query/index.es.js.map +1 -1
  7. package/dist/types/accessPermissions.d.ts +744 -0
  8. package/dist/types/actions.d.ts +118 -0
  9. package/dist/types/api-endpoints.d.ts +150 -0
  10. package/dist/types/artifacts.d.ts +97 -0
  11. package/dist/types/azure.d.ts +22 -0
  12. package/dist/types/bedrock.d.ts +1220 -0
  13. package/dist/types/config.d.ts +14849 -0
  14. package/dist/types/config.spec.d.ts +1 -0
  15. package/dist/types/createPayload.d.ts +5 -0
  16. package/dist/types/data-service.d.ts +287 -0
  17. package/dist/types/feedback.d.ts +36 -0
  18. package/dist/types/file-config.d.ts +263 -0
  19. package/dist/types/file-config.spec.d.ts +1 -0
  20. package/dist/types/generate.d.ts +597 -0
  21. package/dist/types/headers-helpers.d.ts +2 -0
  22. package/{src/index.ts → dist/types/index.d.ts} +0 -15
  23. package/dist/types/keys.d.ts +92 -0
  24. package/dist/types/mcp.d.ts +2760 -0
  25. package/dist/types/messages.d.ts +10 -0
  26. package/dist/types/models.d.ts +1547 -0
  27. package/dist/types/parameterSettings.d.ts +69 -0
  28. package/dist/types/parsers.d.ts +110 -0
  29. package/dist/types/permissions.d.ts +522 -0
  30. package/dist/types/react-query/react-query-service.d.ts +85 -0
  31. package/dist/types/request.d.ts +25 -0
  32. package/dist/types/roles.d.ts +554 -0
  33. package/dist/types/roles.spec.d.ts +1 -0
  34. package/dist/types/schemas.d.ts +5110 -0
  35. package/dist/types/schemas.spec.d.ts +1 -0
  36. package/dist/types/types/agents.d.ts +433 -0
  37. package/dist/types/types/assistants.d.ts +547 -0
  38. package/dist/types/types/files.d.ts +172 -0
  39. package/dist/types/types/graph.d.ts +135 -0
  40. package/{src/types/mcpServers.ts → dist/types/types/mcpServers.d.ts} +12 -18
  41. package/dist/types/types/mutations.d.ts +209 -0
  42. package/dist/types/types/queries.d.ts +169 -0
  43. package/dist/types/types/runs.d.ts +36 -0
  44. package/dist/types/types/web.d.ts +520 -0
  45. package/dist/types/types.d.ts +503 -0
  46. package/dist/types/utils.d.ts +12 -0
  47. package/package.json +5 -1
  48. package/babel.config.js +0 -4
  49. package/check_updates.sh +0 -52
  50. package/jest.config.js +0 -19
  51. package/react-query/package-lock.json +0 -292
  52. package/react-query/package.json +0 -10
  53. package/rollup.config.js +0 -74
  54. package/server-rollup.config.js +0 -40
  55. package/specs/actions.spec.ts +0 -2533
  56. package/specs/api-endpoints-subdir.spec.ts +0 -140
  57. package/specs/api-endpoints.spec.ts +0 -74
  58. package/specs/azure.spec.ts +0 -844
  59. package/specs/bedrock.spec.ts +0 -862
  60. package/specs/filetypes.spec.ts +0 -175
  61. package/specs/generate.spec.ts +0 -770
  62. package/specs/headers-helpers.spec.ts +0 -24
  63. package/specs/mcp.spec.ts +0 -147
  64. package/specs/openapiSpecs.ts +0 -524
  65. package/specs/parsers.spec.ts +0 -601
  66. package/specs/request-interceptor.spec.ts +0 -304
  67. package/specs/utils.spec.ts +0 -196
  68. package/src/accessPermissions.ts +0 -346
  69. package/src/actions.ts +0 -813
  70. package/src/api-endpoints.ts +0 -440
  71. package/src/artifacts.ts +0 -3104
  72. package/src/azure.ts +0 -328
  73. package/src/bedrock.ts +0 -425
  74. package/src/config.spec.ts +0 -315
  75. package/src/config.ts +0 -2006
  76. package/src/createPayload.ts +0 -46
  77. package/src/data-service.ts +0 -1087
  78. package/src/feedback.ts +0 -141
  79. package/src/file-config.spec.ts +0 -1248
  80. package/src/file-config.ts +0 -764
  81. package/src/generate.ts +0 -634
  82. package/src/headers-helpers.ts +0 -13
  83. package/src/keys.ts +0 -99
  84. package/src/mcp.ts +0 -271
  85. package/src/messages.ts +0 -50
  86. package/src/models.ts +0 -69
  87. package/src/parameterSettings.ts +0 -1111
  88. package/src/parsers.ts +0 -563
  89. package/src/permissions.ts +0 -188
  90. package/src/react-query/react-query-service.ts +0 -566
  91. package/src/request.ts +0 -171
  92. package/src/roles.spec.ts +0 -132
  93. package/src/roles.ts +0 -225
  94. package/src/schemas.spec.ts +0 -355
  95. package/src/schemas.ts +0 -1234
  96. package/src/types/agents.ts +0 -470
  97. package/src/types/assistants.ts +0 -654
  98. package/src/types/files.ts +0 -191
  99. package/src/types/graph.ts +0 -145
  100. package/src/types/mutations.ts +0 -422
  101. package/src/types/queries.ts +0 -208
  102. package/src/types/runs.ts +0 -40
  103. package/src/types/web.ts +0 -588
  104. package/src/types.ts +0 -676
  105. package/src/utils.ts +0 -85
  106. package/tsconfig.json +0 -28
  107. package/tsconfig.spec.json +0 -10
  108. /package/{src/react-query/index.ts → dist/types/react-query/index.d.ts} +0 -0
  109. /package/{src/types/index.ts → dist/types/types/index.d.ts} +0 -0
@@ -0,0 +1,1220 @@
1
+ import { z } from 'zod';
2
+ import * as s from './schemas';
3
+ /** Checks if a model supports adaptive thinking (Opus 4.6+, Sonnet 4.6+) */
4
+ export declare function supportsAdaptiveThinking(model: string): boolean;
5
+ /** Checks if a model qualifies for the context-1m beta header (Sonnet 4+, Opus 4.6+, Opus 5+) */
6
+ export declare function supportsContext1m(model: string): boolean;
7
+ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
8
+ conversationId: z.ZodNullable<z.ZodString>;
9
+ endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
10
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
11
+ isArchived: z.ZodOptional<z.ZodBoolean>;
12
+ title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
13
+ user: z.ZodOptional<z.ZodString>;
14
+ messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
16
+ name: z.ZodString;
17
+ pluginKey: z.ZodString;
18
+ description: z.ZodOptional<z.ZodString>;
19
+ icon: z.ZodOptional<z.ZodString>;
20
+ authConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
+ authField: z.ZodString;
22
+ label: z.ZodString;
23
+ description: z.ZodString;
24
+ optional: z.ZodOptional<z.ZodBoolean>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ description: string;
27
+ authField: string;
28
+ label: string;
29
+ optional?: boolean | undefined;
30
+ }, {
31
+ description: string;
32
+ authField: string;
33
+ label: string;
34
+ optional?: boolean | undefined;
35
+ }>, "many">>;
36
+ authenticated: z.ZodOptional<z.ZodBoolean>;
37
+ chatMenu: z.ZodOptional<z.ZodBoolean>;
38
+ isButton: z.ZodOptional<z.ZodBoolean>;
39
+ toolkit: z.ZodOptional<z.ZodBoolean>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ name: string;
42
+ pluginKey: string;
43
+ description?: string | undefined;
44
+ icon?: string | undefined;
45
+ authConfig?: {
46
+ description: string;
47
+ authField: string;
48
+ label: string;
49
+ optional?: boolean | undefined;
50
+ }[] | undefined;
51
+ authenticated?: boolean | undefined;
52
+ chatMenu?: boolean | undefined;
53
+ isButton?: boolean | undefined;
54
+ toolkit?: boolean | undefined;
55
+ }, {
56
+ name: string;
57
+ pluginKey: string;
58
+ description?: string | undefined;
59
+ icon?: string | undefined;
60
+ authConfig?: {
61
+ description: string;
62
+ authField: string;
63
+ label: string;
64
+ optional?: boolean | undefined;
65
+ }[] | undefined;
66
+ authenticated?: boolean | undefined;
67
+ chatMenu?: boolean | undefined;
68
+ isButton?: boolean | undefined;
69
+ toolkit?: boolean | undefined;
70
+ }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
71
+ modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ userLabel: z.ZodOptional<z.ZodString>;
73
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
+ topP: z.ZodOptional<z.ZodNumber>;
77
+ topK: z.ZodOptional<z.ZodNumber>;
78
+ top_p: z.ZodOptional<z.ZodNumber>;
79
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
80
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
81
+ parentMessageId: z.ZodOptional<z.ZodString>;
82
+ maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
83
+ maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
84
+ max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
85
+ promptCache: z.ZodOptional<z.ZodBoolean>;
86
+ system: z.ZodOptional<z.ZodString>;
87
+ thinking: z.ZodOptional<z.ZodBoolean>;
88
+ thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
89
+ thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingLevel>>;
90
+ stream: z.ZodOptional<z.ZodBoolean>;
91
+ artifacts: z.ZodOptional<z.ZodString>;
92
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
94
+ input: z.ZodObject<{
95
+ content: z.ZodString;
96
+ }, "strip", z.ZodTypeAny, {
97
+ content: string;
98
+ }, {
99
+ content: string;
100
+ }>;
101
+ output: z.ZodObject<{
102
+ content: z.ZodString;
103
+ }, "strip", z.ZodTypeAny, {
104
+ content: string;
105
+ }, {
106
+ content: string;
107
+ }>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ input: {
110
+ content: string;
111
+ };
112
+ output: {
113
+ content: string;
114
+ };
115
+ }, {
116
+ input: {
117
+ content: string;
118
+ };
119
+ output: {
120
+ content: string;
121
+ };
122
+ }>, "many">>;
123
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
+ createdAt: z.ZodString;
125
+ updatedAt: z.ZodString;
126
+ resendFiles: z.ZodOptional<z.ZodBoolean>;
127
+ file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
128
+ imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof s.ImageDetail>>;
129
+ reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningEffort>>>;
130
+ reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningSummary>>>;
131
+ verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.Verbosity>>>;
132
+ useResponsesApi: z.ZodOptional<z.ZodBoolean>;
133
+ effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
134
+ web_search: z.ZodOptional<z.ZodBoolean>;
135
+ disableStreaming: z.ZodOptional<z.ZodBoolean>;
136
+ assistant_id: z.ZodOptional<z.ZodString>;
137
+ agent_id: z.ZodOptional<z.ZodString>;
138
+ region: z.ZodOptional<z.ZodString>;
139
+ maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
140
+ additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
141
+ [key: string]: string | number | boolean | any | any | null;
142
+ } | null)[] | {
143
+ [key: string]: string | number | boolean | any | any | null;
144
+ } | null)[] | {
145
+ [key: string]: string | number | boolean | any | any | null;
146
+ } | null)[] | {
147
+ [key: string]: string | number | boolean | any | any | null;
148
+ } | null)[] | {
149
+ [key: string]: string | number | boolean | any | any | null;
150
+ } | null)[] | {
151
+ [key: string]: string | number | boolean | any | any | null;
152
+ } | null)[] | {
153
+ [key: string]: string | number | boolean | any | any | null;
154
+ } | null)[] | {
155
+ [key: string]: string | number | boolean | any | any | null;
156
+ } | null)[] | {
157
+ [key: string]: string | number | boolean | any | any | null;
158
+ } | null)[] | {
159
+ [key: string]: string | number | boolean | any | any | null;
160
+ } | null)[] | {
161
+ [key: string]: string | number | boolean | any | any | null;
162
+ } | null)[] | {
163
+ [key: string]: string | number | boolean | any | any | null;
164
+ } | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
165
+ [key: string]: string | number | boolean | any | any | null;
166
+ } | null)[] | {
167
+ [key: string]: string | number | boolean | any | any | null;
168
+ } | null)[] | {
169
+ [key: string]: string | number | boolean | any | any | null;
170
+ } | null)[] | {
171
+ [key: string]: string | number | boolean | any | any | null;
172
+ } | null)[] | {
173
+ [key: string]: string | number | boolean | any | any | null;
174
+ } | null)[] | {
175
+ [key: string]: string | number | boolean | any | any | null;
176
+ } | null)[] | {
177
+ [key: string]: string | number | boolean | any | any | null;
178
+ } | null)[] | {
179
+ [key: string]: string | number | boolean | any | any | null;
180
+ } | null)[] | {
181
+ [key: string]: string | number | boolean | any | any | null;
182
+ } | null)[] | {
183
+ [key: string]: string | number | boolean | any | any | null;
184
+ } | null)[] | {
185
+ [key: string]: string | number | boolean | any | any | null;
186
+ } | null)[] | {
187
+ [key: string]: string | number | boolean | any | any | null;
188
+ } | null>>;
189
+ instructions: z.ZodOptional<z.ZodString>;
190
+ additional_instructions: z.ZodOptional<z.ZodString>;
191
+ append_current_datetime: z.ZodOptional<z.ZodBoolean>;
192
+ presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
193
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
194
+ greeting: z.ZodOptional<z.ZodString>;
195
+ spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
+ iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
+ expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
199
+ resendImages: z.ZodOptional<z.ZodBoolean>;
200
+ chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ }, "modelLabel" | "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "system" | "thinking" | "thinkingBudget" | "artifacts" | "resendFiles" | "reasoning_effort" | "effort" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
202
+ modelLabel?: string | null | undefined;
203
+ model?: string | null | undefined;
204
+ promptPrefix?: string | null | undefined;
205
+ temperature?: number | null | undefined;
206
+ topP?: number | undefined;
207
+ topK?: number | undefined;
208
+ maxOutputTokens?: number | null | undefined;
209
+ maxContextTokens?: number | undefined;
210
+ promptCache?: boolean | undefined;
211
+ system?: string | undefined;
212
+ thinking?: boolean | undefined;
213
+ thinkingBudget?: number | undefined;
214
+ artifacts?: string | undefined;
215
+ resendFiles?: boolean | undefined;
216
+ reasoning_effort?: s.ReasoningEffort | null | undefined;
217
+ effort?: s.AnthropicEffort | null | undefined;
218
+ region?: string | undefined;
219
+ maxTokens?: number | undefined;
220
+ additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
221
+ [key: string]: string | number | boolean | any | any | null;
222
+ } | null)[] | {
223
+ [key: string]: string | number | boolean | any | any | null;
224
+ } | null)[] | {
225
+ [key: string]: string | number | boolean | any | any | null;
226
+ } | null)[] | {
227
+ [key: string]: string | number | boolean | any | any | null;
228
+ } | null)[] | {
229
+ [key: string]: string | number | boolean | any | any | null;
230
+ } | null)[] | {
231
+ [key: string]: string | number | boolean | any | any | null;
232
+ } | null)[] | {
233
+ [key: string]: string | number | boolean | any | any | null;
234
+ } | null)[] | {
235
+ [key: string]: string | number | boolean | any | any | null;
236
+ } | null)[] | {
237
+ [key: string]: string | number | boolean | any | any | null;
238
+ } | null)[] | {
239
+ [key: string]: string | number | boolean | any | any | null;
240
+ } | null)[] | {
241
+ [key: string]: string | number | boolean | any | any | null;
242
+ } | null)[] | {
243
+ [key: string]: string | number | boolean | any | any | null;
244
+ } | null) | undefined;
245
+ stop?: string[] | undefined;
246
+ greeting?: string | undefined;
247
+ spec?: string | null | undefined;
248
+ iconURL?: string | null | undefined;
249
+ }, {
250
+ modelLabel?: string | null | undefined;
251
+ model?: string | null | undefined;
252
+ promptPrefix?: string | null | undefined;
253
+ temperature?: number | null | undefined;
254
+ topP?: number | undefined;
255
+ topK?: number | undefined;
256
+ maxOutputTokens?: string | number | null | undefined;
257
+ maxContextTokens?: string | number | undefined;
258
+ promptCache?: boolean | undefined;
259
+ system?: string | undefined;
260
+ thinking?: boolean | undefined;
261
+ thinkingBudget?: string | number | undefined;
262
+ artifacts?: string | undefined;
263
+ resendFiles?: boolean | undefined;
264
+ reasoning_effort?: s.ReasoningEffort | null | undefined;
265
+ effort?: s.AnthropicEffort | null | undefined;
266
+ region?: string | undefined;
267
+ maxTokens?: string | number | undefined;
268
+ additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
269
+ [key: string]: string | number | boolean | any | any | null;
270
+ } | null)[] | {
271
+ [key: string]: string | number | boolean | any | any | null;
272
+ } | null)[] | {
273
+ [key: string]: string | number | boolean | any | any | null;
274
+ } | null)[] | {
275
+ [key: string]: string | number | boolean | any | any | null;
276
+ } | null)[] | {
277
+ [key: string]: string | number | boolean | any | any | null;
278
+ } | null)[] | {
279
+ [key: string]: string | number | boolean | any | any | null;
280
+ } | null)[] | {
281
+ [key: string]: string | number | boolean | any | any | null;
282
+ } | null)[] | {
283
+ [key: string]: string | number | boolean | any | any | null;
284
+ } | null)[] | {
285
+ [key: string]: string | number | boolean | any | any | null;
286
+ } | null)[] | {
287
+ [key: string]: string | number | boolean | any | any | null;
288
+ } | null)[] | {
289
+ [key: string]: string | number | boolean | any | any | null;
290
+ } | null)[] | {
291
+ [key: string]: string | number | boolean | any | any | null;
292
+ } | null) | undefined;
293
+ stop?: string[] | undefined;
294
+ greeting?: string | undefined;
295
+ spec?: string | null | undefined;
296
+ iconURL?: string | null | undefined;
297
+ }>, Partial<{
298
+ modelLabel?: string | null | undefined;
299
+ model?: string | null | undefined;
300
+ promptPrefix?: string | null | undefined;
301
+ temperature?: number | null | undefined;
302
+ topP?: number | undefined;
303
+ topK?: number | undefined;
304
+ maxOutputTokens?: number | null | undefined;
305
+ maxContextTokens?: number | undefined;
306
+ promptCache?: boolean | undefined;
307
+ system?: string | undefined;
308
+ thinking?: boolean | undefined;
309
+ thinkingBudget?: number | undefined;
310
+ artifacts?: string | undefined;
311
+ resendFiles?: boolean | undefined;
312
+ reasoning_effort?: s.ReasoningEffort | null | undefined;
313
+ effort?: s.AnthropicEffort | null | undefined;
314
+ region?: string | undefined;
315
+ maxTokens?: number | undefined;
316
+ additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
317
+ [key: string]: string | number | boolean | any | any | null;
318
+ } | null)[] | {
319
+ [key: string]: string | number | boolean | any | any | null;
320
+ } | null)[] | {
321
+ [key: string]: string | number | boolean | any | any | null;
322
+ } | null)[] | {
323
+ [key: string]: string | number | boolean | any | any | null;
324
+ } | null)[] | {
325
+ [key: string]: string | number | boolean | any | any | null;
326
+ } | null)[] | {
327
+ [key: string]: string | number | boolean | any | any | null;
328
+ } | null)[] | {
329
+ [key: string]: string | number | boolean | any | any | null;
330
+ } | null)[] | {
331
+ [key: string]: string | number | boolean | any | any | null;
332
+ } | null)[] | {
333
+ [key: string]: string | number | boolean | any | any | null;
334
+ } | null)[] | {
335
+ [key: string]: string | number | boolean | any | any | null;
336
+ } | null)[] | {
337
+ [key: string]: string | number | boolean | any | any | null;
338
+ } | null)[] | {
339
+ [key: string]: string | number | boolean | any | any | null;
340
+ } | null) | undefined;
341
+ stop?: string[] | undefined;
342
+ greeting?: string | undefined;
343
+ spec?: string | null | undefined;
344
+ iconURL?: string | null | undefined;
345
+ }>, {
346
+ modelLabel?: string | null | undefined;
347
+ model?: string | null | undefined;
348
+ promptPrefix?: string | null | undefined;
349
+ temperature?: number | null | undefined;
350
+ topP?: number | undefined;
351
+ topK?: number | undefined;
352
+ maxOutputTokens?: string | number | null | undefined;
353
+ maxContextTokens?: string | number | undefined;
354
+ promptCache?: boolean | undefined;
355
+ system?: string | undefined;
356
+ thinking?: boolean | undefined;
357
+ thinkingBudget?: string | number | undefined;
358
+ artifacts?: string | undefined;
359
+ resendFiles?: boolean | undefined;
360
+ reasoning_effort?: s.ReasoningEffort | null | undefined;
361
+ effort?: s.AnthropicEffort | null | undefined;
362
+ region?: string | undefined;
363
+ maxTokens?: string | number | undefined;
364
+ additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
365
+ [key: string]: string | number | boolean | any | any | null;
366
+ } | null)[] | {
367
+ [key: string]: string | number | boolean | any | any | null;
368
+ } | null)[] | {
369
+ [key: string]: string | number | boolean | any | any | null;
370
+ } | null)[] | {
371
+ [key: string]: string | number | boolean | any | any | null;
372
+ } | null)[] | {
373
+ [key: string]: string | number | boolean | any | any | null;
374
+ } | null)[] | {
375
+ [key: string]: string | number | boolean | any | any | null;
376
+ } | null)[] | {
377
+ [key: string]: string | number | boolean | any | any | null;
378
+ } | null)[] | {
379
+ [key: string]: string | number | boolean | any | any | null;
380
+ } | null)[] | {
381
+ [key: string]: string | number | boolean | any | any | null;
382
+ } | null)[] | {
383
+ [key: string]: string | number | boolean | any | any | null;
384
+ } | null)[] | {
385
+ [key: string]: string | number | boolean | any | any | null;
386
+ } | null)[] | {
387
+ [key: string]: string | number | boolean | any | any | null;
388
+ } | null) | undefined;
389
+ stop?: string[] | undefined;
390
+ greeting?: string | undefined;
391
+ spec?: string | null | undefined;
392
+ iconURL?: string | null | undefined;
393
+ }>>;
394
+ export type BedrockConverseInput = z.infer<typeof bedrockInputSchema>;
395
+ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
396
+ conversationId: z.ZodNullable<z.ZodString>;
397
+ endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
398
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
399
+ isArchived: z.ZodOptional<z.ZodBoolean>;
400
+ title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
401
+ user: z.ZodOptional<z.ZodString>;
402
+ messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
403
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
404
+ name: z.ZodString;
405
+ pluginKey: z.ZodString;
406
+ description: z.ZodOptional<z.ZodString>;
407
+ icon: z.ZodOptional<z.ZodString>;
408
+ authConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
409
+ authField: z.ZodString;
410
+ label: z.ZodString;
411
+ description: z.ZodString;
412
+ optional: z.ZodOptional<z.ZodBoolean>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ description: string;
415
+ authField: string;
416
+ label: string;
417
+ optional?: boolean | undefined;
418
+ }, {
419
+ description: string;
420
+ authField: string;
421
+ label: string;
422
+ optional?: boolean | undefined;
423
+ }>, "many">>;
424
+ authenticated: z.ZodOptional<z.ZodBoolean>;
425
+ chatMenu: z.ZodOptional<z.ZodBoolean>;
426
+ isButton: z.ZodOptional<z.ZodBoolean>;
427
+ toolkit: z.ZodOptional<z.ZodBoolean>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ name: string;
430
+ pluginKey: string;
431
+ description?: string | undefined;
432
+ icon?: string | undefined;
433
+ authConfig?: {
434
+ description: string;
435
+ authField: string;
436
+ label: string;
437
+ optional?: boolean | undefined;
438
+ }[] | undefined;
439
+ authenticated?: boolean | undefined;
440
+ chatMenu?: boolean | undefined;
441
+ isButton?: boolean | undefined;
442
+ toolkit?: boolean | undefined;
443
+ }, {
444
+ name: string;
445
+ pluginKey: string;
446
+ description?: string | undefined;
447
+ icon?: string | undefined;
448
+ authConfig?: {
449
+ description: string;
450
+ authField: string;
451
+ label: string;
452
+ optional?: boolean | undefined;
453
+ }[] | undefined;
454
+ authenticated?: boolean | undefined;
455
+ chatMenu?: boolean | undefined;
456
+ isButton?: boolean | undefined;
457
+ toolkit?: boolean | undefined;
458
+ }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
459
+ modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
460
+ userLabel: z.ZodOptional<z.ZodString>;
461
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
462
+ promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
463
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
464
+ topP: z.ZodOptional<z.ZodNumber>;
465
+ topK: z.ZodOptional<z.ZodNumber>;
466
+ top_p: z.ZodOptional<z.ZodNumber>;
467
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
468
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
469
+ parentMessageId: z.ZodOptional<z.ZodString>;
470
+ maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
471
+ maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
472
+ max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
473
+ promptCache: z.ZodOptional<z.ZodBoolean>;
474
+ system: z.ZodOptional<z.ZodString>;
475
+ thinking: z.ZodOptional<z.ZodBoolean>;
476
+ thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
477
+ thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingLevel>>;
478
+ stream: z.ZodOptional<z.ZodBoolean>;
479
+ artifacts: z.ZodOptional<z.ZodString>;
480
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
481
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
482
+ input: z.ZodObject<{
483
+ content: z.ZodString;
484
+ }, "strip", z.ZodTypeAny, {
485
+ content: string;
486
+ }, {
487
+ content: string;
488
+ }>;
489
+ output: z.ZodObject<{
490
+ content: z.ZodString;
491
+ }, "strip", z.ZodTypeAny, {
492
+ content: string;
493
+ }, {
494
+ content: string;
495
+ }>;
496
+ }, "strip", z.ZodTypeAny, {
497
+ input: {
498
+ content: string;
499
+ };
500
+ output: {
501
+ content: string;
502
+ };
503
+ }, {
504
+ input: {
505
+ content: string;
506
+ };
507
+ output: {
508
+ content: string;
509
+ };
510
+ }>, "many">>;
511
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
512
+ createdAt: z.ZodString;
513
+ updatedAt: z.ZodString;
514
+ resendFiles: z.ZodOptional<z.ZodBoolean>;
515
+ file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
516
+ imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof s.ImageDetail>>;
517
+ reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningEffort>>>;
518
+ reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningSummary>>>;
519
+ verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.Verbosity>>>;
520
+ useResponsesApi: z.ZodOptional<z.ZodBoolean>;
521
+ effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
522
+ web_search: z.ZodOptional<z.ZodBoolean>;
523
+ disableStreaming: z.ZodOptional<z.ZodBoolean>;
524
+ assistant_id: z.ZodOptional<z.ZodString>;
525
+ agent_id: z.ZodOptional<z.ZodString>;
526
+ region: z.ZodOptional<z.ZodString>;
527
+ maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
528
+ additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
529
+ [key: string]: string | number | boolean | any | any | null;
530
+ } | null)[] | {
531
+ [key: string]: string | number | boolean | any | any | null;
532
+ } | null)[] | {
533
+ [key: string]: string | number | boolean | any | any | null;
534
+ } | null)[] | {
535
+ [key: string]: string | number | boolean | any | any | null;
536
+ } | null)[] | {
537
+ [key: string]: string | number | boolean | any | any | null;
538
+ } | null)[] | {
539
+ [key: string]: string | number | boolean | any | any | null;
540
+ } | null)[] | {
541
+ [key: string]: string | number | boolean | any | any | null;
542
+ } | null)[] | {
543
+ [key: string]: string | number | boolean | any | any | null;
544
+ } | null)[] | {
545
+ [key: string]: string | number | boolean | any | any | null;
546
+ } | null)[] | {
547
+ [key: string]: string | number | boolean | any | any | null;
548
+ } | null)[] | {
549
+ [key: string]: string | number | boolean | any | any | null;
550
+ } | null)[] | {
551
+ [key: string]: string | number | boolean | any | any | null;
552
+ } | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
553
+ [key: string]: string | number | boolean | any | any | null;
554
+ } | null)[] | {
555
+ [key: string]: string | number | boolean | any | any | null;
556
+ } | null)[] | {
557
+ [key: string]: string | number | boolean | any | any | null;
558
+ } | null)[] | {
559
+ [key: string]: string | number | boolean | any | any | null;
560
+ } | null)[] | {
561
+ [key: string]: string | number | boolean | any | any | null;
562
+ } | null)[] | {
563
+ [key: string]: string | number | boolean | any | any | null;
564
+ } | null)[] | {
565
+ [key: string]: string | number | boolean | any | any | null;
566
+ } | null)[] | {
567
+ [key: string]: string | number | boolean | any | any | null;
568
+ } | null)[] | {
569
+ [key: string]: string | number | boolean | any | any | null;
570
+ } | null)[] | {
571
+ [key: string]: string | number | boolean | any | any | null;
572
+ } | null)[] | {
573
+ [key: string]: string | number | boolean | any | any | null;
574
+ } | null)[] | {
575
+ [key: string]: string | number | boolean | any | any | null;
576
+ } | null>>;
577
+ instructions: z.ZodOptional<z.ZodString>;
578
+ additional_instructions: z.ZodOptional<z.ZodString>;
579
+ append_current_datetime: z.ZodOptional<z.ZodBoolean>;
580
+ presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
581
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
582
+ greeting: z.ZodOptional<z.ZodString>;
583
+ spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
+ iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
585
+ expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
+ fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
587
+ resendImages: z.ZodOptional<z.ZodBoolean>;
588
+ chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
+ }, "modelLabel" | "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "artifacts" | "resendFiles" | "reasoning_effort" | "effort" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, "strip", z.ZodAny, z.objectOutputType<Pick<{
590
+ conversationId: z.ZodNullable<z.ZodString>;
591
+ endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
592
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
593
+ isArchived: z.ZodOptional<z.ZodBoolean>;
594
+ title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
595
+ user: z.ZodOptional<z.ZodString>;
596
+ messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
597
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
598
+ name: z.ZodString;
599
+ pluginKey: z.ZodString;
600
+ description: z.ZodOptional<z.ZodString>;
601
+ icon: z.ZodOptional<z.ZodString>;
602
+ authConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
603
+ authField: z.ZodString;
604
+ label: z.ZodString;
605
+ description: z.ZodString;
606
+ optional: z.ZodOptional<z.ZodBoolean>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ description: string;
609
+ authField: string;
610
+ label: string;
611
+ optional?: boolean | undefined;
612
+ }, {
613
+ description: string;
614
+ authField: string;
615
+ label: string;
616
+ optional?: boolean | undefined;
617
+ }>, "many">>;
618
+ authenticated: z.ZodOptional<z.ZodBoolean>;
619
+ chatMenu: z.ZodOptional<z.ZodBoolean>;
620
+ isButton: z.ZodOptional<z.ZodBoolean>;
621
+ toolkit: z.ZodOptional<z.ZodBoolean>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ name: string;
624
+ pluginKey: string;
625
+ description?: string | undefined;
626
+ icon?: string | undefined;
627
+ authConfig?: {
628
+ description: string;
629
+ authField: string;
630
+ label: string;
631
+ optional?: boolean | undefined;
632
+ }[] | undefined;
633
+ authenticated?: boolean | undefined;
634
+ chatMenu?: boolean | undefined;
635
+ isButton?: boolean | undefined;
636
+ toolkit?: boolean | undefined;
637
+ }, {
638
+ name: string;
639
+ pluginKey: string;
640
+ description?: string | undefined;
641
+ icon?: string | undefined;
642
+ authConfig?: {
643
+ description: string;
644
+ authField: string;
645
+ label: string;
646
+ optional?: boolean | undefined;
647
+ }[] | undefined;
648
+ authenticated?: boolean | undefined;
649
+ chatMenu?: boolean | undefined;
650
+ isButton?: boolean | undefined;
651
+ toolkit?: boolean | undefined;
652
+ }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
653
+ modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
654
+ userLabel: z.ZodOptional<z.ZodString>;
655
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
656
+ promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
657
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
658
+ topP: z.ZodOptional<z.ZodNumber>;
659
+ topK: z.ZodOptional<z.ZodNumber>;
660
+ top_p: z.ZodOptional<z.ZodNumber>;
661
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
662
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
663
+ parentMessageId: z.ZodOptional<z.ZodString>;
664
+ maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
665
+ maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
666
+ max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
667
+ promptCache: z.ZodOptional<z.ZodBoolean>;
668
+ system: z.ZodOptional<z.ZodString>;
669
+ thinking: z.ZodOptional<z.ZodBoolean>;
670
+ thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
671
+ thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingLevel>>;
672
+ stream: z.ZodOptional<z.ZodBoolean>;
673
+ artifacts: z.ZodOptional<z.ZodString>;
674
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
675
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
676
+ input: z.ZodObject<{
677
+ content: z.ZodString;
678
+ }, "strip", z.ZodTypeAny, {
679
+ content: string;
680
+ }, {
681
+ content: string;
682
+ }>;
683
+ output: z.ZodObject<{
684
+ content: z.ZodString;
685
+ }, "strip", z.ZodTypeAny, {
686
+ content: string;
687
+ }, {
688
+ content: string;
689
+ }>;
690
+ }, "strip", z.ZodTypeAny, {
691
+ input: {
692
+ content: string;
693
+ };
694
+ output: {
695
+ content: string;
696
+ };
697
+ }, {
698
+ input: {
699
+ content: string;
700
+ };
701
+ output: {
702
+ content: string;
703
+ };
704
+ }>, "many">>;
705
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
706
+ createdAt: z.ZodString;
707
+ updatedAt: z.ZodString;
708
+ resendFiles: z.ZodOptional<z.ZodBoolean>;
709
+ file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
710
+ imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof s.ImageDetail>>;
711
+ reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningEffort>>>;
712
+ reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningSummary>>>;
713
+ verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.Verbosity>>>;
714
+ useResponsesApi: z.ZodOptional<z.ZodBoolean>;
715
+ effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
716
+ web_search: z.ZodOptional<z.ZodBoolean>;
717
+ disableStreaming: z.ZodOptional<z.ZodBoolean>;
718
+ assistant_id: z.ZodOptional<z.ZodString>;
719
+ agent_id: z.ZodOptional<z.ZodString>;
720
+ region: z.ZodOptional<z.ZodString>;
721
+ maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
722
+ additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
723
+ [key: string]: string | number | boolean | any | any | null;
724
+ } | null)[] | {
725
+ [key: string]: string | number | boolean | any | any | null;
726
+ } | null)[] | {
727
+ [key: string]: string | number | boolean | any | any | null;
728
+ } | null)[] | {
729
+ [key: string]: string | number | boolean | any | any | null;
730
+ } | null)[] | {
731
+ [key: string]: string | number | boolean | any | any | null;
732
+ } | null)[] | {
733
+ [key: string]: string | number | boolean | any | any | null;
734
+ } | null)[] | {
735
+ [key: string]: string | number | boolean | any | any | null;
736
+ } | null)[] | {
737
+ [key: string]: string | number | boolean | any | any | null;
738
+ } | null)[] | {
739
+ [key: string]: string | number | boolean | any | any | null;
740
+ } | null)[] | {
741
+ [key: string]: string | number | boolean | any | any | null;
742
+ } | null)[] | {
743
+ [key: string]: string | number | boolean | any | any | null;
744
+ } | null)[] | {
745
+ [key: string]: string | number | boolean | any | any | null;
746
+ } | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
747
+ [key: string]: string | number | boolean | any | any | null;
748
+ } | null)[] | {
749
+ [key: string]: string | number | boolean | any | any | null;
750
+ } | null)[] | {
751
+ [key: string]: string | number | boolean | any | any | null;
752
+ } | null)[] | {
753
+ [key: string]: string | number | boolean | any | any | null;
754
+ } | null)[] | {
755
+ [key: string]: string | number | boolean | any | any | null;
756
+ } | null)[] | {
757
+ [key: string]: string | number | boolean | any | any | null;
758
+ } | null)[] | {
759
+ [key: string]: string | number | boolean | any | any | null;
760
+ } | null)[] | {
761
+ [key: string]: string | number | boolean | any | any | null;
762
+ } | null)[] | {
763
+ [key: string]: string | number | boolean | any | any | null;
764
+ } | null)[] | {
765
+ [key: string]: string | number | boolean | any | any | null;
766
+ } | null)[] | {
767
+ [key: string]: string | number | boolean | any | any | null;
768
+ } | null)[] | {
769
+ [key: string]: string | number | boolean | any | any | null;
770
+ } | null>>;
771
+ instructions: z.ZodOptional<z.ZodString>;
772
+ additional_instructions: z.ZodOptional<z.ZodString>;
773
+ append_current_datetime: z.ZodOptional<z.ZodBoolean>;
774
+ presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
775
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
776
+ greeting: z.ZodOptional<z.ZodString>;
777
+ spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
778
+ iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
+ expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
780
+ fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
781
+ resendImages: z.ZodOptional<z.ZodBoolean>;
782
+ chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
783
+ }, "modelLabel" | "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "artifacts" | "resendFiles" | "reasoning_effort" | "effort" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">, z.objectInputType<Pick<{
784
+ conversationId: z.ZodNullable<z.ZodString>;
785
+ endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
786
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
787
+ isArchived: z.ZodOptional<z.ZodBoolean>;
788
+ title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
789
+ user: z.ZodOptional<z.ZodString>;
790
+ messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
791
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
792
+ name: z.ZodString;
793
+ pluginKey: z.ZodString;
794
+ description: z.ZodOptional<z.ZodString>;
795
+ icon: z.ZodOptional<z.ZodString>;
796
+ authConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
+ authField: z.ZodString;
798
+ label: z.ZodString;
799
+ description: z.ZodString;
800
+ optional: z.ZodOptional<z.ZodBoolean>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ description: string;
803
+ authField: string;
804
+ label: string;
805
+ optional?: boolean | undefined;
806
+ }, {
807
+ description: string;
808
+ authField: string;
809
+ label: string;
810
+ optional?: boolean | undefined;
811
+ }>, "many">>;
812
+ authenticated: z.ZodOptional<z.ZodBoolean>;
813
+ chatMenu: z.ZodOptional<z.ZodBoolean>;
814
+ isButton: z.ZodOptional<z.ZodBoolean>;
815
+ toolkit: z.ZodOptional<z.ZodBoolean>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ name: string;
818
+ pluginKey: string;
819
+ description?: string | undefined;
820
+ icon?: string | undefined;
821
+ authConfig?: {
822
+ description: string;
823
+ authField: string;
824
+ label: string;
825
+ optional?: boolean | undefined;
826
+ }[] | undefined;
827
+ authenticated?: boolean | undefined;
828
+ chatMenu?: boolean | undefined;
829
+ isButton?: boolean | undefined;
830
+ toolkit?: boolean | undefined;
831
+ }, {
832
+ name: string;
833
+ pluginKey: string;
834
+ description?: string | undefined;
835
+ icon?: string | undefined;
836
+ authConfig?: {
837
+ description: string;
838
+ authField: string;
839
+ label: string;
840
+ optional?: boolean | undefined;
841
+ }[] | undefined;
842
+ authenticated?: boolean | undefined;
843
+ chatMenu?: boolean | undefined;
844
+ isButton?: boolean | undefined;
845
+ toolkit?: boolean | undefined;
846
+ }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
847
+ modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
848
+ userLabel: z.ZodOptional<z.ZodString>;
849
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
852
+ topP: z.ZodOptional<z.ZodNumber>;
853
+ topK: z.ZodOptional<z.ZodNumber>;
854
+ top_p: z.ZodOptional<z.ZodNumber>;
855
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
856
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
857
+ parentMessageId: z.ZodOptional<z.ZodString>;
858
+ maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
859
+ maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
860
+ max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
861
+ promptCache: z.ZodOptional<z.ZodBoolean>;
862
+ system: z.ZodOptional<z.ZodString>;
863
+ thinking: z.ZodOptional<z.ZodBoolean>;
864
+ thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
865
+ thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingLevel>>;
866
+ stream: z.ZodOptional<z.ZodBoolean>;
867
+ artifacts: z.ZodOptional<z.ZodString>;
868
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
869
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
870
+ input: z.ZodObject<{
871
+ content: z.ZodString;
872
+ }, "strip", z.ZodTypeAny, {
873
+ content: string;
874
+ }, {
875
+ content: string;
876
+ }>;
877
+ output: z.ZodObject<{
878
+ content: z.ZodString;
879
+ }, "strip", z.ZodTypeAny, {
880
+ content: string;
881
+ }, {
882
+ content: string;
883
+ }>;
884
+ }, "strip", z.ZodTypeAny, {
885
+ input: {
886
+ content: string;
887
+ };
888
+ output: {
889
+ content: string;
890
+ };
891
+ }, {
892
+ input: {
893
+ content: string;
894
+ };
895
+ output: {
896
+ content: string;
897
+ };
898
+ }>, "many">>;
899
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
900
+ createdAt: z.ZodString;
901
+ updatedAt: z.ZodString;
902
+ resendFiles: z.ZodOptional<z.ZodBoolean>;
903
+ file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
904
+ imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof s.ImageDetail>>;
905
+ reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningEffort>>>;
906
+ reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningSummary>>>;
907
+ verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.Verbosity>>>;
908
+ useResponsesApi: z.ZodOptional<z.ZodBoolean>;
909
+ effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
910
+ web_search: z.ZodOptional<z.ZodBoolean>;
911
+ disableStreaming: z.ZodOptional<z.ZodBoolean>;
912
+ assistant_id: z.ZodOptional<z.ZodString>;
913
+ agent_id: z.ZodOptional<z.ZodString>;
914
+ region: z.ZodOptional<z.ZodString>;
915
+ maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
916
+ additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
917
+ [key: string]: string | number | boolean | any | any | null;
918
+ } | null)[] | {
919
+ [key: string]: string | number | boolean | any | any | null;
920
+ } | null)[] | {
921
+ [key: string]: string | number | boolean | any | any | null;
922
+ } | null)[] | {
923
+ [key: string]: string | number | boolean | any | any | null;
924
+ } | null)[] | {
925
+ [key: string]: string | number | boolean | any | any | null;
926
+ } | null)[] | {
927
+ [key: string]: string | number | boolean | any | any | null;
928
+ } | null)[] | {
929
+ [key: string]: string | number | boolean | any | any | null;
930
+ } | null)[] | {
931
+ [key: string]: string | number | boolean | any | any | null;
932
+ } | null)[] | {
933
+ [key: string]: string | number | boolean | any | any | null;
934
+ } | null)[] | {
935
+ [key: string]: string | number | boolean | any | any | null;
936
+ } | null)[] | {
937
+ [key: string]: string | number | boolean | any | any | null;
938
+ } | null)[] | {
939
+ [key: string]: string | number | boolean | any | any | null;
940
+ } | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
941
+ [key: string]: string | number | boolean | any | any | null;
942
+ } | null)[] | {
943
+ [key: string]: string | number | boolean | any | any | null;
944
+ } | null)[] | {
945
+ [key: string]: string | number | boolean | any | any | null;
946
+ } | null)[] | {
947
+ [key: string]: string | number | boolean | any | any | null;
948
+ } | null)[] | {
949
+ [key: string]: string | number | boolean | any | any | null;
950
+ } | null)[] | {
951
+ [key: string]: string | number | boolean | any | any | null;
952
+ } | null)[] | {
953
+ [key: string]: string | number | boolean | any | any | null;
954
+ } | null)[] | {
955
+ [key: string]: string | number | boolean | any | any | null;
956
+ } | null)[] | {
957
+ [key: string]: string | number | boolean | any | any | null;
958
+ } | null)[] | {
959
+ [key: string]: string | number | boolean | any | any | null;
960
+ } | null)[] | {
961
+ [key: string]: string | number | boolean | any | any | null;
962
+ } | null)[] | {
963
+ [key: string]: string | number | boolean | any | any | null;
964
+ } | null>>;
965
+ instructions: z.ZodOptional<z.ZodString>;
966
+ additional_instructions: z.ZodOptional<z.ZodString>;
967
+ append_current_datetime: z.ZodOptional<z.ZodBoolean>;
968
+ presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
969
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
970
+ greeting: z.ZodOptional<z.ZodString>;
971
+ spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
972
+ iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
973
+ expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
974
+ fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
975
+ resendImages: z.ZodOptional<z.ZodBoolean>;
976
+ chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
977
+ }, "modelLabel" | "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "artifacts" | "resendFiles" | "reasoning_effort" | "effort" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">>, Partial<{
978
+ modelLabel?: string | null | undefined;
979
+ model?: string | null | undefined;
980
+ promptPrefix?: string | null | undefined;
981
+ temperature?: number | null | undefined;
982
+ topP?: number | undefined;
983
+ topK?: number | undefined;
984
+ maxOutputTokens?: number | null | undefined;
985
+ maxContextTokens?: number | undefined;
986
+ promptCache?: boolean | undefined;
987
+ system?: string | undefined;
988
+ thinking?: boolean | undefined;
989
+ thinkingBudget?: number | undefined;
990
+ artifacts?: string | undefined;
991
+ resendFiles?: boolean | undefined;
992
+ reasoning_effort?: s.ReasoningEffort | null | undefined;
993
+ effort?: s.AnthropicEffort | null | undefined;
994
+ region?: string | undefined;
995
+ maxTokens?: number | undefined;
996
+ additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
997
+ [key: string]: string | number | boolean | any | any | null;
998
+ } | null)[] | {
999
+ [key: string]: string | number | boolean | any | any | null;
1000
+ } | null)[] | {
1001
+ [key: string]: string | number | boolean | any | any | null;
1002
+ } | null)[] | {
1003
+ [key: string]: string | number | boolean | any | any | null;
1004
+ } | null)[] | {
1005
+ [key: string]: string | number | boolean | any | any | null;
1006
+ } | null)[] | {
1007
+ [key: string]: string | number | boolean | any | any | null;
1008
+ } | null)[] | {
1009
+ [key: string]: string | number | boolean | any | any | null;
1010
+ } | null)[] | {
1011
+ [key: string]: string | number | boolean | any | any | null;
1012
+ } | null)[] | {
1013
+ [key: string]: string | number | boolean | any | any | null;
1014
+ } | null)[] | {
1015
+ [key: string]: string | number | boolean | any | any | null;
1016
+ } | null)[] | {
1017
+ [key: string]: string | number | boolean | any | any | null;
1018
+ } | null)[] | {
1019
+ [key: string]: string | number | boolean | any | any | null;
1020
+ } | null) | undefined;
1021
+ stop?: string[] | undefined;
1022
+ greeting?: string | undefined;
1023
+ spec?: string | null | undefined;
1024
+ iconURL?: string | null | undefined;
1025
+ }>, z.objectInputType<Pick<{
1026
+ conversationId: z.ZodNullable<z.ZodString>;
1027
+ endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
1028
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
1029
+ isArchived: z.ZodOptional<z.ZodBoolean>;
1030
+ title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
1031
+ user: z.ZodOptional<z.ZodString>;
1032
+ messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1033
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1034
+ name: z.ZodString;
1035
+ pluginKey: z.ZodString;
1036
+ description: z.ZodOptional<z.ZodString>;
1037
+ icon: z.ZodOptional<z.ZodString>;
1038
+ authConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
1039
+ authField: z.ZodString;
1040
+ label: z.ZodString;
1041
+ description: z.ZodString;
1042
+ optional: z.ZodOptional<z.ZodBoolean>;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ description: string;
1045
+ authField: string;
1046
+ label: string;
1047
+ optional?: boolean | undefined;
1048
+ }, {
1049
+ description: string;
1050
+ authField: string;
1051
+ label: string;
1052
+ optional?: boolean | undefined;
1053
+ }>, "many">>;
1054
+ authenticated: z.ZodOptional<z.ZodBoolean>;
1055
+ chatMenu: z.ZodOptional<z.ZodBoolean>;
1056
+ isButton: z.ZodOptional<z.ZodBoolean>;
1057
+ toolkit: z.ZodOptional<z.ZodBoolean>;
1058
+ }, "strip", z.ZodTypeAny, {
1059
+ name: string;
1060
+ pluginKey: string;
1061
+ description?: string | undefined;
1062
+ icon?: string | undefined;
1063
+ authConfig?: {
1064
+ description: string;
1065
+ authField: string;
1066
+ label: string;
1067
+ optional?: boolean | undefined;
1068
+ }[] | undefined;
1069
+ authenticated?: boolean | undefined;
1070
+ chatMenu?: boolean | undefined;
1071
+ isButton?: boolean | undefined;
1072
+ toolkit?: boolean | undefined;
1073
+ }, {
1074
+ name: string;
1075
+ pluginKey: string;
1076
+ description?: string | undefined;
1077
+ icon?: string | undefined;
1078
+ authConfig?: {
1079
+ description: string;
1080
+ authField: string;
1081
+ label: string;
1082
+ optional?: boolean | undefined;
1083
+ }[] | undefined;
1084
+ authenticated?: boolean | undefined;
1085
+ chatMenu?: boolean | undefined;
1086
+ isButton?: boolean | undefined;
1087
+ toolkit?: boolean | undefined;
1088
+ }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
1089
+ modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1090
+ userLabel: z.ZodOptional<z.ZodString>;
1091
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
+ promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1094
+ topP: z.ZodOptional<z.ZodNumber>;
1095
+ topK: z.ZodOptional<z.ZodNumber>;
1096
+ top_p: z.ZodOptional<z.ZodNumber>;
1097
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
1098
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
1099
+ parentMessageId: z.ZodOptional<z.ZodString>;
1100
+ maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
1101
+ maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1102
+ max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1103
+ promptCache: z.ZodOptional<z.ZodBoolean>;
1104
+ system: z.ZodOptional<z.ZodString>;
1105
+ thinking: z.ZodOptional<z.ZodBoolean>;
1106
+ thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1107
+ thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingLevel>>;
1108
+ stream: z.ZodOptional<z.ZodBoolean>;
1109
+ artifacts: z.ZodOptional<z.ZodString>;
1110
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1111
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1112
+ input: z.ZodObject<{
1113
+ content: z.ZodString;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ content: string;
1116
+ }, {
1117
+ content: string;
1118
+ }>;
1119
+ output: z.ZodObject<{
1120
+ content: z.ZodString;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ content: string;
1123
+ }, {
1124
+ content: string;
1125
+ }>;
1126
+ }, "strip", z.ZodTypeAny, {
1127
+ input: {
1128
+ content: string;
1129
+ };
1130
+ output: {
1131
+ content: string;
1132
+ };
1133
+ }, {
1134
+ input: {
1135
+ content: string;
1136
+ };
1137
+ output: {
1138
+ content: string;
1139
+ };
1140
+ }>, "many">>;
1141
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1142
+ createdAt: z.ZodString;
1143
+ updatedAt: z.ZodString;
1144
+ resendFiles: z.ZodOptional<z.ZodBoolean>;
1145
+ file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1146
+ imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof s.ImageDetail>>;
1147
+ reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningEffort>>>;
1148
+ reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ReasoningSummary>>>;
1149
+ verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.Verbosity>>>;
1150
+ useResponsesApi: z.ZodOptional<z.ZodBoolean>;
1151
+ effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
1152
+ web_search: z.ZodOptional<z.ZodBoolean>;
1153
+ disableStreaming: z.ZodOptional<z.ZodBoolean>;
1154
+ assistant_id: z.ZodOptional<z.ZodString>;
1155
+ agent_id: z.ZodOptional<z.ZodString>;
1156
+ region: z.ZodOptional<z.ZodString>;
1157
+ maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1158
+ additionalModelRequestFields: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1159
+ [key: string]: string | number | boolean | any | any | null;
1160
+ } | null)[] | {
1161
+ [key: string]: string | number | boolean | any | any | null;
1162
+ } | null)[] | {
1163
+ [key: string]: string | number | boolean | any | any | null;
1164
+ } | null)[] | {
1165
+ [key: string]: string | number | boolean | any | any | null;
1166
+ } | null)[] | {
1167
+ [key: string]: string | number | boolean | any | any | null;
1168
+ } | null)[] | {
1169
+ [key: string]: string | number | boolean | any | any | null;
1170
+ } | null)[] | {
1171
+ [key: string]: string | number | boolean | any | any | null;
1172
+ } | null)[] | {
1173
+ [key: string]: string | number | boolean | any | any | null;
1174
+ } | null)[] | {
1175
+ [key: string]: string | number | boolean | any | any | null;
1176
+ } | null)[] | {
1177
+ [key: string]: string | number | boolean | any | any | null;
1178
+ } | null)[] | {
1179
+ [key: string]: string | number | boolean | any | any | null;
1180
+ } | null)[] | {
1181
+ [key: string]: string | number | boolean | any | any | null;
1182
+ } | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
1183
+ [key: string]: string | number | boolean | any | any | null;
1184
+ } | null)[] | {
1185
+ [key: string]: string | number | boolean | any | any | null;
1186
+ } | null)[] | {
1187
+ [key: string]: string | number | boolean | any | any | null;
1188
+ } | null)[] | {
1189
+ [key: string]: string | number | boolean | any | any | null;
1190
+ } | null)[] | {
1191
+ [key: string]: string | number | boolean | any | any | null;
1192
+ } | null)[] | {
1193
+ [key: string]: string | number | boolean | any | any | null;
1194
+ } | null)[] | {
1195
+ [key: string]: string | number | boolean | any | any | null;
1196
+ } | null)[] | {
1197
+ [key: string]: string | number | boolean | any | any | null;
1198
+ } | null)[] | {
1199
+ [key: string]: string | number | boolean | any | any | null;
1200
+ } | null)[] | {
1201
+ [key: string]: string | number | boolean | any | any | null;
1202
+ } | null)[] | {
1203
+ [key: string]: string | number | boolean | any | any | null;
1204
+ } | null)[] | {
1205
+ [key: string]: string | number | boolean | any | any | null;
1206
+ } | null>>;
1207
+ instructions: z.ZodOptional<z.ZodString>;
1208
+ additional_instructions: z.ZodOptional<z.ZodString>;
1209
+ append_current_datetime: z.ZodOptional<z.ZodBoolean>;
1210
+ presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1211
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1212
+ greeting: z.ZodOptional<z.ZodString>;
1213
+ spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1214
+ iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
+ expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
+ fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1217
+ resendImages: z.ZodOptional<z.ZodBoolean>;
1218
+ chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1219
+ }, "modelLabel" | "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "artifacts" | "resendFiles" | "reasoning_effort" | "effort" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">>>;
1220
+ export declare const bedrockOutputParser: (data: Record<string, unknown>) => Record<string, unknown>;