@sap-ai-sdk/prompt-registry 1.16.1-20250728013330.0 → 1.17.1-20250729013403.0

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 (77) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +0 -2
  4. package/dist/index.js.map +1 -1
  5. package/dist/internal.d.ts +1 -0
  6. package/dist/internal.d.ts.map +1 -1
  7. package/dist/internal.js +1 -0
  8. package/dist/internal.js.map +1 -1
  9. package/dist/zod/index.d.ts +2 -0
  10. package/dist/zod/index.d.ts.map +1 -0
  11. package/dist/zod/index.js +2 -0
  12. package/dist/zod/index.js.map +1 -0
  13. package/dist/zod/prompt-registry.zod.d.ts +2944 -0
  14. package/dist/zod/prompt-registry.zod.d.ts.map +1 -0
  15. package/dist/zod/prompt-registry.zod.js +836 -0
  16. package/dist/zod/prompt-registry.zod.js.map +1 -0
  17. package/package.json +4 -6
  18. package/dist/zod/chat-completion-tool.zod.d.ts +0 -40
  19. package/dist/zod/chat-completion-tool.zod.d.ts.map +0 -1
  20. package/dist/zod/chat-completion-tool.zod.js +0 -11
  21. package/dist/zod/chat-completion-tool.zod.js.map +0 -1
  22. package/dist/zod/function-object.zod.d.ts +0 -21
  23. package/dist/zod/function-object.zod.d.ts.map +0 -1
  24. package/dist/zod/function-object.zod.js +0 -13
  25. package/dist/zod/function-object.zod.js.map +0 -1
  26. package/dist/zod/function-parameters.zod.d.ts +0 -6
  27. package/dist/zod/function-parameters.zod.d.ts.map +0 -1
  28. package/dist/zod/function-parameters.zod.js +0 -7
  29. package/dist/zod/function-parameters.zod.js.map +0 -1
  30. package/dist/zod/image-content.zod.d.ts +0 -30
  31. package/dist/zod/image-content.zod.d.ts.map +0 -1
  32. package/dist/zod/image-content.zod.js +0 -15
  33. package/dist/zod/image-content.zod.js.map +0 -1
  34. package/dist/zod/multi-chat-content.zod.d.ts +0 -39
  35. package/dist/zod/multi-chat-content.zod.d.ts.map +0 -1
  36. package/dist/zod/multi-chat-content.zod.js +0 -12
  37. package/dist/zod/multi-chat-content.zod.js.map +0 -1
  38. package/dist/zod/multi-chat-template.zod.d.ts +0 -66
  39. package/dist/zod/multi-chat-template.zod.d.ts.map +0 -1
  40. package/dist/zod/multi-chat-template.zod.js +0 -11
  41. package/dist/zod/multi-chat-template.zod.js.map +0 -1
  42. package/dist/zod/prompt-template-post-request.zod.d.ts +0 -569
  43. package/dist/zod/prompt-template-post-request.zod.d.ts.map +0 -1
  44. package/dist/zod/prompt-template-post-request.zod.js +0 -12
  45. package/dist/zod/prompt-template-post-request.zod.js.map +0 -1
  46. package/dist/zod/prompt-template-spec.zod.d.ts +0 -471
  47. package/dist/zod/prompt-template-spec.zod.d.ts.map +0 -1
  48. package/dist/zod/prompt-template-spec.zod.js +0 -26
  49. package/dist/zod/prompt-template-spec.zod.js.map +0 -1
  50. package/dist/zod/response-format-json-object.zod.d.ts +0 -12
  51. package/dist/zod/response-format-json-object.zod.d.ts.map +0 -1
  52. package/dist/zod/response-format-json-object.zod.js +0 -9
  53. package/dist/zod/response-format-json-object.zod.js.map +0 -1
  54. package/dist/zod/response-format-json-schema-schema.zod.d.ts +0 -6
  55. package/dist/zod/response-format-json-schema-schema.zod.d.ts.map +0 -1
  56. package/dist/zod/response-format-json-schema-schema.zod.js +0 -7
  57. package/dist/zod/response-format-json-schema-schema.zod.js.map +0 -1
  58. package/dist/zod/response-format-json-schema.zod.d.ts +0 -40
  59. package/dist/zod/response-format-json-schema.zod.d.ts.map +0 -1
  60. package/dist/zod/response-format-json-schema.zod.js +0 -16
  61. package/dist/zod/response-format-json-schema.zod.js.map +0 -1
  62. package/dist/zod/response-format-text.zod.d.ts +0 -12
  63. package/dist/zod/response-format-text.zod.d.ts.map +0 -1
  64. package/dist/zod/response-format-text.zod.js +0 -9
  65. package/dist/zod/response-format-text.zod.js.map +0 -1
  66. package/dist/zod/single-chat-template.zod.d.ts +0 -15
  67. package/dist/zod/single-chat-template.zod.d.ts.map +0 -1
  68. package/dist/zod/single-chat-template.zod.js +0 -10
  69. package/dist/zod/single-chat-template.zod.js.map +0 -1
  70. package/dist/zod/template.zod.d.ts +0 -75
  71. package/dist/zod/template.zod.d.ts.map +0 -1
  72. package/dist/zod/template.zod.js +0 -12
  73. package/dist/zod/template.zod.js.map +0 -1
  74. package/dist/zod/text-content.zod.d.ts +0 -15
  75. package/dist/zod/text-content.zod.d.ts.map +0 -1
  76. package/dist/zod/text-content.zod.js +0 -10
  77. package/dist/zod/text-content.zod.js.map +0 -1
@@ -0,0 +1,2944 @@
1
+ /**
2
+ * Generated by orval v7.10.0 🍺
3
+ * Do not edit manually.
4
+ * Prompt Registry API
5
+ * Prompt Storage service for Design time & Runtime prompt templates.
6
+ * OpenAPI spec version: 0.0.1.
7
+ */
8
+ import { z as zod } from 'zod';
9
+ /**
10
+ * Create or update a prompt template.
11
+ */
12
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodyNameMax = 120;
13
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodyVersionMax = 10;
14
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodyScenarioMax = 120;
15
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodySpecTemplateItemContentItemImageUrlDetailDefault = "auto";
16
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodySpecResponseFormatJsonSchemaNameMax = 64;
17
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodySpecResponseFormatJsonSchemaNameRegExp: RegExp;
18
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodySpecResponseFormatJsonSchemaStrictDefault = false;
19
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodySpecToolsItemFunctionNameMax = 64;
20
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodySpecToolsItemFunctionNameRegExp: RegExp;
21
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBodySpecToolsItemFunctionStrictDefault = false;
22
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateBody: zod.ZodObject<{
23
+ name: zod.ZodString;
24
+ version: zod.ZodString;
25
+ scenario: zod.ZodString;
26
+ spec: zod.ZodObject<{
27
+ template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
28
+ role: zod.ZodString;
29
+ content: zod.ZodString;
30
+ }, "strip", zod.ZodTypeAny, {
31
+ role: string;
32
+ content: string;
33
+ }, {
34
+ role: string;
35
+ content: string;
36
+ }>, zod.ZodObject<{
37
+ role: zod.ZodString;
38
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
39
+ type: zod.ZodEnum<["image_url"]>;
40
+ image_url: zod.ZodObject<{
41
+ url: zod.ZodString;
42
+ detail: zod.ZodDefault<zod.ZodString>;
43
+ }, "strip", zod.ZodTypeAny, {
44
+ url: string;
45
+ detail: string;
46
+ }, {
47
+ url: string;
48
+ detail?: string | undefined;
49
+ }>;
50
+ }, "strip", zod.ZodTypeAny, {
51
+ image_url: {
52
+ url: string;
53
+ detail: string;
54
+ };
55
+ type: "image_url";
56
+ }, {
57
+ image_url: {
58
+ url: string;
59
+ detail?: string | undefined;
60
+ };
61
+ type: "image_url";
62
+ }>, zod.ZodObject<{
63
+ type: zod.ZodEnum<["text"]>;
64
+ text: zod.ZodString;
65
+ }, "strip", zod.ZodTypeAny, {
66
+ text: string;
67
+ type: "text";
68
+ }, {
69
+ text: string;
70
+ type: "text";
71
+ }>]>, "many">;
72
+ }, "strip", zod.ZodTypeAny, {
73
+ role: string;
74
+ content: ({
75
+ image_url: {
76
+ url: string;
77
+ detail: string;
78
+ };
79
+ type: "image_url";
80
+ } | {
81
+ text: string;
82
+ type: "text";
83
+ })[];
84
+ }, {
85
+ role: string;
86
+ content: ({
87
+ image_url: {
88
+ url: string;
89
+ detail?: string | undefined;
90
+ };
91
+ type: "image_url";
92
+ } | {
93
+ text: string;
94
+ type: "text";
95
+ })[];
96
+ }>]>, "many">;
97
+ defaults: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
98
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
99
+ response_format: zod.ZodOptional<zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
100
+ type: zod.ZodEnum<["text"]>;
101
+ }, "strip", zod.ZodTypeAny, {
102
+ type: "text";
103
+ }, {
104
+ type: "text";
105
+ }>, zod.ZodObject<{
106
+ type: zod.ZodEnum<["json_object"]>;
107
+ }, "strip", zod.ZodTypeAny, {
108
+ type: "json_object";
109
+ }, {
110
+ type: "json_object";
111
+ }>]>, zod.ZodObject<{
112
+ type: zod.ZodEnum<["json_schema"]>;
113
+ json_schema: zod.ZodObject<{
114
+ description: zod.ZodOptional<zod.ZodString>;
115
+ name: zod.ZodString;
116
+ schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
117
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
118
+ }, "strip", zod.ZodTypeAny, {
119
+ name: string;
120
+ description?: string | undefined;
121
+ schema?: Record<string, any> | undefined;
122
+ strict?: boolean | null | undefined;
123
+ }, {
124
+ name: string;
125
+ description?: string | undefined;
126
+ schema?: Record<string, any> | undefined;
127
+ strict?: boolean | null | undefined;
128
+ }>;
129
+ }, "strip", zod.ZodTypeAny, {
130
+ json_schema: {
131
+ name: string;
132
+ description?: string | undefined;
133
+ schema?: Record<string, any> | undefined;
134
+ strict?: boolean | null | undefined;
135
+ };
136
+ type: "json_schema";
137
+ }, {
138
+ json_schema: {
139
+ name: string;
140
+ description?: string | undefined;
141
+ schema?: Record<string, any> | undefined;
142
+ strict?: boolean | null | undefined;
143
+ };
144
+ type: "json_schema";
145
+ }>]>>;
146
+ tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
147
+ type: zod.ZodEnum<["function"]>;
148
+ function: zod.ZodObject<{
149
+ description: zod.ZodOptional<zod.ZodString>;
150
+ name: zod.ZodString;
151
+ parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
152
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
153
+ }, "strip", zod.ZodTypeAny, {
154
+ name: string;
155
+ description?: string | undefined;
156
+ strict?: boolean | null | undefined;
157
+ parameters?: Record<string, any> | undefined;
158
+ }, {
159
+ name: string;
160
+ description?: string | undefined;
161
+ strict?: boolean | null | undefined;
162
+ parameters?: Record<string, any> | undefined;
163
+ }>;
164
+ }, "strip", zod.ZodTypeAny, {
165
+ function: {
166
+ name: string;
167
+ description?: string | undefined;
168
+ strict?: boolean | null | undefined;
169
+ parameters?: Record<string, any> | undefined;
170
+ };
171
+ type: "function";
172
+ }, {
173
+ function: {
174
+ name: string;
175
+ description?: string | undefined;
176
+ strict?: boolean | null | undefined;
177
+ parameters?: Record<string, any> | undefined;
178
+ };
179
+ type: "function";
180
+ }>, "many">>;
181
+ }, "strip", zod.ZodTypeAny, {
182
+ template: ({
183
+ role: string;
184
+ content: string;
185
+ } | {
186
+ role: string;
187
+ content: ({
188
+ image_url: {
189
+ url: string;
190
+ detail: string;
191
+ };
192
+ type: "image_url";
193
+ } | {
194
+ text: string;
195
+ type: "text";
196
+ })[];
197
+ })[];
198
+ defaults?: {} | undefined;
199
+ additionalFields?: {} | undefined;
200
+ response_format?: {
201
+ type: "text";
202
+ } | {
203
+ type: "json_object";
204
+ } | {
205
+ json_schema: {
206
+ name: string;
207
+ description?: string | undefined;
208
+ schema?: Record<string, any> | undefined;
209
+ strict?: boolean | null | undefined;
210
+ };
211
+ type: "json_schema";
212
+ } | undefined;
213
+ tools?: {
214
+ function: {
215
+ name: string;
216
+ description?: string | undefined;
217
+ strict?: boolean | null | undefined;
218
+ parameters?: Record<string, any> | undefined;
219
+ };
220
+ type: "function";
221
+ }[] | undefined;
222
+ }, {
223
+ template: ({
224
+ role: string;
225
+ content: string;
226
+ } | {
227
+ role: string;
228
+ content: ({
229
+ image_url: {
230
+ url: string;
231
+ detail?: string | undefined;
232
+ };
233
+ type: "image_url";
234
+ } | {
235
+ text: string;
236
+ type: "text";
237
+ })[];
238
+ })[];
239
+ defaults?: {} | undefined;
240
+ additionalFields?: {} | undefined;
241
+ response_format?: {
242
+ type: "text";
243
+ } | {
244
+ type: "json_object";
245
+ } | {
246
+ json_schema: {
247
+ name: string;
248
+ description?: string | undefined;
249
+ schema?: Record<string, any> | undefined;
250
+ strict?: boolean | null | undefined;
251
+ };
252
+ type: "json_schema";
253
+ } | undefined;
254
+ tools?: {
255
+ function: {
256
+ name: string;
257
+ description?: string | undefined;
258
+ strict?: boolean | null | undefined;
259
+ parameters?: Record<string, any> | undefined;
260
+ };
261
+ type: "function";
262
+ }[] | undefined;
263
+ }>;
264
+ }, "strip", zod.ZodTypeAny, {
265
+ scenario: string;
266
+ version: string;
267
+ name: string;
268
+ spec: {
269
+ template: ({
270
+ role: string;
271
+ content: string;
272
+ } | {
273
+ role: string;
274
+ content: ({
275
+ image_url: {
276
+ url: string;
277
+ detail: string;
278
+ };
279
+ type: "image_url";
280
+ } | {
281
+ text: string;
282
+ type: "text";
283
+ })[];
284
+ })[];
285
+ defaults?: {} | undefined;
286
+ additionalFields?: {} | undefined;
287
+ response_format?: {
288
+ type: "text";
289
+ } | {
290
+ type: "json_object";
291
+ } | {
292
+ json_schema: {
293
+ name: string;
294
+ description?: string | undefined;
295
+ schema?: Record<string, any> | undefined;
296
+ strict?: boolean | null | undefined;
297
+ };
298
+ type: "json_schema";
299
+ } | undefined;
300
+ tools?: {
301
+ function: {
302
+ name: string;
303
+ description?: string | undefined;
304
+ strict?: boolean | null | undefined;
305
+ parameters?: Record<string, any> | undefined;
306
+ };
307
+ type: "function";
308
+ }[] | undefined;
309
+ };
310
+ }, {
311
+ scenario: string;
312
+ version: string;
313
+ name: string;
314
+ spec: {
315
+ template: ({
316
+ role: string;
317
+ content: string;
318
+ } | {
319
+ role: string;
320
+ content: ({
321
+ image_url: {
322
+ url: string;
323
+ detail?: string | undefined;
324
+ };
325
+ type: "image_url";
326
+ } | {
327
+ text: string;
328
+ type: "text";
329
+ })[];
330
+ })[];
331
+ defaults?: {} | undefined;
332
+ additionalFields?: {} | undefined;
333
+ response_format?: {
334
+ type: "text";
335
+ } | {
336
+ type: "json_object";
337
+ } | {
338
+ json_schema: {
339
+ name: string;
340
+ description?: string | undefined;
341
+ schema?: Record<string, any> | undefined;
342
+ strict?: boolean | null | undefined;
343
+ };
344
+ type: "json_schema";
345
+ } | undefined;
346
+ tools?: {
347
+ function: {
348
+ name: string;
349
+ description?: string | undefined;
350
+ strict?: boolean | null | undefined;
351
+ parameters?: Record<string, any> | undefined;
352
+ };
353
+ type: "function";
354
+ }[] | undefined;
355
+ };
356
+ }>;
357
+ export declare const registryControllerPromptControllerCreateUpdatePromptTemplateResponse: zod.ZodObject<{
358
+ message: zod.ZodString;
359
+ id: zod.ZodString;
360
+ scenario: zod.ZodString;
361
+ name: zod.ZodString;
362
+ version: zod.ZodString;
363
+ }, "strip", zod.ZodTypeAny, {
364
+ scenario: string;
365
+ version: string;
366
+ name: string;
367
+ message: string;
368
+ id: string;
369
+ }, {
370
+ scenario: string;
371
+ version: string;
372
+ name: string;
373
+ message: string;
374
+ id: string;
375
+ }>;
376
+ /**
377
+ * List prompt templates.
378
+ */
379
+ export declare const registryControllerPromptControllerListPromptTemplatesQueryRetrieveDefault = "both";
380
+ export declare const registryControllerPromptControllerListPromptTemplatesQueryIncludeSpecDefault = false;
381
+ export declare const registryControllerPromptControllerListPromptTemplatesQueryParams: zod.ZodObject<{
382
+ scenario: zod.ZodOptional<zod.ZodString>;
383
+ name: zod.ZodOptional<zod.ZodString>;
384
+ version: zod.ZodOptional<zod.ZodString>;
385
+ retrieve: zod.ZodDefault<zod.ZodString>;
386
+ includeSpec: zod.ZodOptional<zod.ZodBoolean>;
387
+ }, "strip", zod.ZodTypeAny, {
388
+ retrieve: string;
389
+ scenario?: string | undefined;
390
+ version?: string | undefined;
391
+ name?: string | undefined;
392
+ includeSpec?: boolean | undefined;
393
+ }, {
394
+ scenario?: string | undefined;
395
+ version?: string | undefined;
396
+ name?: string | undefined;
397
+ retrieve?: string | undefined;
398
+ includeSpec?: boolean | undefined;
399
+ }>;
400
+ export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
401
+ export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecResponseFormatJsonSchemaNameMax = 64;
402
+ export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecResponseFormatJsonSchemaNameRegExp: RegExp;
403
+ export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecResponseFormatJsonSchemaStrictDefault = false;
404
+ export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecToolsItemFunctionNameMax = 64;
405
+ export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecToolsItemFunctionNameRegExp: RegExp;
406
+ export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecToolsItemFunctionStrictDefault = false;
407
+ export declare const registryControllerPromptControllerListPromptTemplatesResponse: zod.ZodObject<{
408
+ count: zod.ZodNumber;
409
+ resources: zod.ZodArray<zod.ZodObject<{
410
+ id: zod.ZodOptional<zod.ZodString>;
411
+ name: zod.ZodOptional<zod.ZodString>;
412
+ version: zod.ZodOptional<zod.ZodString>;
413
+ scenario: zod.ZodOptional<zod.ZodString>;
414
+ creationTimestamp: zod.ZodOptional<zod.ZodString>;
415
+ managedBy: zod.ZodOptional<zod.ZodString>;
416
+ isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
417
+ spec: zod.ZodOptional<zod.ZodObject<{
418
+ template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
419
+ role: zod.ZodString;
420
+ content: zod.ZodString;
421
+ }, "strip", zod.ZodTypeAny, {
422
+ role: string;
423
+ content: string;
424
+ }, {
425
+ role: string;
426
+ content: string;
427
+ }>, zod.ZodObject<{
428
+ role: zod.ZodString;
429
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
430
+ type: zod.ZodEnum<["image_url"]>;
431
+ image_url: zod.ZodObject<{
432
+ url: zod.ZodString;
433
+ detail: zod.ZodDefault<zod.ZodString>;
434
+ }, "strip", zod.ZodTypeAny, {
435
+ url: string;
436
+ detail: string;
437
+ }, {
438
+ url: string;
439
+ detail?: string | undefined;
440
+ }>;
441
+ }, "strip", zod.ZodTypeAny, {
442
+ image_url: {
443
+ url: string;
444
+ detail: string;
445
+ };
446
+ type: "image_url";
447
+ }, {
448
+ image_url: {
449
+ url: string;
450
+ detail?: string | undefined;
451
+ };
452
+ type: "image_url";
453
+ }>, zod.ZodObject<{
454
+ type: zod.ZodEnum<["text"]>;
455
+ text: zod.ZodString;
456
+ }, "strip", zod.ZodTypeAny, {
457
+ text: string;
458
+ type: "text";
459
+ }, {
460
+ text: string;
461
+ type: "text";
462
+ }>]>, "many">;
463
+ }, "strip", zod.ZodTypeAny, {
464
+ role: string;
465
+ content: ({
466
+ image_url: {
467
+ url: string;
468
+ detail: string;
469
+ };
470
+ type: "image_url";
471
+ } | {
472
+ text: string;
473
+ type: "text";
474
+ })[];
475
+ }, {
476
+ role: string;
477
+ content: ({
478
+ image_url: {
479
+ url: string;
480
+ detail?: string | undefined;
481
+ };
482
+ type: "image_url";
483
+ } | {
484
+ text: string;
485
+ type: "text";
486
+ })[];
487
+ }>]>, "many">;
488
+ defaults: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
489
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
490
+ response_format: zod.ZodOptional<zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
491
+ type: zod.ZodEnum<["text"]>;
492
+ }, "strip", zod.ZodTypeAny, {
493
+ type: "text";
494
+ }, {
495
+ type: "text";
496
+ }>, zod.ZodObject<{
497
+ type: zod.ZodEnum<["json_object"]>;
498
+ }, "strip", zod.ZodTypeAny, {
499
+ type: "json_object";
500
+ }, {
501
+ type: "json_object";
502
+ }>]>, zod.ZodObject<{
503
+ type: zod.ZodEnum<["json_schema"]>;
504
+ json_schema: zod.ZodObject<{
505
+ description: zod.ZodOptional<zod.ZodString>;
506
+ name: zod.ZodString;
507
+ schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
508
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
509
+ }, "strip", zod.ZodTypeAny, {
510
+ name: string;
511
+ description?: string | undefined;
512
+ schema?: Record<string, any> | undefined;
513
+ strict?: boolean | null | undefined;
514
+ }, {
515
+ name: string;
516
+ description?: string | undefined;
517
+ schema?: Record<string, any> | undefined;
518
+ strict?: boolean | null | undefined;
519
+ }>;
520
+ }, "strip", zod.ZodTypeAny, {
521
+ json_schema: {
522
+ name: string;
523
+ description?: string | undefined;
524
+ schema?: Record<string, any> | undefined;
525
+ strict?: boolean | null | undefined;
526
+ };
527
+ type: "json_schema";
528
+ }, {
529
+ json_schema: {
530
+ name: string;
531
+ description?: string | undefined;
532
+ schema?: Record<string, any> | undefined;
533
+ strict?: boolean | null | undefined;
534
+ };
535
+ type: "json_schema";
536
+ }>]>>;
537
+ tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
538
+ type: zod.ZodEnum<["function"]>;
539
+ function: zod.ZodObject<{
540
+ description: zod.ZodOptional<zod.ZodString>;
541
+ name: zod.ZodString;
542
+ parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
543
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
544
+ }, "strip", zod.ZodTypeAny, {
545
+ name: string;
546
+ description?: string | undefined;
547
+ strict?: boolean | null | undefined;
548
+ parameters?: Record<string, any> | undefined;
549
+ }, {
550
+ name: string;
551
+ description?: string | undefined;
552
+ strict?: boolean | null | undefined;
553
+ parameters?: Record<string, any> | undefined;
554
+ }>;
555
+ }, "strip", zod.ZodTypeAny, {
556
+ function: {
557
+ name: string;
558
+ description?: string | undefined;
559
+ strict?: boolean | null | undefined;
560
+ parameters?: Record<string, any> | undefined;
561
+ };
562
+ type: "function";
563
+ }, {
564
+ function: {
565
+ name: string;
566
+ description?: string | undefined;
567
+ strict?: boolean | null | undefined;
568
+ parameters?: Record<string, any> | undefined;
569
+ };
570
+ type: "function";
571
+ }>, "many">>;
572
+ }, "strip", zod.ZodTypeAny, {
573
+ template: ({
574
+ role: string;
575
+ content: string;
576
+ } | {
577
+ role: string;
578
+ content: ({
579
+ image_url: {
580
+ url: string;
581
+ detail: string;
582
+ };
583
+ type: "image_url";
584
+ } | {
585
+ text: string;
586
+ type: "text";
587
+ })[];
588
+ })[];
589
+ defaults?: {} | undefined;
590
+ additionalFields?: {} | undefined;
591
+ response_format?: {
592
+ type: "text";
593
+ } | {
594
+ type: "json_object";
595
+ } | {
596
+ json_schema: {
597
+ name: string;
598
+ description?: string | undefined;
599
+ schema?: Record<string, any> | undefined;
600
+ strict?: boolean | null | undefined;
601
+ };
602
+ type: "json_schema";
603
+ } | undefined;
604
+ tools?: {
605
+ function: {
606
+ name: string;
607
+ description?: string | undefined;
608
+ strict?: boolean | null | undefined;
609
+ parameters?: Record<string, any> | undefined;
610
+ };
611
+ type: "function";
612
+ }[] | undefined;
613
+ }, {
614
+ template: ({
615
+ role: string;
616
+ content: string;
617
+ } | {
618
+ role: string;
619
+ content: ({
620
+ image_url: {
621
+ url: string;
622
+ detail?: string | undefined;
623
+ };
624
+ type: "image_url";
625
+ } | {
626
+ text: string;
627
+ type: "text";
628
+ })[];
629
+ })[];
630
+ defaults?: {} | undefined;
631
+ additionalFields?: {} | undefined;
632
+ response_format?: {
633
+ type: "text";
634
+ } | {
635
+ type: "json_object";
636
+ } | {
637
+ json_schema: {
638
+ name: string;
639
+ description?: string | undefined;
640
+ schema?: Record<string, any> | undefined;
641
+ strict?: boolean | null | undefined;
642
+ };
643
+ type: "json_schema";
644
+ } | undefined;
645
+ tools?: {
646
+ function: {
647
+ name: string;
648
+ description?: string | undefined;
649
+ strict?: boolean | null | undefined;
650
+ parameters?: Record<string, any> | undefined;
651
+ };
652
+ type: "function";
653
+ }[] | undefined;
654
+ }>>;
655
+ }, "strip", zod.ZodTypeAny, {
656
+ scenario?: string | undefined;
657
+ version?: string | undefined;
658
+ name?: string | undefined;
659
+ spec?: {
660
+ template: ({
661
+ role: string;
662
+ content: string;
663
+ } | {
664
+ role: string;
665
+ content: ({
666
+ image_url: {
667
+ url: string;
668
+ detail: string;
669
+ };
670
+ type: "image_url";
671
+ } | {
672
+ text: string;
673
+ type: "text";
674
+ })[];
675
+ })[];
676
+ defaults?: {} | undefined;
677
+ additionalFields?: {} | undefined;
678
+ response_format?: {
679
+ type: "text";
680
+ } | {
681
+ type: "json_object";
682
+ } | {
683
+ json_schema: {
684
+ name: string;
685
+ description?: string | undefined;
686
+ schema?: Record<string, any> | undefined;
687
+ strict?: boolean | null | undefined;
688
+ };
689
+ type: "json_schema";
690
+ } | undefined;
691
+ tools?: {
692
+ function: {
693
+ name: string;
694
+ description?: string | undefined;
695
+ strict?: boolean | null | undefined;
696
+ parameters?: Record<string, any> | undefined;
697
+ };
698
+ type: "function";
699
+ }[] | undefined;
700
+ } | undefined;
701
+ id?: string | undefined;
702
+ creationTimestamp?: string | undefined;
703
+ managedBy?: string | undefined;
704
+ isVersionHead?: boolean | undefined;
705
+ }, {
706
+ scenario?: string | undefined;
707
+ version?: string | undefined;
708
+ name?: string | undefined;
709
+ spec?: {
710
+ template: ({
711
+ role: string;
712
+ content: string;
713
+ } | {
714
+ role: string;
715
+ content: ({
716
+ image_url: {
717
+ url: string;
718
+ detail?: string | undefined;
719
+ };
720
+ type: "image_url";
721
+ } | {
722
+ text: string;
723
+ type: "text";
724
+ })[];
725
+ })[];
726
+ defaults?: {} | undefined;
727
+ additionalFields?: {} | undefined;
728
+ response_format?: {
729
+ type: "text";
730
+ } | {
731
+ type: "json_object";
732
+ } | {
733
+ json_schema: {
734
+ name: string;
735
+ description?: string | undefined;
736
+ schema?: Record<string, any> | undefined;
737
+ strict?: boolean | null | undefined;
738
+ };
739
+ type: "json_schema";
740
+ } | undefined;
741
+ tools?: {
742
+ function: {
743
+ name: string;
744
+ description?: string | undefined;
745
+ strict?: boolean | null | undefined;
746
+ parameters?: Record<string, any> | undefined;
747
+ };
748
+ type: "function";
749
+ }[] | undefined;
750
+ } | undefined;
751
+ id?: string | undefined;
752
+ creationTimestamp?: string | undefined;
753
+ managedBy?: string | undefined;
754
+ isVersionHead?: boolean | undefined;
755
+ }>, "many">;
756
+ }, "strip", zod.ZodTypeAny, {
757
+ count: number;
758
+ resources: {
759
+ scenario?: string | undefined;
760
+ version?: string | undefined;
761
+ name?: string | undefined;
762
+ spec?: {
763
+ template: ({
764
+ role: string;
765
+ content: string;
766
+ } | {
767
+ role: string;
768
+ content: ({
769
+ image_url: {
770
+ url: string;
771
+ detail: string;
772
+ };
773
+ type: "image_url";
774
+ } | {
775
+ text: string;
776
+ type: "text";
777
+ })[];
778
+ })[];
779
+ defaults?: {} | undefined;
780
+ additionalFields?: {} | undefined;
781
+ response_format?: {
782
+ type: "text";
783
+ } | {
784
+ type: "json_object";
785
+ } | {
786
+ json_schema: {
787
+ name: string;
788
+ description?: string | undefined;
789
+ schema?: Record<string, any> | undefined;
790
+ strict?: boolean | null | undefined;
791
+ };
792
+ type: "json_schema";
793
+ } | undefined;
794
+ tools?: {
795
+ function: {
796
+ name: string;
797
+ description?: string | undefined;
798
+ strict?: boolean | null | undefined;
799
+ parameters?: Record<string, any> | undefined;
800
+ };
801
+ type: "function";
802
+ }[] | undefined;
803
+ } | undefined;
804
+ id?: string | undefined;
805
+ creationTimestamp?: string | undefined;
806
+ managedBy?: string | undefined;
807
+ isVersionHead?: boolean | undefined;
808
+ }[];
809
+ }, {
810
+ count: number;
811
+ resources: {
812
+ scenario?: string | undefined;
813
+ version?: string | undefined;
814
+ name?: string | undefined;
815
+ spec?: {
816
+ template: ({
817
+ role: string;
818
+ content: string;
819
+ } | {
820
+ role: string;
821
+ content: ({
822
+ image_url: {
823
+ url: string;
824
+ detail?: string | undefined;
825
+ };
826
+ type: "image_url";
827
+ } | {
828
+ text: string;
829
+ type: "text";
830
+ })[];
831
+ })[];
832
+ defaults?: {} | undefined;
833
+ additionalFields?: {} | undefined;
834
+ response_format?: {
835
+ type: "text";
836
+ } | {
837
+ type: "json_object";
838
+ } | {
839
+ json_schema: {
840
+ name: string;
841
+ description?: string | undefined;
842
+ schema?: Record<string, any> | undefined;
843
+ strict?: boolean | null | undefined;
844
+ };
845
+ type: "json_schema";
846
+ } | undefined;
847
+ tools?: {
848
+ function: {
849
+ name: string;
850
+ description?: string | undefined;
851
+ strict?: boolean | null | undefined;
852
+ parameters?: Record<string, any> | undefined;
853
+ };
854
+ type: "function";
855
+ }[] | undefined;
856
+ } | undefined;
857
+ id?: string | undefined;
858
+ creationTimestamp?: string | undefined;
859
+ managedBy?: string | undefined;
860
+ isVersionHead?: boolean | undefined;
861
+ }[];
862
+ }>;
863
+ /**
864
+ * List prompt template history.
865
+ */
866
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryParams: zod.ZodObject<{
867
+ scenario: zod.ZodString;
868
+ version: zod.ZodString;
869
+ name: zod.ZodString;
870
+ }, "strip", zod.ZodTypeAny, {
871
+ scenario: string;
872
+ version: string;
873
+ name: string;
874
+ }, {
875
+ scenario: string;
876
+ version: string;
877
+ name: string;
878
+ }>;
879
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
880
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecResponseFormatJsonSchemaNameMax = 64;
881
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecResponseFormatJsonSchemaNameRegExp: RegExp;
882
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecResponseFormatJsonSchemaStrictDefault = false;
883
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecToolsItemFunctionNameMax = 64;
884
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecToolsItemFunctionNameRegExp: RegExp;
885
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecToolsItemFunctionStrictDefault = false;
886
+ export declare const registryControllerPromptControllerListPromptTemplateHistoryResponse: zod.ZodObject<{
887
+ count: zod.ZodNumber;
888
+ resources: zod.ZodArray<zod.ZodObject<{
889
+ id: zod.ZodOptional<zod.ZodString>;
890
+ name: zod.ZodOptional<zod.ZodString>;
891
+ version: zod.ZodOptional<zod.ZodString>;
892
+ scenario: zod.ZodOptional<zod.ZodString>;
893
+ creationTimestamp: zod.ZodOptional<zod.ZodString>;
894
+ managedBy: zod.ZodOptional<zod.ZodString>;
895
+ isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
896
+ spec: zod.ZodOptional<zod.ZodObject<{
897
+ template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
898
+ role: zod.ZodString;
899
+ content: zod.ZodString;
900
+ }, "strip", zod.ZodTypeAny, {
901
+ role: string;
902
+ content: string;
903
+ }, {
904
+ role: string;
905
+ content: string;
906
+ }>, zod.ZodObject<{
907
+ role: zod.ZodString;
908
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
909
+ type: zod.ZodEnum<["image_url"]>;
910
+ image_url: zod.ZodObject<{
911
+ url: zod.ZodString;
912
+ detail: zod.ZodDefault<zod.ZodString>;
913
+ }, "strip", zod.ZodTypeAny, {
914
+ url: string;
915
+ detail: string;
916
+ }, {
917
+ url: string;
918
+ detail?: string | undefined;
919
+ }>;
920
+ }, "strip", zod.ZodTypeAny, {
921
+ image_url: {
922
+ url: string;
923
+ detail: string;
924
+ };
925
+ type: "image_url";
926
+ }, {
927
+ image_url: {
928
+ url: string;
929
+ detail?: string | undefined;
930
+ };
931
+ type: "image_url";
932
+ }>, zod.ZodObject<{
933
+ type: zod.ZodEnum<["text"]>;
934
+ text: zod.ZodString;
935
+ }, "strip", zod.ZodTypeAny, {
936
+ text: string;
937
+ type: "text";
938
+ }, {
939
+ text: string;
940
+ type: "text";
941
+ }>]>, "many">;
942
+ }, "strip", zod.ZodTypeAny, {
943
+ role: string;
944
+ content: ({
945
+ image_url: {
946
+ url: string;
947
+ detail: string;
948
+ };
949
+ type: "image_url";
950
+ } | {
951
+ text: string;
952
+ type: "text";
953
+ })[];
954
+ }, {
955
+ role: string;
956
+ content: ({
957
+ image_url: {
958
+ url: string;
959
+ detail?: string | undefined;
960
+ };
961
+ type: "image_url";
962
+ } | {
963
+ text: string;
964
+ type: "text";
965
+ })[];
966
+ }>]>, "many">;
967
+ defaults: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
968
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
969
+ response_format: zod.ZodOptional<zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
970
+ type: zod.ZodEnum<["text"]>;
971
+ }, "strip", zod.ZodTypeAny, {
972
+ type: "text";
973
+ }, {
974
+ type: "text";
975
+ }>, zod.ZodObject<{
976
+ type: zod.ZodEnum<["json_object"]>;
977
+ }, "strip", zod.ZodTypeAny, {
978
+ type: "json_object";
979
+ }, {
980
+ type: "json_object";
981
+ }>]>, zod.ZodObject<{
982
+ type: zod.ZodEnum<["json_schema"]>;
983
+ json_schema: zod.ZodObject<{
984
+ description: zod.ZodOptional<zod.ZodString>;
985
+ name: zod.ZodString;
986
+ schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
987
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
988
+ }, "strip", zod.ZodTypeAny, {
989
+ name: string;
990
+ description?: string | undefined;
991
+ schema?: Record<string, any> | undefined;
992
+ strict?: boolean | null | undefined;
993
+ }, {
994
+ name: string;
995
+ description?: string | undefined;
996
+ schema?: Record<string, any> | undefined;
997
+ strict?: boolean | null | undefined;
998
+ }>;
999
+ }, "strip", zod.ZodTypeAny, {
1000
+ json_schema: {
1001
+ name: string;
1002
+ description?: string | undefined;
1003
+ schema?: Record<string, any> | undefined;
1004
+ strict?: boolean | null | undefined;
1005
+ };
1006
+ type: "json_schema";
1007
+ }, {
1008
+ json_schema: {
1009
+ name: string;
1010
+ description?: string | undefined;
1011
+ schema?: Record<string, any> | undefined;
1012
+ strict?: boolean | null | undefined;
1013
+ };
1014
+ type: "json_schema";
1015
+ }>]>>;
1016
+ tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1017
+ type: zod.ZodEnum<["function"]>;
1018
+ function: zod.ZodObject<{
1019
+ description: zod.ZodOptional<zod.ZodString>;
1020
+ name: zod.ZodString;
1021
+ parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
1022
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1023
+ }, "strip", zod.ZodTypeAny, {
1024
+ name: string;
1025
+ description?: string | undefined;
1026
+ strict?: boolean | null | undefined;
1027
+ parameters?: Record<string, any> | undefined;
1028
+ }, {
1029
+ name: string;
1030
+ description?: string | undefined;
1031
+ strict?: boolean | null | undefined;
1032
+ parameters?: Record<string, any> | undefined;
1033
+ }>;
1034
+ }, "strip", zod.ZodTypeAny, {
1035
+ function: {
1036
+ name: string;
1037
+ description?: string | undefined;
1038
+ strict?: boolean | null | undefined;
1039
+ parameters?: Record<string, any> | undefined;
1040
+ };
1041
+ type: "function";
1042
+ }, {
1043
+ function: {
1044
+ name: string;
1045
+ description?: string | undefined;
1046
+ strict?: boolean | null | undefined;
1047
+ parameters?: Record<string, any> | undefined;
1048
+ };
1049
+ type: "function";
1050
+ }>, "many">>;
1051
+ }, "strip", zod.ZodTypeAny, {
1052
+ template: ({
1053
+ role: string;
1054
+ content: string;
1055
+ } | {
1056
+ role: string;
1057
+ content: ({
1058
+ image_url: {
1059
+ url: string;
1060
+ detail: string;
1061
+ };
1062
+ type: "image_url";
1063
+ } | {
1064
+ text: string;
1065
+ type: "text";
1066
+ })[];
1067
+ })[];
1068
+ defaults?: {} | undefined;
1069
+ additionalFields?: {} | undefined;
1070
+ response_format?: {
1071
+ type: "text";
1072
+ } | {
1073
+ type: "json_object";
1074
+ } | {
1075
+ json_schema: {
1076
+ name: string;
1077
+ description?: string | undefined;
1078
+ schema?: Record<string, any> | undefined;
1079
+ strict?: boolean | null | undefined;
1080
+ };
1081
+ type: "json_schema";
1082
+ } | undefined;
1083
+ tools?: {
1084
+ function: {
1085
+ name: string;
1086
+ description?: string | undefined;
1087
+ strict?: boolean | null | undefined;
1088
+ parameters?: Record<string, any> | undefined;
1089
+ };
1090
+ type: "function";
1091
+ }[] | undefined;
1092
+ }, {
1093
+ template: ({
1094
+ role: string;
1095
+ content: string;
1096
+ } | {
1097
+ role: string;
1098
+ content: ({
1099
+ image_url: {
1100
+ url: string;
1101
+ detail?: string | undefined;
1102
+ };
1103
+ type: "image_url";
1104
+ } | {
1105
+ text: string;
1106
+ type: "text";
1107
+ })[];
1108
+ })[];
1109
+ defaults?: {} | undefined;
1110
+ additionalFields?: {} | undefined;
1111
+ response_format?: {
1112
+ type: "text";
1113
+ } | {
1114
+ type: "json_object";
1115
+ } | {
1116
+ json_schema: {
1117
+ name: string;
1118
+ description?: string | undefined;
1119
+ schema?: Record<string, any> | undefined;
1120
+ strict?: boolean | null | undefined;
1121
+ };
1122
+ type: "json_schema";
1123
+ } | undefined;
1124
+ tools?: {
1125
+ function: {
1126
+ name: string;
1127
+ description?: string | undefined;
1128
+ strict?: boolean | null | undefined;
1129
+ parameters?: Record<string, any> | undefined;
1130
+ };
1131
+ type: "function";
1132
+ }[] | undefined;
1133
+ }>>;
1134
+ }, "strip", zod.ZodTypeAny, {
1135
+ scenario?: string | undefined;
1136
+ version?: string | undefined;
1137
+ name?: string | undefined;
1138
+ spec?: {
1139
+ template: ({
1140
+ role: string;
1141
+ content: string;
1142
+ } | {
1143
+ role: string;
1144
+ content: ({
1145
+ image_url: {
1146
+ url: string;
1147
+ detail: string;
1148
+ };
1149
+ type: "image_url";
1150
+ } | {
1151
+ text: string;
1152
+ type: "text";
1153
+ })[];
1154
+ })[];
1155
+ defaults?: {} | undefined;
1156
+ additionalFields?: {} | undefined;
1157
+ response_format?: {
1158
+ type: "text";
1159
+ } | {
1160
+ type: "json_object";
1161
+ } | {
1162
+ json_schema: {
1163
+ name: string;
1164
+ description?: string | undefined;
1165
+ schema?: Record<string, any> | undefined;
1166
+ strict?: boolean | null | undefined;
1167
+ };
1168
+ type: "json_schema";
1169
+ } | undefined;
1170
+ tools?: {
1171
+ function: {
1172
+ name: string;
1173
+ description?: string | undefined;
1174
+ strict?: boolean | null | undefined;
1175
+ parameters?: Record<string, any> | undefined;
1176
+ };
1177
+ type: "function";
1178
+ }[] | undefined;
1179
+ } | undefined;
1180
+ id?: string | undefined;
1181
+ creationTimestamp?: string | undefined;
1182
+ managedBy?: string | undefined;
1183
+ isVersionHead?: boolean | undefined;
1184
+ }, {
1185
+ scenario?: string | undefined;
1186
+ version?: string | undefined;
1187
+ name?: string | undefined;
1188
+ spec?: {
1189
+ template: ({
1190
+ role: string;
1191
+ content: string;
1192
+ } | {
1193
+ role: string;
1194
+ content: ({
1195
+ image_url: {
1196
+ url: string;
1197
+ detail?: string | undefined;
1198
+ };
1199
+ type: "image_url";
1200
+ } | {
1201
+ text: string;
1202
+ type: "text";
1203
+ })[];
1204
+ })[];
1205
+ defaults?: {} | undefined;
1206
+ additionalFields?: {} | undefined;
1207
+ response_format?: {
1208
+ type: "text";
1209
+ } | {
1210
+ type: "json_object";
1211
+ } | {
1212
+ json_schema: {
1213
+ name: string;
1214
+ description?: string | undefined;
1215
+ schema?: Record<string, any> | undefined;
1216
+ strict?: boolean | null | undefined;
1217
+ };
1218
+ type: "json_schema";
1219
+ } | undefined;
1220
+ tools?: {
1221
+ function: {
1222
+ name: string;
1223
+ description?: string | undefined;
1224
+ strict?: boolean | null | undefined;
1225
+ parameters?: Record<string, any> | undefined;
1226
+ };
1227
+ type: "function";
1228
+ }[] | undefined;
1229
+ } | undefined;
1230
+ id?: string | undefined;
1231
+ creationTimestamp?: string | undefined;
1232
+ managedBy?: string | undefined;
1233
+ isVersionHead?: boolean | undefined;
1234
+ }>, "many">;
1235
+ }, "strip", zod.ZodTypeAny, {
1236
+ count: number;
1237
+ resources: {
1238
+ scenario?: string | undefined;
1239
+ version?: string | undefined;
1240
+ name?: string | undefined;
1241
+ spec?: {
1242
+ template: ({
1243
+ role: string;
1244
+ content: string;
1245
+ } | {
1246
+ role: string;
1247
+ content: ({
1248
+ image_url: {
1249
+ url: string;
1250
+ detail: string;
1251
+ };
1252
+ type: "image_url";
1253
+ } | {
1254
+ text: string;
1255
+ type: "text";
1256
+ })[];
1257
+ })[];
1258
+ defaults?: {} | undefined;
1259
+ additionalFields?: {} | undefined;
1260
+ response_format?: {
1261
+ type: "text";
1262
+ } | {
1263
+ type: "json_object";
1264
+ } | {
1265
+ json_schema: {
1266
+ name: string;
1267
+ description?: string | undefined;
1268
+ schema?: Record<string, any> | undefined;
1269
+ strict?: boolean | null | undefined;
1270
+ };
1271
+ type: "json_schema";
1272
+ } | undefined;
1273
+ tools?: {
1274
+ function: {
1275
+ name: string;
1276
+ description?: string | undefined;
1277
+ strict?: boolean | null | undefined;
1278
+ parameters?: Record<string, any> | undefined;
1279
+ };
1280
+ type: "function";
1281
+ }[] | undefined;
1282
+ } | undefined;
1283
+ id?: string | undefined;
1284
+ creationTimestamp?: string | undefined;
1285
+ managedBy?: string | undefined;
1286
+ isVersionHead?: boolean | undefined;
1287
+ }[];
1288
+ }, {
1289
+ count: number;
1290
+ resources: {
1291
+ scenario?: string | undefined;
1292
+ version?: string | undefined;
1293
+ name?: string | undefined;
1294
+ spec?: {
1295
+ template: ({
1296
+ role: string;
1297
+ content: string;
1298
+ } | {
1299
+ role: string;
1300
+ content: ({
1301
+ image_url: {
1302
+ url: string;
1303
+ detail?: string | undefined;
1304
+ };
1305
+ type: "image_url";
1306
+ } | {
1307
+ text: string;
1308
+ type: "text";
1309
+ })[];
1310
+ })[];
1311
+ defaults?: {} | undefined;
1312
+ additionalFields?: {} | undefined;
1313
+ response_format?: {
1314
+ type: "text";
1315
+ } | {
1316
+ type: "json_object";
1317
+ } | {
1318
+ json_schema: {
1319
+ name: string;
1320
+ description?: string | undefined;
1321
+ schema?: Record<string, any> | undefined;
1322
+ strict?: boolean | null | undefined;
1323
+ };
1324
+ type: "json_schema";
1325
+ } | undefined;
1326
+ tools?: {
1327
+ function: {
1328
+ name: string;
1329
+ description?: string | undefined;
1330
+ strict?: boolean | null | undefined;
1331
+ parameters?: Record<string, any> | undefined;
1332
+ };
1333
+ type: "function";
1334
+ }[] | undefined;
1335
+ } | undefined;
1336
+ id?: string | undefined;
1337
+ creationTimestamp?: string | undefined;
1338
+ managedBy?: string | undefined;
1339
+ isVersionHead?: boolean | undefined;
1340
+ }[];
1341
+ }>;
1342
+ /**
1343
+ * Get prompt template by UUID.
1344
+ */
1345
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidParams: zod.ZodObject<{
1346
+ promptTemplateId: zod.ZodString;
1347
+ }, "strip", zod.ZodTypeAny, {
1348
+ promptTemplateId: string;
1349
+ }, {
1350
+ promptTemplateId: string;
1351
+ }>;
1352
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
1353
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecResponseFormatJsonSchemaNameMax = 64;
1354
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecResponseFormatJsonSchemaNameRegExp: RegExp;
1355
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecResponseFormatJsonSchemaStrictDefault = false;
1356
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecToolsItemFunctionNameMax = 64;
1357
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecToolsItemFunctionNameRegExp: RegExp;
1358
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecToolsItemFunctionStrictDefault = false;
1359
+ export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponse: zod.ZodObject<{
1360
+ id: zod.ZodOptional<zod.ZodString>;
1361
+ name: zod.ZodOptional<zod.ZodString>;
1362
+ version: zod.ZodOptional<zod.ZodString>;
1363
+ scenario: zod.ZodOptional<zod.ZodString>;
1364
+ creationTimestamp: zod.ZodOptional<zod.ZodString>;
1365
+ managedBy: zod.ZodOptional<zod.ZodString>;
1366
+ isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
1367
+ spec: zod.ZodOptional<zod.ZodObject<{
1368
+ template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1369
+ role: zod.ZodString;
1370
+ content: zod.ZodString;
1371
+ }, "strip", zod.ZodTypeAny, {
1372
+ role: string;
1373
+ content: string;
1374
+ }, {
1375
+ role: string;
1376
+ content: string;
1377
+ }>, zod.ZodObject<{
1378
+ role: zod.ZodString;
1379
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1380
+ type: zod.ZodEnum<["image_url"]>;
1381
+ image_url: zod.ZodObject<{
1382
+ url: zod.ZodString;
1383
+ detail: zod.ZodDefault<zod.ZodString>;
1384
+ }, "strip", zod.ZodTypeAny, {
1385
+ url: string;
1386
+ detail: string;
1387
+ }, {
1388
+ url: string;
1389
+ detail?: string | undefined;
1390
+ }>;
1391
+ }, "strip", zod.ZodTypeAny, {
1392
+ image_url: {
1393
+ url: string;
1394
+ detail: string;
1395
+ };
1396
+ type: "image_url";
1397
+ }, {
1398
+ image_url: {
1399
+ url: string;
1400
+ detail?: string | undefined;
1401
+ };
1402
+ type: "image_url";
1403
+ }>, zod.ZodObject<{
1404
+ type: zod.ZodEnum<["text"]>;
1405
+ text: zod.ZodString;
1406
+ }, "strip", zod.ZodTypeAny, {
1407
+ text: string;
1408
+ type: "text";
1409
+ }, {
1410
+ text: string;
1411
+ type: "text";
1412
+ }>]>, "many">;
1413
+ }, "strip", zod.ZodTypeAny, {
1414
+ role: string;
1415
+ content: ({
1416
+ image_url: {
1417
+ url: string;
1418
+ detail: string;
1419
+ };
1420
+ type: "image_url";
1421
+ } | {
1422
+ text: string;
1423
+ type: "text";
1424
+ })[];
1425
+ }, {
1426
+ role: string;
1427
+ content: ({
1428
+ image_url: {
1429
+ url: string;
1430
+ detail?: string | undefined;
1431
+ };
1432
+ type: "image_url";
1433
+ } | {
1434
+ text: string;
1435
+ type: "text";
1436
+ })[];
1437
+ }>]>, "many">;
1438
+ defaults: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
1439
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
1440
+ response_format: zod.ZodOptional<zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
1441
+ type: zod.ZodEnum<["text"]>;
1442
+ }, "strip", zod.ZodTypeAny, {
1443
+ type: "text";
1444
+ }, {
1445
+ type: "text";
1446
+ }>, zod.ZodObject<{
1447
+ type: zod.ZodEnum<["json_object"]>;
1448
+ }, "strip", zod.ZodTypeAny, {
1449
+ type: "json_object";
1450
+ }, {
1451
+ type: "json_object";
1452
+ }>]>, zod.ZodObject<{
1453
+ type: zod.ZodEnum<["json_schema"]>;
1454
+ json_schema: zod.ZodObject<{
1455
+ description: zod.ZodOptional<zod.ZodString>;
1456
+ name: zod.ZodString;
1457
+ schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
1458
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1459
+ }, "strip", zod.ZodTypeAny, {
1460
+ name: string;
1461
+ description?: string | undefined;
1462
+ schema?: Record<string, any> | undefined;
1463
+ strict?: boolean | null | undefined;
1464
+ }, {
1465
+ name: string;
1466
+ description?: string | undefined;
1467
+ schema?: Record<string, any> | undefined;
1468
+ strict?: boolean | null | undefined;
1469
+ }>;
1470
+ }, "strip", zod.ZodTypeAny, {
1471
+ json_schema: {
1472
+ name: string;
1473
+ description?: string | undefined;
1474
+ schema?: Record<string, any> | undefined;
1475
+ strict?: boolean | null | undefined;
1476
+ };
1477
+ type: "json_schema";
1478
+ }, {
1479
+ json_schema: {
1480
+ name: string;
1481
+ description?: string | undefined;
1482
+ schema?: Record<string, any> | undefined;
1483
+ strict?: boolean | null | undefined;
1484
+ };
1485
+ type: "json_schema";
1486
+ }>]>>;
1487
+ tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1488
+ type: zod.ZodEnum<["function"]>;
1489
+ function: zod.ZodObject<{
1490
+ description: zod.ZodOptional<zod.ZodString>;
1491
+ name: zod.ZodString;
1492
+ parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
1493
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1494
+ }, "strip", zod.ZodTypeAny, {
1495
+ name: string;
1496
+ description?: string | undefined;
1497
+ strict?: boolean | null | undefined;
1498
+ parameters?: Record<string, any> | undefined;
1499
+ }, {
1500
+ name: string;
1501
+ description?: string | undefined;
1502
+ strict?: boolean | null | undefined;
1503
+ parameters?: Record<string, any> | undefined;
1504
+ }>;
1505
+ }, "strip", zod.ZodTypeAny, {
1506
+ function: {
1507
+ name: string;
1508
+ description?: string | undefined;
1509
+ strict?: boolean | null | undefined;
1510
+ parameters?: Record<string, any> | undefined;
1511
+ };
1512
+ type: "function";
1513
+ }, {
1514
+ function: {
1515
+ name: string;
1516
+ description?: string | undefined;
1517
+ strict?: boolean | null | undefined;
1518
+ parameters?: Record<string, any> | undefined;
1519
+ };
1520
+ type: "function";
1521
+ }>, "many">>;
1522
+ }, "strip", zod.ZodTypeAny, {
1523
+ template: ({
1524
+ role: string;
1525
+ content: string;
1526
+ } | {
1527
+ role: string;
1528
+ content: ({
1529
+ image_url: {
1530
+ url: string;
1531
+ detail: string;
1532
+ };
1533
+ type: "image_url";
1534
+ } | {
1535
+ text: string;
1536
+ type: "text";
1537
+ })[];
1538
+ })[];
1539
+ defaults?: {} | undefined;
1540
+ additionalFields?: {} | undefined;
1541
+ response_format?: {
1542
+ type: "text";
1543
+ } | {
1544
+ type: "json_object";
1545
+ } | {
1546
+ json_schema: {
1547
+ name: string;
1548
+ description?: string | undefined;
1549
+ schema?: Record<string, any> | undefined;
1550
+ strict?: boolean | null | undefined;
1551
+ };
1552
+ type: "json_schema";
1553
+ } | undefined;
1554
+ tools?: {
1555
+ function: {
1556
+ name: string;
1557
+ description?: string | undefined;
1558
+ strict?: boolean | null | undefined;
1559
+ parameters?: Record<string, any> | undefined;
1560
+ };
1561
+ type: "function";
1562
+ }[] | undefined;
1563
+ }, {
1564
+ template: ({
1565
+ role: string;
1566
+ content: string;
1567
+ } | {
1568
+ role: string;
1569
+ content: ({
1570
+ image_url: {
1571
+ url: string;
1572
+ detail?: string | undefined;
1573
+ };
1574
+ type: "image_url";
1575
+ } | {
1576
+ text: string;
1577
+ type: "text";
1578
+ })[];
1579
+ })[];
1580
+ defaults?: {} | undefined;
1581
+ additionalFields?: {} | undefined;
1582
+ response_format?: {
1583
+ type: "text";
1584
+ } | {
1585
+ type: "json_object";
1586
+ } | {
1587
+ json_schema: {
1588
+ name: string;
1589
+ description?: string | undefined;
1590
+ schema?: Record<string, any> | undefined;
1591
+ strict?: boolean | null | undefined;
1592
+ };
1593
+ type: "json_schema";
1594
+ } | undefined;
1595
+ tools?: {
1596
+ function: {
1597
+ name: string;
1598
+ description?: string | undefined;
1599
+ strict?: boolean | null | undefined;
1600
+ parameters?: Record<string, any> | undefined;
1601
+ };
1602
+ type: "function";
1603
+ }[] | undefined;
1604
+ }>>;
1605
+ }, "strip", zod.ZodTypeAny, {
1606
+ scenario?: string | undefined;
1607
+ version?: string | undefined;
1608
+ name?: string | undefined;
1609
+ spec?: {
1610
+ template: ({
1611
+ role: string;
1612
+ content: string;
1613
+ } | {
1614
+ role: string;
1615
+ content: ({
1616
+ image_url: {
1617
+ url: string;
1618
+ detail: string;
1619
+ };
1620
+ type: "image_url";
1621
+ } | {
1622
+ text: string;
1623
+ type: "text";
1624
+ })[];
1625
+ })[];
1626
+ defaults?: {} | undefined;
1627
+ additionalFields?: {} | undefined;
1628
+ response_format?: {
1629
+ type: "text";
1630
+ } | {
1631
+ type: "json_object";
1632
+ } | {
1633
+ json_schema: {
1634
+ name: string;
1635
+ description?: string | undefined;
1636
+ schema?: Record<string, any> | undefined;
1637
+ strict?: boolean | null | undefined;
1638
+ };
1639
+ type: "json_schema";
1640
+ } | undefined;
1641
+ tools?: {
1642
+ function: {
1643
+ name: string;
1644
+ description?: string | undefined;
1645
+ strict?: boolean | null | undefined;
1646
+ parameters?: Record<string, any> | undefined;
1647
+ };
1648
+ type: "function";
1649
+ }[] | undefined;
1650
+ } | undefined;
1651
+ id?: string | undefined;
1652
+ creationTimestamp?: string | undefined;
1653
+ managedBy?: string | undefined;
1654
+ isVersionHead?: boolean | undefined;
1655
+ }, {
1656
+ scenario?: string | undefined;
1657
+ version?: string | undefined;
1658
+ name?: string | undefined;
1659
+ spec?: {
1660
+ template: ({
1661
+ role: string;
1662
+ content: string;
1663
+ } | {
1664
+ role: string;
1665
+ content: ({
1666
+ image_url: {
1667
+ url: string;
1668
+ detail?: string | undefined;
1669
+ };
1670
+ type: "image_url";
1671
+ } | {
1672
+ text: string;
1673
+ type: "text";
1674
+ })[];
1675
+ })[];
1676
+ defaults?: {} | undefined;
1677
+ additionalFields?: {} | undefined;
1678
+ response_format?: {
1679
+ type: "text";
1680
+ } | {
1681
+ type: "json_object";
1682
+ } | {
1683
+ json_schema: {
1684
+ name: string;
1685
+ description?: string | undefined;
1686
+ schema?: Record<string, any> | undefined;
1687
+ strict?: boolean | null | undefined;
1688
+ };
1689
+ type: "json_schema";
1690
+ } | undefined;
1691
+ tools?: {
1692
+ function: {
1693
+ name: string;
1694
+ description?: string | undefined;
1695
+ strict?: boolean | null | undefined;
1696
+ parameters?: Record<string, any> | undefined;
1697
+ };
1698
+ type: "function";
1699
+ }[] | undefined;
1700
+ } | undefined;
1701
+ id?: string | undefined;
1702
+ creationTimestamp?: string | undefined;
1703
+ managedBy?: string | undefined;
1704
+ isVersionHead?: boolean | undefined;
1705
+ }>;
1706
+ /**
1707
+ * Delete prompt template.
1708
+ */
1709
+ export declare const registryControllerPromptControllerDeletePromptTemplateParams: zod.ZodObject<{
1710
+ promptTemplateId: zod.ZodString;
1711
+ }, "strip", zod.ZodTypeAny, {
1712
+ promptTemplateId: string;
1713
+ }, {
1714
+ promptTemplateId: string;
1715
+ }>;
1716
+ export declare const registryControllerPromptControllerDeletePromptTemplateResponse: zod.ZodObject<{
1717
+ message: zod.ZodString;
1718
+ }, "strip", zod.ZodTypeAny, {
1719
+ message: string;
1720
+ }, {
1721
+ message: string;
1722
+ }>;
1723
+ /**
1724
+ * Import prompt template.
1725
+ */
1726
+ export declare const registryControllerPromptControllerImportPromptTemplateBody: zod.ZodObject<{
1727
+ file: zod.ZodOptional<zod.ZodType<File, zod.ZodTypeDef, File>>;
1728
+ }, "strip", zod.ZodTypeAny, {
1729
+ file?: File | undefined;
1730
+ }, {
1731
+ file?: File | undefined;
1732
+ }>;
1733
+ export declare const registryControllerPromptControllerImportPromptTemplateResponse: zod.ZodObject<{
1734
+ message: zod.ZodString;
1735
+ id: zod.ZodString;
1736
+ scenario: zod.ZodString;
1737
+ name: zod.ZodString;
1738
+ version: zod.ZodString;
1739
+ }, "strip", zod.ZodTypeAny, {
1740
+ scenario: string;
1741
+ version: string;
1742
+ name: string;
1743
+ message: string;
1744
+ id: string;
1745
+ }, {
1746
+ scenario: string;
1747
+ version: string;
1748
+ name: string;
1749
+ message: string;
1750
+ id: string;
1751
+ }>;
1752
+ /**
1753
+ * Export prompt template.
1754
+ */
1755
+ export declare const registryControllerPromptControllerExportPromptTemplateParams: zod.ZodObject<{
1756
+ promptTemplateId: zod.ZodString;
1757
+ }, "strip", zod.ZodTypeAny, {
1758
+ promptTemplateId: string;
1759
+ }, {
1760
+ promptTemplateId: string;
1761
+ }>;
1762
+ /**
1763
+ * Parse prompt template by ID.
1764
+ */
1765
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdParams: zod.ZodObject<{
1766
+ promptTemplateId: zod.ZodString;
1767
+ }, "strip", zod.ZodTypeAny, {
1768
+ promptTemplateId: string;
1769
+ }, {
1770
+ promptTemplateId: string;
1771
+ }>;
1772
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdQueryMetadataDefault = false;
1773
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdQueryParams: zod.ZodObject<{
1774
+ metadata: zod.ZodOptional<zod.ZodBoolean>;
1775
+ }, "strip", zod.ZodTypeAny, {
1776
+ metadata?: boolean | undefined;
1777
+ }, {
1778
+ metadata?: boolean | undefined;
1779
+ }>;
1780
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdBody: zod.ZodObject<{
1781
+ inputParams: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
1782
+ }, "strip", zod.ZodTypeAny, {
1783
+ inputParams?: {} | undefined;
1784
+ }, {
1785
+ inputParams?: {} | undefined;
1786
+ }>;
1787
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseParsedPromptItemContentItemImageUrlDetailDefault = "auto";
1788
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
1789
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecResponseFormatJsonSchemaNameMax = 64;
1790
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecResponseFormatJsonSchemaNameRegExp: RegExp;
1791
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecResponseFormatJsonSchemaStrictDefault = false;
1792
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecToolsItemFunctionNameMax = 64;
1793
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecToolsItemFunctionNameRegExp: RegExp;
1794
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecToolsItemFunctionStrictDefault = false;
1795
+ export declare const registryControllerPromptControllerParsePromptTemplateByIdResponse: zod.ZodObject<{
1796
+ parsedPrompt: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1797
+ role: zod.ZodString;
1798
+ content: zod.ZodString;
1799
+ }, "strip", zod.ZodTypeAny, {
1800
+ role: string;
1801
+ content: string;
1802
+ }, {
1803
+ role: string;
1804
+ content: string;
1805
+ }>, zod.ZodObject<{
1806
+ role: zod.ZodString;
1807
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1808
+ type: zod.ZodEnum<["image_url"]>;
1809
+ image_url: zod.ZodObject<{
1810
+ url: zod.ZodString;
1811
+ detail: zod.ZodDefault<zod.ZodString>;
1812
+ }, "strip", zod.ZodTypeAny, {
1813
+ url: string;
1814
+ detail: string;
1815
+ }, {
1816
+ url: string;
1817
+ detail?: string | undefined;
1818
+ }>;
1819
+ }, "strip", zod.ZodTypeAny, {
1820
+ image_url: {
1821
+ url: string;
1822
+ detail: string;
1823
+ };
1824
+ type: "image_url";
1825
+ }, {
1826
+ image_url: {
1827
+ url: string;
1828
+ detail?: string | undefined;
1829
+ };
1830
+ type: "image_url";
1831
+ }>, zod.ZodObject<{
1832
+ type: zod.ZodEnum<["text"]>;
1833
+ text: zod.ZodString;
1834
+ }, "strip", zod.ZodTypeAny, {
1835
+ text: string;
1836
+ type: "text";
1837
+ }, {
1838
+ text: string;
1839
+ type: "text";
1840
+ }>]>, "many">;
1841
+ }, "strip", zod.ZodTypeAny, {
1842
+ role: string;
1843
+ content: ({
1844
+ image_url: {
1845
+ url: string;
1846
+ detail: string;
1847
+ };
1848
+ type: "image_url";
1849
+ } | {
1850
+ text: string;
1851
+ type: "text";
1852
+ })[];
1853
+ }, {
1854
+ role: string;
1855
+ content: ({
1856
+ image_url: {
1857
+ url: string;
1858
+ detail?: string | undefined;
1859
+ };
1860
+ type: "image_url";
1861
+ } | {
1862
+ text: string;
1863
+ type: "text";
1864
+ })[];
1865
+ }>]>, "many">>;
1866
+ resource: zod.ZodOptional<zod.ZodObject<{
1867
+ id: zod.ZodOptional<zod.ZodString>;
1868
+ name: zod.ZodOptional<zod.ZodString>;
1869
+ version: zod.ZodOptional<zod.ZodString>;
1870
+ scenario: zod.ZodOptional<zod.ZodString>;
1871
+ creationTimestamp: zod.ZodOptional<zod.ZodString>;
1872
+ managedBy: zod.ZodOptional<zod.ZodString>;
1873
+ isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
1874
+ spec: zod.ZodOptional<zod.ZodObject<{
1875
+ template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1876
+ role: zod.ZodString;
1877
+ content: zod.ZodString;
1878
+ }, "strip", zod.ZodTypeAny, {
1879
+ role: string;
1880
+ content: string;
1881
+ }, {
1882
+ role: string;
1883
+ content: string;
1884
+ }>, zod.ZodObject<{
1885
+ role: zod.ZodString;
1886
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1887
+ type: zod.ZodEnum<["image_url"]>;
1888
+ image_url: zod.ZodObject<{
1889
+ url: zod.ZodString;
1890
+ detail: zod.ZodDefault<zod.ZodString>;
1891
+ }, "strip", zod.ZodTypeAny, {
1892
+ url: string;
1893
+ detail: string;
1894
+ }, {
1895
+ url: string;
1896
+ detail?: string | undefined;
1897
+ }>;
1898
+ }, "strip", zod.ZodTypeAny, {
1899
+ image_url: {
1900
+ url: string;
1901
+ detail: string;
1902
+ };
1903
+ type: "image_url";
1904
+ }, {
1905
+ image_url: {
1906
+ url: string;
1907
+ detail?: string | undefined;
1908
+ };
1909
+ type: "image_url";
1910
+ }>, zod.ZodObject<{
1911
+ type: zod.ZodEnum<["text"]>;
1912
+ text: zod.ZodString;
1913
+ }, "strip", zod.ZodTypeAny, {
1914
+ text: string;
1915
+ type: "text";
1916
+ }, {
1917
+ text: string;
1918
+ type: "text";
1919
+ }>]>, "many">;
1920
+ }, "strip", zod.ZodTypeAny, {
1921
+ role: string;
1922
+ content: ({
1923
+ image_url: {
1924
+ url: string;
1925
+ detail: string;
1926
+ };
1927
+ type: "image_url";
1928
+ } | {
1929
+ text: string;
1930
+ type: "text";
1931
+ })[];
1932
+ }, {
1933
+ role: string;
1934
+ content: ({
1935
+ image_url: {
1936
+ url: string;
1937
+ detail?: string | undefined;
1938
+ };
1939
+ type: "image_url";
1940
+ } | {
1941
+ text: string;
1942
+ type: "text";
1943
+ })[];
1944
+ }>]>, "many">;
1945
+ defaults: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
1946
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
1947
+ response_format: zod.ZodOptional<zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
1948
+ type: zod.ZodEnum<["text"]>;
1949
+ }, "strip", zod.ZodTypeAny, {
1950
+ type: "text";
1951
+ }, {
1952
+ type: "text";
1953
+ }>, zod.ZodObject<{
1954
+ type: zod.ZodEnum<["json_object"]>;
1955
+ }, "strip", zod.ZodTypeAny, {
1956
+ type: "json_object";
1957
+ }, {
1958
+ type: "json_object";
1959
+ }>]>, zod.ZodObject<{
1960
+ type: zod.ZodEnum<["json_schema"]>;
1961
+ json_schema: zod.ZodObject<{
1962
+ description: zod.ZodOptional<zod.ZodString>;
1963
+ name: zod.ZodString;
1964
+ schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
1965
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1966
+ }, "strip", zod.ZodTypeAny, {
1967
+ name: string;
1968
+ description?: string | undefined;
1969
+ schema?: Record<string, any> | undefined;
1970
+ strict?: boolean | null | undefined;
1971
+ }, {
1972
+ name: string;
1973
+ description?: string | undefined;
1974
+ schema?: Record<string, any> | undefined;
1975
+ strict?: boolean | null | undefined;
1976
+ }>;
1977
+ }, "strip", zod.ZodTypeAny, {
1978
+ json_schema: {
1979
+ name: string;
1980
+ description?: string | undefined;
1981
+ schema?: Record<string, any> | undefined;
1982
+ strict?: boolean | null | undefined;
1983
+ };
1984
+ type: "json_schema";
1985
+ }, {
1986
+ json_schema: {
1987
+ name: string;
1988
+ description?: string | undefined;
1989
+ schema?: Record<string, any> | undefined;
1990
+ strict?: boolean | null | undefined;
1991
+ };
1992
+ type: "json_schema";
1993
+ }>]>>;
1994
+ tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1995
+ type: zod.ZodEnum<["function"]>;
1996
+ function: zod.ZodObject<{
1997
+ description: zod.ZodOptional<zod.ZodString>;
1998
+ name: zod.ZodString;
1999
+ parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
2000
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
2001
+ }, "strip", zod.ZodTypeAny, {
2002
+ name: string;
2003
+ description?: string | undefined;
2004
+ strict?: boolean | null | undefined;
2005
+ parameters?: Record<string, any> | undefined;
2006
+ }, {
2007
+ name: string;
2008
+ description?: string | undefined;
2009
+ strict?: boolean | null | undefined;
2010
+ parameters?: Record<string, any> | undefined;
2011
+ }>;
2012
+ }, "strip", zod.ZodTypeAny, {
2013
+ function: {
2014
+ name: string;
2015
+ description?: string | undefined;
2016
+ strict?: boolean | null | undefined;
2017
+ parameters?: Record<string, any> | undefined;
2018
+ };
2019
+ type: "function";
2020
+ }, {
2021
+ function: {
2022
+ name: string;
2023
+ description?: string | undefined;
2024
+ strict?: boolean | null | undefined;
2025
+ parameters?: Record<string, any> | undefined;
2026
+ };
2027
+ type: "function";
2028
+ }>, "many">>;
2029
+ }, "strip", zod.ZodTypeAny, {
2030
+ template: ({
2031
+ role: string;
2032
+ content: string;
2033
+ } | {
2034
+ role: string;
2035
+ content: ({
2036
+ image_url: {
2037
+ url: string;
2038
+ detail: string;
2039
+ };
2040
+ type: "image_url";
2041
+ } | {
2042
+ text: string;
2043
+ type: "text";
2044
+ })[];
2045
+ })[];
2046
+ defaults?: {} | undefined;
2047
+ additionalFields?: {} | undefined;
2048
+ response_format?: {
2049
+ type: "text";
2050
+ } | {
2051
+ type: "json_object";
2052
+ } | {
2053
+ json_schema: {
2054
+ name: string;
2055
+ description?: string | undefined;
2056
+ schema?: Record<string, any> | undefined;
2057
+ strict?: boolean | null | undefined;
2058
+ };
2059
+ type: "json_schema";
2060
+ } | undefined;
2061
+ tools?: {
2062
+ function: {
2063
+ name: string;
2064
+ description?: string | undefined;
2065
+ strict?: boolean | null | undefined;
2066
+ parameters?: Record<string, any> | undefined;
2067
+ };
2068
+ type: "function";
2069
+ }[] | undefined;
2070
+ }, {
2071
+ template: ({
2072
+ role: string;
2073
+ content: string;
2074
+ } | {
2075
+ role: string;
2076
+ content: ({
2077
+ image_url: {
2078
+ url: string;
2079
+ detail?: string | undefined;
2080
+ };
2081
+ type: "image_url";
2082
+ } | {
2083
+ text: string;
2084
+ type: "text";
2085
+ })[];
2086
+ })[];
2087
+ defaults?: {} | undefined;
2088
+ additionalFields?: {} | undefined;
2089
+ response_format?: {
2090
+ type: "text";
2091
+ } | {
2092
+ type: "json_object";
2093
+ } | {
2094
+ json_schema: {
2095
+ name: string;
2096
+ description?: string | undefined;
2097
+ schema?: Record<string, any> | undefined;
2098
+ strict?: boolean | null | undefined;
2099
+ };
2100
+ type: "json_schema";
2101
+ } | undefined;
2102
+ tools?: {
2103
+ function: {
2104
+ name: string;
2105
+ description?: string | undefined;
2106
+ strict?: boolean | null | undefined;
2107
+ parameters?: Record<string, any> | undefined;
2108
+ };
2109
+ type: "function";
2110
+ }[] | undefined;
2111
+ }>>;
2112
+ }, "strip", zod.ZodTypeAny, {
2113
+ scenario?: string | undefined;
2114
+ version?: string | undefined;
2115
+ name?: string | undefined;
2116
+ spec?: {
2117
+ template: ({
2118
+ role: string;
2119
+ content: string;
2120
+ } | {
2121
+ role: string;
2122
+ content: ({
2123
+ image_url: {
2124
+ url: string;
2125
+ detail: string;
2126
+ };
2127
+ type: "image_url";
2128
+ } | {
2129
+ text: string;
2130
+ type: "text";
2131
+ })[];
2132
+ })[];
2133
+ defaults?: {} | undefined;
2134
+ additionalFields?: {} | undefined;
2135
+ response_format?: {
2136
+ type: "text";
2137
+ } | {
2138
+ type: "json_object";
2139
+ } | {
2140
+ json_schema: {
2141
+ name: string;
2142
+ description?: string | undefined;
2143
+ schema?: Record<string, any> | undefined;
2144
+ strict?: boolean | null | undefined;
2145
+ };
2146
+ type: "json_schema";
2147
+ } | undefined;
2148
+ tools?: {
2149
+ function: {
2150
+ name: string;
2151
+ description?: string | undefined;
2152
+ strict?: boolean | null | undefined;
2153
+ parameters?: Record<string, any> | undefined;
2154
+ };
2155
+ type: "function";
2156
+ }[] | undefined;
2157
+ } | undefined;
2158
+ id?: string | undefined;
2159
+ creationTimestamp?: string | undefined;
2160
+ managedBy?: string | undefined;
2161
+ isVersionHead?: boolean | undefined;
2162
+ }, {
2163
+ scenario?: string | undefined;
2164
+ version?: string | undefined;
2165
+ name?: string | undefined;
2166
+ spec?: {
2167
+ template: ({
2168
+ role: string;
2169
+ content: string;
2170
+ } | {
2171
+ role: string;
2172
+ content: ({
2173
+ image_url: {
2174
+ url: string;
2175
+ detail?: string | undefined;
2176
+ };
2177
+ type: "image_url";
2178
+ } | {
2179
+ text: string;
2180
+ type: "text";
2181
+ })[];
2182
+ })[];
2183
+ defaults?: {} | undefined;
2184
+ additionalFields?: {} | undefined;
2185
+ response_format?: {
2186
+ type: "text";
2187
+ } | {
2188
+ type: "json_object";
2189
+ } | {
2190
+ json_schema: {
2191
+ name: string;
2192
+ description?: string | undefined;
2193
+ schema?: Record<string, any> | undefined;
2194
+ strict?: boolean | null | undefined;
2195
+ };
2196
+ type: "json_schema";
2197
+ } | undefined;
2198
+ tools?: {
2199
+ function: {
2200
+ name: string;
2201
+ description?: string | undefined;
2202
+ strict?: boolean | null | undefined;
2203
+ parameters?: Record<string, any> | undefined;
2204
+ };
2205
+ type: "function";
2206
+ }[] | undefined;
2207
+ } | undefined;
2208
+ id?: string | undefined;
2209
+ creationTimestamp?: string | undefined;
2210
+ managedBy?: string | undefined;
2211
+ isVersionHead?: boolean | undefined;
2212
+ }>>;
2213
+ }, "strip", zod.ZodTypeAny, {
2214
+ parsedPrompt?: ({
2215
+ role: string;
2216
+ content: string;
2217
+ } | {
2218
+ role: string;
2219
+ content: ({
2220
+ image_url: {
2221
+ url: string;
2222
+ detail: string;
2223
+ };
2224
+ type: "image_url";
2225
+ } | {
2226
+ text: string;
2227
+ type: "text";
2228
+ })[];
2229
+ })[] | undefined;
2230
+ resource?: {
2231
+ scenario?: string | undefined;
2232
+ version?: string | undefined;
2233
+ name?: string | undefined;
2234
+ spec?: {
2235
+ template: ({
2236
+ role: string;
2237
+ content: string;
2238
+ } | {
2239
+ role: string;
2240
+ content: ({
2241
+ image_url: {
2242
+ url: string;
2243
+ detail: string;
2244
+ };
2245
+ type: "image_url";
2246
+ } | {
2247
+ text: string;
2248
+ type: "text";
2249
+ })[];
2250
+ })[];
2251
+ defaults?: {} | undefined;
2252
+ additionalFields?: {} | undefined;
2253
+ response_format?: {
2254
+ type: "text";
2255
+ } | {
2256
+ type: "json_object";
2257
+ } | {
2258
+ json_schema: {
2259
+ name: string;
2260
+ description?: string | undefined;
2261
+ schema?: Record<string, any> | undefined;
2262
+ strict?: boolean | null | undefined;
2263
+ };
2264
+ type: "json_schema";
2265
+ } | undefined;
2266
+ tools?: {
2267
+ function: {
2268
+ name: string;
2269
+ description?: string | undefined;
2270
+ strict?: boolean | null | undefined;
2271
+ parameters?: Record<string, any> | undefined;
2272
+ };
2273
+ type: "function";
2274
+ }[] | undefined;
2275
+ } | undefined;
2276
+ id?: string | undefined;
2277
+ creationTimestamp?: string | undefined;
2278
+ managedBy?: string | undefined;
2279
+ isVersionHead?: boolean | undefined;
2280
+ } | undefined;
2281
+ }, {
2282
+ parsedPrompt?: ({
2283
+ role: string;
2284
+ content: string;
2285
+ } | {
2286
+ role: string;
2287
+ content: ({
2288
+ image_url: {
2289
+ url: string;
2290
+ detail?: string | undefined;
2291
+ };
2292
+ type: "image_url";
2293
+ } | {
2294
+ text: string;
2295
+ type: "text";
2296
+ })[];
2297
+ })[] | undefined;
2298
+ resource?: {
2299
+ scenario?: string | undefined;
2300
+ version?: string | undefined;
2301
+ name?: string | undefined;
2302
+ spec?: {
2303
+ template: ({
2304
+ role: string;
2305
+ content: string;
2306
+ } | {
2307
+ role: string;
2308
+ content: ({
2309
+ image_url: {
2310
+ url: string;
2311
+ detail?: string | undefined;
2312
+ };
2313
+ type: "image_url";
2314
+ } | {
2315
+ text: string;
2316
+ type: "text";
2317
+ })[];
2318
+ })[];
2319
+ defaults?: {} | undefined;
2320
+ additionalFields?: {} | undefined;
2321
+ response_format?: {
2322
+ type: "text";
2323
+ } | {
2324
+ type: "json_object";
2325
+ } | {
2326
+ json_schema: {
2327
+ name: string;
2328
+ description?: string | undefined;
2329
+ schema?: Record<string, any> | undefined;
2330
+ strict?: boolean | null | undefined;
2331
+ };
2332
+ type: "json_schema";
2333
+ } | undefined;
2334
+ tools?: {
2335
+ function: {
2336
+ name: string;
2337
+ description?: string | undefined;
2338
+ strict?: boolean | null | undefined;
2339
+ parameters?: Record<string, any> | undefined;
2340
+ };
2341
+ type: "function";
2342
+ }[] | undefined;
2343
+ } | undefined;
2344
+ id?: string | undefined;
2345
+ creationTimestamp?: string | undefined;
2346
+ managedBy?: string | undefined;
2347
+ isVersionHead?: boolean | undefined;
2348
+ } | undefined;
2349
+ }>;
2350
+ /**
2351
+ * Parse prompt template by name and version.
2352
+ */
2353
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionParams: zod.ZodObject<{
2354
+ scenario: zod.ZodString;
2355
+ version: zod.ZodString;
2356
+ name: zod.ZodString;
2357
+ }, "strip", zod.ZodTypeAny, {
2358
+ scenario: string;
2359
+ version: string;
2360
+ name: string;
2361
+ }, {
2362
+ scenario: string;
2363
+ version: string;
2364
+ name: string;
2365
+ }>;
2366
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionQueryMetadataDefault = false;
2367
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionQueryParams: zod.ZodObject<{
2368
+ metadata: zod.ZodOptional<zod.ZodBoolean>;
2369
+ }, "strip", zod.ZodTypeAny, {
2370
+ metadata?: boolean | undefined;
2371
+ }, {
2372
+ metadata?: boolean | undefined;
2373
+ }>;
2374
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionBody: zod.ZodObject<{
2375
+ inputParams: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
2376
+ }, "strip", zod.ZodTypeAny, {
2377
+ inputParams?: {} | undefined;
2378
+ }, {
2379
+ inputParams?: {} | undefined;
2380
+ }>;
2381
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseParsedPromptItemContentItemImageUrlDetailDefault = "auto";
2382
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
2383
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecResponseFormatJsonSchemaNameMax = 64;
2384
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecResponseFormatJsonSchemaNameRegExp: RegExp;
2385
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecResponseFormatJsonSchemaStrictDefault = false;
2386
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecToolsItemFunctionNameMax = 64;
2387
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecToolsItemFunctionNameRegExp: RegExp;
2388
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecToolsItemFunctionStrictDefault = false;
2389
+ export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponse: zod.ZodObject<{
2390
+ parsedPrompt: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
2391
+ role: zod.ZodString;
2392
+ content: zod.ZodString;
2393
+ }, "strip", zod.ZodTypeAny, {
2394
+ role: string;
2395
+ content: string;
2396
+ }, {
2397
+ role: string;
2398
+ content: string;
2399
+ }>, zod.ZodObject<{
2400
+ role: zod.ZodString;
2401
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
2402
+ type: zod.ZodEnum<["image_url"]>;
2403
+ image_url: zod.ZodObject<{
2404
+ url: zod.ZodString;
2405
+ detail: zod.ZodDefault<zod.ZodString>;
2406
+ }, "strip", zod.ZodTypeAny, {
2407
+ url: string;
2408
+ detail: string;
2409
+ }, {
2410
+ url: string;
2411
+ detail?: string | undefined;
2412
+ }>;
2413
+ }, "strip", zod.ZodTypeAny, {
2414
+ image_url: {
2415
+ url: string;
2416
+ detail: string;
2417
+ };
2418
+ type: "image_url";
2419
+ }, {
2420
+ image_url: {
2421
+ url: string;
2422
+ detail?: string | undefined;
2423
+ };
2424
+ type: "image_url";
2425
+ }>, zod.ZodObject<{
2426
+ type: zod.ZodEnum<["text"]>;
2427
+ text: zod.ZodString;
2428
+ }, "strip", zod.ZodTypeAny, {
2429
+ text: string;
2430
+ type: "text";
2431
+ }, {
2432
+ text: string;
2433
+ type: "text";
2434
+ }>]>, "many">;
2435
+ }, "strip", zod.ZodTypeAny, {
2436
+ role: string;
2437
+ content: ({
2438
+ image_url: {
2439
+ url: string;
2440
+ detail: string;
2441
+ };
2442
+ type: "image_url";
2443
+ } | {
2444
+ text: string;
2445
+ type: "text";
2446
+ })[];
2447
+ }, {
2448
+ role: string;
2449
+ content: ({
2450
+ image_url: {
2451
+ url: string;
2452
+ detail?: string | undefined;
2453
+ };
2454
+ type: "image_url";
2455
+ } | {
2456
+ text: string;
2457
+ type: "text";
2458
+ })[];
2459
+ }>]>, "many">>;
2460
+ resource: zod.ZodOptional<zod.ZodObject<{
2461
+ id: zod.ZodOptional<zod.ZodString>;
2462
+ name: zod.ZodOptional<zod.ZodString>;
2463
+ version: zod.ZodOptional<zod.ZodString>;
2464
+ scenario: zod.ZodOptional<zod.ZodString>;
2465
+ creationTimestamp: zod.ZodOptional<zod.ZodString>;
2466
+ managedBy: zod.ZodOptional<zod.ZodString>;
2467
+ isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
2468
+ spec: zod.ZodOptional<zod.ZodObject<{
2469
+ template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
2470
+ role: zod.ZodString;
2471
+ content: zod.ZodString;
2472
+ }, "strip", zod.ZodTypeAny, {
2473
+ role: string;
2474
+ content: string;
2475
+ }, {
2476
+ role: string;
2477
+ content: string;
2478
+ }>, zod.ZodObject<{
2479
+ role: zod.ZodString;
2480
+ content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
2481
+ type: zod.ZodEnum<["image_url"]>;
2482
+ image_url: zod.ZodObject<{
2483
+ url: zod.ZodString;
2484
+ detail: zod.ZodDefault<zod.ZodString>;
2485
+ }, "strip", zod.ZodTypeAny, {
2486
+ url: string;
2487
+ detail: string;
2488
+ }, {
2489
+ url: string;
2490
+ detail?: string | undefined;
2491
+ }>;
2492
+ }, "strip", zod.ZodTypeAny, {
2493
+ image_url: {
2494
+ url: string;
2495
+ detail: string;
2496
+ };
2497
+ type: "image_url";
2498
+ }, {
2499
+ image_url: {
2500
+ url: string;
2501
+ detail?: string | undefined;
2502
+ };
2503
+ type: "image_url";
2504
+ }>, zod.ZodObject<{
2505
+ type: zod.ZodEnum<["text"]>;
2506
+ text: zod.ZodString;
2507
+ }, "strip", zod.ZodTypeAny, {
2508
+ text: string;
2509
+ type: "text";
2510
+ }, {
2511
+ text: string;
2512
+ type: "text";
2513
+ }>]>, "many">;
2514
+ }, "strip", zod.ZodTypeAny, {
2515
+ role: string;
2516
+ content: ({
2517
+ image_url: {
2518
+ url: string;
2519
+ detail: string;
2520
+ };
2521
+ type: "image_url";
2522
+ } | {
2523
+ text: string;
2524
+ type: "text";
2525
+ })[];
2526
+ }, {
2527
+ role: string;
2528
+ content: ({
2529
+ image_url: {
2530
+ url: string;
2531
+ detail?: string | undefined;
2532
+ };
2533
+ type: "image_url";
2534
+ } | {
2535
+ text: string;
2536
+ type: "text";
2537
+ })[];
2538
+ }>]>, "many">;
2539
+ defaults: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
2540
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
2541
+ response_format: zod.ZodOptional<zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
2542
+ type: zod.ZodEnum<["text"]>;
2543
+ }, "strip", zod.ZodTypeAny, {
2544
+ type: "text";
2545
+ }, {
2546
+ type: "text";
2547
+ }>, zod.ZodObject<{
2548
+ type: zod.ZodEnum<["json_object"]>;
2549
+ }, "strip", zod.ZodTypeAny, {
2550
+ type: "json_object";
2551
+ }, {
2552
+ type: "json_object";
2553
+ }>]>, zod.ZodObject<{
2554
+ type: zod.ZodEnum<["json_schema"]>;
2555
+ json_schema: zod.ZodObject<{
2556
+ description: zod.ZodOptional<zod.ZodString>;
2557
+ name: zod.ZodString;
2558
+ schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
2559
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
2560
+ }, "strip", zod.ZodTypeAny, {
2561
+ name: string;
2562
+ description?: string | undefined;
2563
+ schema?: Record<string, any> | undefined;
2564
+ strict?: boolean | null | undefined;
2565
+ }, {
2566
+ name: string;
2567
+ description?: string | undefined;
2568
+ schema?: Record<string, any> | undefined;
2569
+ strict?: boolean | null | undefined;
2570
+ }>;
2571
+ }, "strip", zod.ZodTypeAny, {
2572
+ json_schema: {
2573
+ name: string;
2574
+ description?: string | undefined;
2575
+ schema?: Record<string, any> | undefined;
2576
+ strict?: boolean | null | undefined;
2577
+ };
2578
+ type: "json_schema";
2579
+ }, {
2580
+ json_schema: {
2581
+ name: string;
2582
+ description?: string | undefined;
2583
+ schema?: Record<string, any> | undefined;
2584
+ strict?: boolean | null | undefined;
2585
+ };
2586
+ type: "json_schema";
2587
+ }>]>>;
2588
+ tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2589
+ type: zod.ZodEnum<["function"]>;
2590
+ function: zod.ZodObject<{
2591
+ description: zod.ZodOptional<zod.ZodString>;
2592
+ name: zod.ZodString;
2593
+ parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
2594
+ strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
2595
+ }, "strip", zod.ZodTypeAny, {
2596
+ name: string;
2597
+ description?: string | undefined;
2598
+ strict?: boolean | null | undefined;
2599
+ parameters?: Record<string, any> | undefined;
2600
+ }, {
2601
+ name: string;
2602
+ description?: string | undefined;
2603
+ strict?: boolean | null | undefined;
2604
+ parameters?: Record<string, any> | undefined;
2605
+ }>;
2606
+ }, "strip", zod.ZodTypeAny, {
2607
+ function: {
2608
+ name: string;
2609
+ description?: string | undefined;
2610
+ strict?: boolean | null | undefined;
2611
+ parameters?: Record<string, any> | undefined;
2612
+ };
2613
+ type: "function";
2614
+ }, {
2615
+ function: {
2616
+ name: string;
2617
+ description?: string | undefined;
2618
+ strict?: boolean | null | undefined;
2619
+ parameters?: Record<string, any> | undefined;
2620
+ };
2621
+ type: "function";
2622
+ }>, "many">>;
2623
+ }, "strip", zod.ZodTypeAny, {
2624
+ template: ({
2625
+ role: string;
2626
+ content: string;
2627
+ } | {
2628
+ role: string;
2629
+ content: ({
2630
+ image_url: {
2631
+ url: string;
2632
+ detail: string;
2633
+ };
2634
+ type: "image_url";
2635
+ } | {
2636
+ text: string;
2637
+ type: "text";
2638
+ })[];
2639
+ })[];
2640
+ defaults?: {} | undefined;
2641
+ additionalFields?: {} | undefined;
2642
+ response_format?: {
2643
+ type: "text";
2644
+ } | {
2645
+ type: "json_object";
2646
+ } | {
2647
+ json_schema: {
2648
+ name: string;
2649
+ description?: string | undefined;
2650
+ schema?: Record<string, any> | undefined;
2651
+ strict?: boolean | null | undefined;
2652
+ };
2653
+ type: "json_schema";
2654
+ } | undefined;
2655
+ tools?: {
2656
+ function: {
2657
+ name: string;
2658
+ description?: string | undefined;
2659
+ strict?: boolean | null | undefined;
2660
+ parameters?: Record<string, any> | undefined;
2661
+ };
2662
+ type: "function";
2663
+ }[] | undefined;
2664
+ }, {
2665
+ template: ({
2666
+ role: string;
2667
+ content: string;
2668
+ } | {
2669
+ role: string;
2670
+ content: ({
2671
+ image_url: {
2672
+ url: string;
2673
+ detail?: string | undefined;
2674
+ };
2675
+ type: "image_url";
2676
+ } | {
2677
+ text: string;
2678
+ type: "text";
2679
+ })[];
2680
+ })[];
2681
+ defaults?: {} | undefined;
2682
+ additionalFields?: {} | undefined;
2683
+ response_format?: {
2684
+ type: "text";
2685
+ } | {
2686
+ type: "json_object";
2687
+ } | {
2688
+ json_schema: {
2689
+ name: string;
2690
+ description?: string | undefined;
2691
+ schema?: Record<string, any> | undefined;
2692
+ strict?: boolean | null | undefined;
2693
+ };
2694
+ type: "json_schema";
2695
+ } | undefined;
2696
+ tools?: {
2697
+ function: {
2698
+ name: string;
2699
+ description?: string | undefined;
2700
+ strict?: boolean | null | undefined;
2701
+ parameters?: Record<string, any> | undefined;
2702
+ };
2703
+ type: "function";
2704
+ }[] | undefined;
2705
+ }>>;
2706
+ }, "strip", zod.ZodTypeAny, {
2707
+ scenario?: string | undefined;
2708
+ version?: string | undefined;
2709
+ name?: string | undefined;
2710
+ spec?: {
2711
+ template: ({
2712
+ role: string;
2713
+ content: string;
2714
+ } | {
2715
+ role: string;
2716
+ content: ({
2717
+ image_url: {
2718
+ url: string;
2719
+ detail: string;
2720
+ };
2721
+ type: "image_url";
2722
+ } | {
2723
+ text: string;
2724
+ type: "text";
2725
+ })[];
2726
+ })[];
2727
+ defaults?: {} | undefined;
2728
+ additionalFields?: {} | undefined;
2729
+ response_format?: {
2730
+ type: "text";
2731
+ } | {
2732
+ type: "json_object";
2733
+ } | {
2734
+ json_schema: {
2735
+ name: string;
2736
+ description?: string | undefined;
2737
+ schema?: Record<string, any> | undefined;
2738
+ strict?: boolean | null | undefined;
2739
+ };
2740
+ type: "json_schema";
2741
+ } | undefined;
2742
+ tools?: {
2743
+ function: {
2744
+ name: string;
2745
+ description?: string | undefined;
2746
+ strict?: boolean | null | undefined;
2747
+ parameters?: Record<string, any> | undefined;
2748
+ };
2749
+ type: "function";
2750
+ }[] | undefined;
2751
+ } | undefined;
2752
+ id?: string | undefined;
2753
+ creationTimestamp?: string | undefined;
2754
+ managedBy?: string | undefined;
2755
+ isVersionHead?: boolean | undefined;
2756
+ }, {
2757
+ scenario?: string | undefined;
2758
+ version?: string | undefined;
2759
+ name?: string | undefined;
2760
+ spec?: {
2761
+ template: ({
2762
+ role: string;
2763
+ content: string;
2764
+ } | {
2765
+ role: string;
2766
+ content: ({
2767
+ image_url: {
2768
+ url: string;
2769
+ detail?: string | undefined;
2770
+ };
2771
+ type: "image_url";
2772
+ } | {
2773
+ text: string;
2774
+ type: "text";
2775
+ })[];
2776
+ })[];
2777
+ defaults?: {} | undefined;
2778
+ additionalFields?: {} | undefined;
2779
+ response_format?: {
2780
+ type: "text";
2781
+ } | {
2782
+ type: "json_object";
2783
+ } | {
2784
+ json_schema: {
2785
+ name: string;
2786
+ description?: string | undefined;
2787
+ schema?: Record<string, any> | undefined;
2788
+ strict?: boolean | null | undefined;
2789
+ };
2790
+ type: "json_schema";
2791
+ } | undefined;
2792
+ tools?: {
2793
+ function: {
2794
+ name: string;
2795
+ description?: string | undefined;
2796
+ strict?: boolean | null | undefined;
2797
+ parameters?: Record<string, any> | undefined;
2798
+ };
2799
+ type: "function";
2800
+ }[] | undefined;
2801
+ } | undefined;
2802
+ id?: string | undefined;
2803
+ creationTimestamp?: string | undefined;
2804
+ managedBy?: string | undefined;
2805
+ isVersionHead?: boolean | undefined;
2806
+ }>>;
2807
+ }, "strip", zod.ZodTypeAny, {
2808
+ parsedPrompt?: ({
2809
+ role: string;
2810
+ content: string;
2811
+ } | {
2812
+ role: string;
2813
+ content: ({
2814
+ image_url: {
2815
+ url: string;
2816
+ detail: string;
2817
+ };
2818
+ type: "image_url";
2819
+ } | {
2820
+ text: string;
2821
+ type: "text";
2822
+ })[];
2823
+ })[] | undefined;
2824
+ resource?: {
2825
+ scenario?: string | undefined;
2826
+ version?: string | undefined;
2827
+ name?: string | undefined;
2828
+ spec?: {
2829
+ template: ({
2830
+ role: string;
2831
+ content: string;
2832
+ } | {
2833
+ role: string;
2834
+ content: ({
2835
+ image_url: {
2836
+ url: string;
2837
+ detail: string;
2838
+ };
2839
+ type: "image_url";
2840
+ } | {
2841
+ text: string;
2842
+ type: "text";
2843
+ })[];
2844
+ })[];
2845
+ defaults?: {} | undefined;
2846
+ additionalFields?: {} | undefined;
2847
+ response_format?: {
2848
+ type: "text";
2849
+ } | {
2850
+ type: "json_object";
2851
+ } | {
2852
+ json_schema: {
2853
+ name: string;
2854
+ description?: string | undefined;
2855
+ schema?: Record<string, any> | undefined;
2856
+ strict?: boolean | null | undefined;
2857
+ };
2858
+ type: "json_schema";
2859
+ } | undefined;
2860
+ tools?: {
2861
+ function: {
2862
+ name: string;
2863
+ description?: string | undefined;
2864
+ strict?: boolean | null | undefined;
2865
+ parameters?: Record<string, any> | undefined;
2866
+ };
2867
+ type: "function";
2868
+ }[] | undefined;
2869
+ } | undefined;
2870
+ id?: string | undefined;
2871
+ creationTimestamp?: string | undefined;
2872
+ managedBy?: string | undefined;
2873
+ isVersionHead?: boolean | undefined;
2874
+ } | undefined;
2875
+ }, {
2876
+ parsedPrompt?: ({
2877
+ role: string;
2878
+ content: string;
2879
+ } | {
2880
+ role: string;
2881
+ content: ({
2882
+ image_url: {
2883
+ url: string;
2884
+ detail?: string | undefined;
2885
+ };
2886
+ type: "image_url";
2887
+ } | {
2888
+ text: string;
2889
+ type: "text";
2890
+ })[];
2891
+ })[] | undefined;
2892
+ resource?: {
2893
+ scenario?: string | undefined;
2894
+ version?: string | undefined;
2895
+ name?: string | undefined;
2896
+ spec?: {
2897
+ template: ({
2898
+ role: string;
2899
+ content: string;
2900
+ } | {
2901
+ role: string;
2902
+ content: ({
2903
+ image_url: {
2904
+ url: string;
2905
+ detail?: string | undefined;
2906
+ };
2907
+ type: "image_url";
2908
+ } | {
2909
+ text: string;
2910
+ type: "text";
2911
+ })[];
2912
+ })[];
2913
+ defaults?: {} | undefined;
2914
+ additionalFields?: {} | undefined;
2915
+ response_format?: {
2916
+ type: "text";
2917
+ } | {
2918
+ type: "json_object";
2919
+ } | {
2920
+ json_schema: {
2921
+ name: string;
2922
+ description?: string | undefined;
2923
+ schema?: Record<string, any> | undefined;
2924
+ strict?: boolean | null | undefined;
2925
+ };
2926
+ type: "json_schema";
2927
+ } | undefined;
2928
+ tools?: {
2929
+ function: {
2930
+ name: string;
2931
+ description?: string | undefined;
2932
+ strict?: boolean | null | undefined;
2933
+ parameters?: Record<string, any> | undefined;
2934
+ };
2935
+ type: "function";
2936
+ }[] | undefined;
2937
+ } | undefined;
2938
+ id?: string | undefined;
2939
+ creationTimestamp?: string | undefined;
2940
+ managedBy?: string | undefined;
2941
+ isVersionHead?: boolean | undefined;
2942
+ } | undefined;
2943
+ }>;
2944
+ //# sourceMappingURL=prompt-registry.zod.d.ts.map