@sap-ai-sdk/prompt-registry 2.2.1-20251125013319.0 → 2.2.1-20251126013311.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.
@@ -24,355 +24,67 @@ export declare const registryControllerPromptControllerCreateUpdatePromptTemplat
24
24
  version: zod.ZodString;
25
25
  scenario: zod.ZodString;
26
26
  spec: zod.ZodObject<{
27
- template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
27
+ template: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
28
28
  role: zod.ZodString;
29
29
  content: zod.ZodString;
30
- }, "strip", zod.ZodTypeAny, {
31
- role: string;
32
- content: string;
33
- }, {
34
- role: string;
35
- content: string;
36
- }>, zod.ZodObject<{
30
+ }, zod.z.core.$strip>, zod.ZodObject<{
37
31
  role: zod.ZodString;
38
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
39
- type: zod.ZodEnum<["image_url"]>;
32
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
33
+ type: zod.ZodEnum<{
34
+ image_url: "image_url";
35
+ }>;
40
36
  image_url: zod.ZodObject<{
41
37
  url: zod.ZodString;
42
38
  detail: zod.ZodDefault<zod.ZodString>;
43
- }, "strip", zod.ZodTypeAny, {
44
- url: string;
45
- detail: string;
46
- }, {
47
- url: string;
48
- detail?: string | undefined;
39
+ }, zod.z.core.$strip>;
40
+ }, zod.z.core.$strip>, zod.ZodObject<{
41
+ type: zod.ZodEnum<{
42
+ text: "text";
49
43
  }>;
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
44
  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.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"]>;
45
+ }, zod.z.core.$strip>]>>;
46
+ }, zod.z.core.$strip>]>>;
47
+ defaults: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
48
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
49
+ response_format: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
50
+ type: zod.ZodEnum<{
51
+ text: "text";
52
+ }>;
53
+ }, zod.z.core.$strip>, zod.ZodObject<{
54
+ type: zod.ZodEnum<{
55
+ json_object: "json_object";
56
+ }>;
57
+ }, zod.z.core.$strip>, zod.ZodObject<{
58
+ type: zod.ZodEnum<{
59
+ json_schema: "json_schema";
60
+ }>;
113
61
  json_schema: zod.ZodObject<{
114
62
  description: zod.ZodOptional<zod.ZodString>;
115
63
  name: zod.ZodString;
116
64
  schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
117
65
  strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
118
- }, "strip", zod.ZodTypeAny, {
119
- name: string;
120
- description?: string | undefined;
121
- schema?: Record<string, unknown> | undefined;
122
- strict?: boolean | null | undefined;
123
- }, {
124
- name: string;
125
- description?: string | undefined;
126
- schema?: Record<string, unknown> | 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, unknown> | 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, unknown> | undefined;
142
- strict?: boolean | null | undefined;
143
- };
144
- type: "json_schema";
145
- }>]>>;
66
+ }, zod.z.core.$strip>;
67
+ }, zod.z.core.$strip>]>>;
146
68
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
147
- type: zod.ZodEnum<["function"]>;
69
+ type: zod.ZodEnum<{
70
+ function: "function";
71
+ }>;
148
72
  function: zod.ZodObject<{
149
73
  description: zod.ZodOptional<zod.ZodString>;
150
74
  name: zod.ZodString;
151
75
  parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
152
76
  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, unknown> | undefined;
158
- }, {
159
- name: string;
160
- description?: string | undefined;
161
- strict?: boolean | null | undefined;
162
- parameters?: Record<string, unknown> | undefined;
163
- }>;
164
- }, "strip", zod.ZodTypeAny, {
165
- function: {
166
- name: string;
167
- description?: string | undefined;
168
- strict?: boolean | null | undefined;
169
- parameters?: Record<string, unknown> | undefined;
170
- };
171
- type: "function";
172
- }, {
173
- function: {
174
- name: string;
175
- description?: string | undefined;
176
- strict?: boolean | null | undefined;
177
- parameters?: Record<string, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | undefined;
352
- };
353
- type: "function";
354
- }[] | undefined;
355
- };
356
- }>;
77
+ }, zod.z.core.$strip>;
78
+ }, zod.z.core.$strip>>>;
79
+ }, zod.z.core.$strip>;
80
+ }, zod.z.core.$strip>;
357
81
  export declare const registryControllerPromptControllerCreateUpdatePromptTemplateResponse: zod.ZodObject<{
358
82
  message: zod.ZodString;
359
- id: zod.ZodString;
83
+ id: zod.ZodUUID;
360
84
  scenario: zod.ZodString;
361
85
  name: zod.ZodString;
362
86
  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
- }>;
87
+ }, zod.z.core.$strip>;
376
88
  /**
377
89
  * List prompt templates.
378
90
  */
@@ -384,19 +96,7 @@ export declare const registryControllerPromptControllerListPromptTemplatesQueryP
384
96
  version: zod.ZodOptional<zod.ZodString>;
385
97
  retrieve: zod.ZodDefault<zod.ZodString>;
386
98
  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
- }>;
99
+ }, zod.z.core.$strip>;
400
100
  export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
401
101
  export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecResponseFormatJsonSchemaNameMax = 64;
402
102
  export declare const registryControllerPromptControllerListPromptTemplatesResponseResourcesItemSpecResponseFormatJsonSchemaNameRegExp: RegExp;
@@ -407,7 +107,7 @@ export declare const registryControllerPromptControllerListPromptTemplatesRespon
407
107
  export declare const registryControllerPromptControllerListPromptTemplatesResponse: zod.ZodObject<{
408
108
  count: zod.ZodNumber;
409
109
  resources: zod.ZodArray<zod.ZodObject<{
410
- id: zod.ZodOptional<zod.ZodString>;
110
+ id: zod.ZodOptional<zod.ZodUUID>;
411
111
  name: zod.ZodOptional<zod.ZodString>;
412
112
  version: zod.ZodOptional<zod.ZodString>;
413
113
  scenario: zod.ZodOptional<zod.ZodString>;
@@ -415,451 +115,61 @@ export declare const registryControllerPromptControllerListPromptTemplatesRespon
415
115
  managedBy: zod.ZodOptional<zod.ZodString>;
416
116
  isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
417
117
  spec: zod.ZodOptional<zod.ZodObject<{
418
- template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
118
+ template: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
419
119
  role: zod.ZodString;
420
120
  content: zod.ZodString;
421
- }, "strip", zod.ZodTypeAny, {
422
- role: string;
423
- content: string;
424
- }, {
425
- role: string;
426
- content: string;
427
- }>, zod.ZodObject<{
121
+ }, zod.z.core.$strip>, zod.ZodObject<{
428
122
  role: zod.ZodString;
429
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
430
- type: zod.ZodEnum<["image_url"]>;
123
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
124
+ type: zod.ZodEnum<{
125
+ image_url: "image_url";
126
+ }>;
431
127
  image_url: zod.ZodObject<{
432
128
  url: zod.ZodString;
433
129
  detail: zod.ZodDefault<zod.ZodString>;
434
- }, "strip", zod.ZodTypeAny, {
435
- url: string;
436
- detail: string;
437
- }, {
438
- url: string;
439
- detail?: string | undefined;
130
+ }, zod.z.core.$strip>;
131
+ }, zod.z.core.$strip>, zod.ZodObject<{
132
+ type: zod.ZodEnum<{
133
+ text: "text";
440
134
  }>;
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
135
  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.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"]>;
136
+ }, zod.z.core.$strip>]>>;
137
+ }, zod.z.core.$strip>]>>;
138
+ defaults: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
139
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
140
+ response_format: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
141
+ type: zod.ZodEnum<{
142
+ text: "text";
143
+ }>;
144
+ }, zod.z.core.$strip>, zod.ZodObject<{
145
+ type: zod.ZodEnum<{
146
+ json_object: "json_object";
147
+ }>;
148
+ }, zod.z.core.$strip>, zod.ZodObject<{
149
+ type: zod.ZodEnum<{
150
+ json_schema: "json_schema";
151
+ }>;
504
152
  json_schema: zod.ZodObject<{
505
153
  description: zod.ZodOptional<zod.ZodString>;
506
154
  name: zod.ZodString;
507
155
  schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
508
156
  strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
509
- }, "strip", zod.ZodTypeAny, {
510
- name: string;
511
- description?: string | undefined;
512
- schema?: Record<string, unknown> | undefined;
513
- strict?: boolean | null | undefined;
514
- }, {
515
- name: string;
516
- description?: string | undefined;
517
- schema?: Record<string, unknown> | 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, unknown> | 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, unknown> | undefined;
533
- strict?: boolean | null | undefined;
534
- };
535
- type: "json_schema";
536
- }>]>>;
157
+ }, zod.z.core.$strip>;
158
+ }, zod.z.core.$strip>]>>;
537
159
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
538
- type: zod.ZodEnum<["function"]>;
160
+ type: zod.ZodEnum<{
161
+ function: "function";
162
+ }>;
539
163
  function: zod.ZodObject<{
540
164
  description: zod.ZodOptional<zod.ZodString>;
541
165
  name: zod.ZodString;
542
166
  parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
543
167
  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, unknown> | undefined;
549
- }, {
550
- name: string;
551
- description?: string | undefined;
552
- strict?: boolean | null | undefined;
553
- parameters?: Record<string, unknown> | undefined;
554
- }>;
555
- }, "strip", zod.ZodTypeAny, {
556
- function: {
557
- name: string;
558
- description?: string | undefined;
559
- strict?: boolean | null | undefined;
560
- parameters?: Record<string, unknown> | undefined;
561
- };
562
- type: "function";
563
- }, {
564
- function: {
565
- name: string;
566
- description?: string | undefined;
567
- strict?: boolean | null | undefined;
568
- parameters?: Record<string, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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
- }>;
168
+ }, zod.z.core.$strip>;
169
+ }, zod.z.core.$strip>>>;
170
+ }, zod.z.core.$strip>>;
171
+ }, zod.z.core.$strip>>;
172
+ }, zod.z.core.$strip>;
863
173
  /**
864
174
  * List prompt template history.
865
175
  */
@@ -867,15 +177,7 @@ export declare const registryControllerPromptControllerListPromptTemplateHistory
867
177
  scenario: zod.ZodString;
868
178
  version: zod.ZodString;
869
179
  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
- }>;
180
+ }, zod.z.core.$strip>;
879
181
  export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
880
182
  export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecResponseFormatJsonSchemaNameMax = 64;
881
183
  export declare const registryControllerPromptControllerListPromptTemplateHistoryResponseResourcesItemSpecResponseFormatJsonSchemaNameRegExp: RegExp;
@@ -886,7 +188,7 @@ export declare const registryControllerPromptControllerListPromptTemplateHistory
886
188
  export declare const registryControllerPromptControllerListPromptTemplateHistoryResponse: zod.ZodObject<{
887
189
  count: zod.ZodNumber;
888
190
  resources: zod.ZodArray<zod.ZodObject<{
889
- id: zod.ZodOptional<zod.ZodString>;
191
+ id: zod.ZodOptional<zod.ZodUUID>;
890
192
  name: zod.ZodOptional<zod.ZodString>;
891
193
  version: zod.ZodOptional<zod.ZodString>;
892
194
  scenario: zod.ZodOptional<zod.ZodString>;
@@ -894,461 +196,67 @@ export declare const registryControllerPromptControllerListPromptTemplateHistory
894
196
  managedBy: zod.ZodOptional<zod.ZodString>;
895
197
  isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
896
198
  spec: zod.ZodOptional<zod.ZodObject<{
897
- template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
199
+ template: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
898
200
  role: zod.ZodString;
899
201
  content: zod.ZodString;
900
- }, "strip", zod.ZodTypeAny, {
901
- role: string;
902
- content: string;
903
- }, {
904
- role: string;
905
- content: string;
906
- }>, zod.ZodObject<{
202
+ }, zod.z.core.$strip>, zod.ZodObject<{
907
203
  role: zod.ZodString;
908
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
909
- type: zod.ZodEnum<["image_url"]>;
204
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
205
+ type: zod.ZodEnum<{
206
+ image_url: "image_url";
207
+ }>;
910
208
  image_url: zod.ZodObject<{
911
209
  url: zod.ZodString;
912
210
  detail: zod.ZodDefault<zod.ZodString>;
913
- }, "strip", zod.ZodTypeAny, {
914
- url: string;
915
- detail: string;
916
- }, {
917
- url: string;
918
- detail?: string | undefined;
211
+ }, zod.z.core.$strip>;
212
+ }, zod.z.core.$strip>, zod.ZodObject<{
213
+ type: zod.ZodEnum<{
214
+ text: "text";
919
215
  }>;
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
216
  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.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"]>;
217
+ }, zod.z.core.$strip>]>>;
218
+ }, zod.z.core.$strip>]>>;
219
+ defaults: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
220
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
221
+ response_format: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
222
+ type: zod.ZodEnum<{
223
+ text: "text";
224
+ }>;
225
+ }, zod.z.core.$strip>, zod.ZodObject<{
226
+ type: zod.ZodEnum<{
227
+ json_object: "json_object";
228
+ }>;
229
+ }, zod.z.core.$strip>, zod.ZodObject<{
230
+ type: zod.ZodEnum<{
231
+ json_schema: "json_schema";
232
+ }>;
983
233
  json_schema: zod.ZodObject<{
984
234
  description: zod.ZodOptional<zod.ZodString>;
985
235
  name: zod.ZodString;
986
236
  schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
987
237
  strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
988
- }, "strip", zod.ZodTypeAny, {
989
- name: string;
990
- description?: string | undefined;
991
- schema?: Record<string, unknown> | undefined;
992
- strict?: boolean | null | undefined;
993
- }, {
994
- name: string;
995
- description?: string | undefined;
996
- schema?: Record<string, unknown> | 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, unknown> | 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, unknown> | undefined;
1012
- strict?: boolean | null | undefined;
1013
- };
1014
- type: "json_schema";
1015
- }>]>>;
238
+ }, zod.z.core.$strip>;
239
+ }, zod.z.core.$strip>]>>;
1016
240
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1017
- type: zod.ZodEnum<["function"]>;
241
+ type: zod.ZodEnum<{
242
+ function: "function";
243
+ }>;
1018
244
  function: zod.ZodObject<{
1019
245
  description: zod.ZodOptional<zod.ZodString>;
1020
246
  name: zod.ZodString;
1021
247
  parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1022
248
  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, unknown> | undefined;
1028
- }, {
1029
- name: string;
1030
- description?: string | undefined;
1031
- strict?: boolean | null | undefined;
1032
- parameters?: Record<string, unknown> | undefined;
1033
- }>;
1034
- }, "strip", zod.ZodTypeAny, {
1035
- function: {
1036
- name: string;
1037
- description?: string | undefined;
1038
- strict?: boolean | null | undefined;
1039
- parameters?: Record<string, unknown> | undefined;
1040
- };
1041
- type: "function";
1042
- }, {
1043
- function: {
1044
- name: string;
1045
- description?: string | undefined;
1046
- strict?: boolean | null | undefined;
1047
- parameters?: Record<string, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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
- }>;
249
+ }, zod.z.core.$strip>;
250
+ }, zod.z.core.$strip>>>;
251
+ }, zod.z.core.$strip>>;
252
+ }, zod.z.core.$strip>>;
253
+ }, zod.z.core.$strip>;
1342
254
  /**
1343
255
  * Get prompt template by UUID.
1344
256
  */
1345
257
  export declare const registryControllerPromptControllerGetPromptTemplateByUuidParams: zod.ZodObject<{
1346
- promptTemplateId: zod.ZodString;
1347
- }, "strip", zod.ZodTypeAny, {
1348
- promptTemplateId: string;
1349
- }, {
1350
- promptTemplateId: string;
1351
- }>;
258
+ promptTemplateId: zod.ZodUUID;
259
+ }, zod.z.core.$strip>;
1352
260
  export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
1353
261
  export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecResponseFormatJsonSchemaNameMax = 64;
1354
262
  export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecResponseFormatJsonSchemaNameRegExp: RegExp;
@@ -1357,7 +265,7 @@ export declare const registryControllerPromptControllerGetPromptTemplateByUuidRe
1357
265
  export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecToolsItemFunctionNameRegExp: RegExp;
1358
266
  export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponseSpecToolsItemFunctionStrictDefault = false;
1359
267
  export declare const registryControllerPromptControllerGetPromptTemplateByUuidResponse: zod.ZodObject<{
1360
- id: zod.ZodOptional<zod.ZodString>;
268
+ id: zod.ZodOptional<zod.ZodUUID>;
1361
269
  name: zod.ZodOptional<zod.ZodString>;
1362
270
  version: zod.ZodOptional<zod.ZodString>;
1363
271
  scenario: zod.ZodOptional<zod.ZodString>;
@@ -1365,425 +273,101 @@ export declare const registryControllerPromptControllerGetPromptTemplateByUuidRe
1365
273
  managedBy: zod.ZodOptional<zod.ZodString>;
1366
274
  isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
1367
275
  spec: zod.ZodOptional<zod.ZodObject<{
1368
- template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
276
+ template: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
1369
277
  role: zod.ZodString;
1370
278
  content: zod.ZodString;
1371
- }, "strip", zod.ZodTypeAny, {
1372
- role: string;
1373
- content: string;
1374
- }, {
1375
- role: string;
1376
- content: string;
1377
- }>, zod.ZodObject<{
279
+ }, zod.z.core.$strip>, zod.ZodObject<{
1378
280
  role: zod.ZodString;
1379
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1380
- type: zod.ZodEnum<["image_url"]>;
281
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
282
+ type: zod.ZodEnum<{
283
+ image_url: "image_url";
284
+ }>;
1381
285
  image_url: zod.ZodObject<{
1382
286
  url: zod.ZodString;
1383
287
  detail: zod.ZodDefault<zod.ZodString>;
1384
- }, "strip", zod.ZodTypeAny, {
1385
- url: string;
1386
- detail: string;
1387
- }, {
1388
- url: string;
1389
- detail?: string | undefined;
288
+ }, zod.z.core.$strip>;
289
+ }, zod.z.core.$strip>, zod.ZodObject<{
290
+ type: zod.ZodEnum<{
291
+ text: "text";
1390
292
  }>;
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
293
  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.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"]>;
294
+ }, zod.z.core.$strip>]>>;
295
+ }, zod.z.core.$strip>]>>;
296
+ defaults: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
297
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
298
+ response_format: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
299
+ type: zod.ZodEnum<{
300
+ text: "text";
301
+ }>;
302
+ }, zod.z.core.$strip>, zod.ZodObject<{
303
+ type: zod.ZodEnum<{
304
+ json_object: "json_object";
305
+ }>;
306
+ }, zod.z.core.$strip>, zod.ZodObject<{
307
+ type: zod.ZodEnum<{
308
+ json_schema: "json_schema";
309
+ }>;
1454
310
  json_schema: zod.ZodObject<{
1455
311
  description: zod.ZodOptional<zod.ZodString>;
1456
312
  name: zod.ZodString;
1457
313
  schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1458
314
  strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1459
- }, "strip", zod.ZodTypeAny, {
1460
- name: string;
1461
- description?: string | undefined;
1462
- schema?: Record<string, unknown> | undefined;
1463
- strict?: boolean | null | undefined;
1464
- }, {
1465
- name: string;
1466
- description?: string | undefined;
1467
- schema?: Record<string, unknown> | 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, unknown> | 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, unknown> | undefined;
1483
- strict?: boolean | null | undefined;
1484
- };
1485
- type: "json_schema";
1486
- }>]>>;
315
+ }, zod.z.core.$strip>;
316
+ }, zod.z.core.$strip>]>>;
1487
317
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1488
- type: zod.ZodEnum<["function"]>;
318
+ type: zod.ZodEnum<{
319
+ function: "function";
320
+ }>;
1489
321
  function: zod.ZodObject<{
1490
322
  description: zod.ZodOptional<zod.ZodString>;
1491
323
  name: zod.ZodString;
1492
324
  parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1493
325
  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, unknown> | undefined;
1499
- }, {
1500
- name: string;
1501
- description?: string | undefined;
1502
- strict?: boolean | null | undefined;
1503
- parameters?: Record<string, unknown> | undefined;
1504
- }>;
1505
- }, "strip", zod.ZodTypeAny, {
1506
- function: {
1507
- name: string;
1508
- description?: string | undefined;
1509
- strict?: boolean | null | undefined;
1510
- parameters?: Record<string, unknown> | undefined;
1511
- };
1512
- type: "function";
1513
- }, {
1514
- function: {
1515
- name: string;
1516
- description?: string | undefined;
1517
- strict?: boolean | null | undefined;
1518
- parameters?: Record<string, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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
- }>;
326
+ }, zod.z.core.$strip>;
327
+ }, zod.z.core.$strip>>>;
328
+ }, zod.z.core.$strip>>;
329
+ }, zod.z.core.$strip>;
1706
330
  /**
1707
331
  * Delete prompt template.
1708
332
  */
1709
333
  export declare const registryControllerPromptControllerDeletePromptTemplateParams: zod.ZodObject<{
1710
- promptTemplateId: zod.ZodString;
1711
- }, "strip", zod.ZodTypeAny, {
1712
- promptTemplateId: string;
1713
- }, {
1714
- promptTemplateId: string;
1715
- }>;
334
+ promptTemplateId: zod.ZodUUID;
335
+ }, zod.z.core.$strip>;
1716
336
  export declare const registryControllerPromptControllerDeletePromptTemplateResponse: zod.ZodObject<{
1717
337
  message: zod.ZodString;
1718
- }, "strip", zod.ZodTypeAny, {
1719
- message: string;
1720
- }, {
1721
- message: string;
1722
- }>;
338
+ }, zod.z.core.$strip>;
1723
339
  /**
1724
340
  * Import prompt template.
1725
341
  */
1726
342
  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
- }>;
343
+ file: zod.ZodOptional<zod.ZodCustom<File, File>>;
344
+ }, zod.z.core.$strip>;
1733
345
  export declare const registryControllerPromptControllerImportPromptTemplateResponse: zod.ZodObject<{
1734
346
  message: zod.ZodString;
1735
- id: zod.ZodString;
347
+ id: zod.ZodUUID;
1736
348
  scenario: zod.ZodString;
1737
349
  name: zod.ZodString;
1738
350
  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
- }>;
351
+ }, zod.z.core.$strip>;
1752
352
  /**
1753
353
  * Export prompt template.
1754
354
  */
1755
355
  export declare const registryControllerPromptControllerExportPromptTemplateParams: zod.ZodObject<{
1756
- promptTemplateId: zod.ZodString;
1757
- }, "strip", zod.ZodTypeAny, {
1758
- promptTemplateId: string;
1759
- }, {
1760
- promptTemplateId: string;
1761
- }>;
356
+ promptTemplateId: zod.ZodUUID;
357
+ }, zod.z.core.$strip>;
1762
358
  /**
1763
359
  * Parse prompt template by ID.
1764
360
  */
1765
361
  export declare const registryControllerPromptControllerParsePromptTemplateByIdParams: zod.ZodObject<{
1766
- promptTemplateId: zod.ZodString;
1767
- }, "strip", zod.ZodTypeAny, {
1768
- promptTemplateId: string;
1769
- }, {
1770
- promptTemplateId: string;
1771
- }>;
362
+ promptTemplateId: zod.ZodUUID;
363
+ }, zod.z.core.$strip>;
1772
364
  export declare const registryControllerPromptControllerParsePromptTemplateByIdQueryMetadataDefault = false;
1773
365
  export declare const registryControllerPromptControllerParsePromptTemplateByIdQueryParams: zod.ZodObject<{
1774
366
  metadata: zod.ZodOptional<zod.ZodBoolean>;
1775
- }, "strip", zod.ZodTypeAny, {
1776
- metadata?: boolean | undefined;
1777
- }, {
1778
- metadata?: boolean | undefined;
1779
- }>;
367
+ }, zod.z.core.$strip>;
1780
368
  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
- }>;
369
+ inputParams: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
370
+ }, zod.z.core.$strip>;
1787
371
  export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseParsedPromptItemContentItemImageUrlDetailDefault = "auto";
1788
372
  export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
1789
373
  export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecResponseFormatJsonSchemaNameMax = 64;
@@ -1793,78 +377,28 @@ export declare const registryControllerPromptControllerParsePromptTemplateByIdRe
1793
377
  export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecToolsItemFunctionNameRegExp: RegExp;
1794
378
  export declare const registryControllerPromptControllerParsePromptTemplateByIdResponseResourceSpecToolsItemFunctionStrictDefault = false;
1795
379
  export declare const registryControllerPromptControllerParsePromptTemplateByIdResponse: zod.ZodObject<{
1796
- parsedPrompt: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
380
+ parsedPrompt: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
1797
381
  role: zod.ZodString;
1798
382
  content: zod.ZodString;
1799
- }, "strip", zod.ZodTypeAny, {
1800
- role: string;
1801
- content: string;
1802
- }, {
1803
- role: string;
1804
- content: string;
1805
- }>, zod.ZodObject<{
383
+ }, zod.z.core.$strip>, zod.ZodObject<{
1806
384
  role: zod.ZodString;
1807
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1808
- type: zod.ZodEnum<["image_url"]>;
385
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
386
+ type: zod.ZodEnum<{
387
+ image_url: "image_url";
388
+ }>;
1809
389
  image_url: zod.ZodObject<{
1810
390
  url: zod.ZodString;
1811
391
  detail: zod.ZodDefault<zod.ZodString>;
1812
- }, "strip", zod.ZodTypeAny, {
1813
- url: string;
1814
- detail: string;
1815
- }, {
1816
- url: string;
1817
- detail?: string | undefined;
392
+ }, zod.z.core.$strip>;
393
+ }, zod.z.core.$strip>, zod.ZodObject<{
394
+ type: zod.ZodEnum<{
395
+ text: "text";
1818
396
  }>;
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
397
  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">>;
398
+ }, zod.z.core.$strip>]>>;
399
+ }, zod.z.core.$strip>]>>>;
1866
400
  resource: zod.ZodOptional<zod.ZodObject<{
1867
- id: zod.ZodOptional<zod.ZodString>;
401
+ id: zod.ZodOptional<zod.ZodUUID>;
1868
402
  name: zod.ZodOptional<zod.ZodString>;
1869
403
  version: zod.ZodOptional<zod.ZodString>;
1870
404
  scenario: zod.ZodOptional<zod.ZodString>;
@@ -1872,481 +406,61 @@ export declare const registryControllerPromptControllerParsePromptTemplateByIdRe
1872
406
  managedBy: zod.ZodOptional<zod.ZodString>;
1873
407
  isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
1874
408
  spec: zod.ZodOptional<zod.ZodObject<{
1875
- template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
409
+ template: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
1876
410
  role: zod.ZodString;
1877
411
  content: zod.ZodString;
1878
- }, "strip", zod.ZodTypeAny, {
1879
- role: string;
1880
- content: string;
1881
- }, {
1882
- role: string;
1883
- content: string;
1884
- }>, zod.ZodObject<{
412
+ }, zod.z.core.$strip>, zod.ZodObject<{
1885
413
  role: zod.ZodString;
1886
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
1887
- type: zod.ZodEnum<["image_url"]>;
414
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
415
+ type: zod.ZodEnum<{
416
+ image_url: "image_url";
417
+ }>;
1888
418
  image_url: zod.ZodObject<{
1889
419
  url: zod.ZodString;
1890
420
  detail: zod.ZodDefault<zod.ZodString>;
1891
- }, "strip", zod.ZodTypeAny, {
1892
- url: string;
1893
- detail: string;
1894
- }, {
1895
- url: string;
1896
- detail?: string | undefined;
421
+ }, zod.z.core.$strip>;
422
+ }, zod.z.core.$strip>, zod.ZodObject<{
423
+ type: zod.ZodEnum<{
424
+ text: "text";
1897
425
  }>;
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
426
  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.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"]>;
427
+ }, zod.z.core.$strip>]>>;
428
+ }, zod.z.core.$strip>]>>;
429
+ defaults: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
430
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
431
+ response_format: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
432
+ type: zod.ZodEnum<{
433
+ text: "text";
434
+ }>;
435
+ }, zod.z.core.$strip>, zod.ZodObject<{
436
+ type: zod.ZodEnum<{
437
+ json_object: "json_object";
438
+ }>;
439
+ }, zod.z.core.$strip>, zod.ZodObject<{
440
+ type: zod.ZodEnum<{
441
+ json_schema: "json_schema";
442
+ }>;
1961
443
  json_schema: zod.ZodObject<{
1962
444
  description: zod.ZodOptional<zod.ZodString>;
1963
445
  name: zod.ZodString;
1964
446
  schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1965
447
  strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
1966
- }, "strip", zod.ZodTypeAny, {
1967
- name: string;
1968
- description?: string | undefined;
1969
- schema?: Record<string, unknown> | undefined;
1970
- strict?: boolean | null | undefined;
1971
- }, {
1972
- name: string;
1973
- description?: string | undefined;
1974
- schema?: Record<string, unknown> | 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, unknown> | 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, unknown> | undefined;
1990
- strict?: boolean | null | undefined;
1991
- };
1992
- type: "json_schema";
1993
- }>]>>;
448
+ }, zod.z.core.$strip>;
449
+ }, zod.z.core.$strip>]>>;
1994
450
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1995
- type: zod.ZodEnum<["function"]>;
451
+ type: zod.ZodEnum<{
452
+ function: "function";
453
+ }>;
1996
454
  function: zod.ZodObject<{
1997
455
  description: zod.ZodOptional<zod.ZodString>;
1998
456
  name: zod.ZodString;
1999
457
  parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2000
458
  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, unknown> | undefined;
2006
- }, {
2007
- name: string;
2008
- description?: string | undefined;
2009
- strict?: boolean | null | undefined;
2010
- parameters?: Record<string, unknown> | undefined;
2011
- }>;
2012
- }, "strip", zod.ZodTypeAny, {
2013
- function: {
2014
- name: string;
2015
- description?: string | undefined;
2016
- strict?: boolean | null | undefined;
2017
- parameters?: Record<string, unknown> | undefined;
2018
- };
2019
- type: "function";
2020
- }, {
2021
- function: {
2022
- name: string;
2023
- description?: string | undefined;
2024
- strict?: boolean | null | undefined;
2025
- parameters?: Record<string, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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
- }>;
459
+ }, zod.z.core.$strip>;
460
+ }, zod.z.core.$strip>>>;
461
+ }, zod.z.core.$strip>>;
462
+ }, zod.z.core.$strip>>;
463
+ }, zod.z.core.$strip>;
2350
464
  /**
2351
465
  * Parse prompt template by name and version.
2352
466
  */
@@ -2354,30 +468,14 @@ export declare const registryControllerPromptControllerParsePromptTemplateByName
2354
468
  scenario: zod.ZodString;
2355
469
  version: zod.ZodString;
2356
470
  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
- }>;
471
+ }, zod.z.core.$strip>;
2366
472
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionQueryMetadataDefault = false;
2367
473
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionQueryParams: zod.ZodObject<{
2368
474
  metadata: zod.ZodOptional<zod.ZodBoolean>;
2369
- }, "strip", zod.ZodTypeAny, {
2370
- metadata?: boolean | undefined;
2371
- }, {
2372
- metadata?: boolean | undefined;
2373
- }>;
475
+ }, zod.z.core.$strip>;
2374
476
  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
- }>;
477
+ inputParams: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
478
+ }, zod.z.core.$strip>;
2381
479
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseParsedPromptItemContentItemImageUrlDetailDefault = "auto";
2382
480
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecTemplateItemContentItemImageUrlDetailDefault = "auto";
2383
481
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecResponseFormatJsonSchemaNameMax = 64;
@@ -2387,78 +485,28 @@ export declare const registryControllerPromptControllerParsePromptTemplateByName
2387
485
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecToolsItemFunctionNameRegExp: RegExp;
2388
486
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponseResourceSpecToolsItemFunctionStrictDefault = false;
2389
487
  export declare const registryControllerPromptControllerParsePromptTemplateByNameVersionResponse: zod.ZodObject<{
2390
- parsedPrompt: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
488
+ parsedPrompt: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
2391
489
  role: zod.ZodString;
2392
490
  content: zod.ZodString;
2393
- }, "strip", zod.ZodTypeAny, {
2394
- role: string;
2395
- content: string;
2396
- }, {
2397
- role: string;
2398
- content: string;
2399
- }>, zod.ZodObject<{
491
+ }, zod.z.core.$strip>, zod.ZodObject<{
2400
492
  role: zod.ZodString;
2401
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
2402
- type: zod.ZodEnum<["image_url"]>;
493
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
494
+ type: zod.ZodEnum<{
495
+ image_url: "image_url";
496
+ }>;
2403
497
  image_url: zod.ZodObject<{
2404
498
  url: zod.ZodString;
2405
499
  detail: zod.ZodDefault<zod.ZodString>;
2406
- }, "strip", zod.ZodTypeAny, {
2407
- url: string;
2408
- detail: string;
2409
- }, {
2410
- url: string;
2411
- detail?: string | undefined;
500
+ }, zod.z.core.$strip>;
501
+ }, zod.z.core.$strip>, zod.ZodObject<{
502
+ type: zod.ZodEnum<{
503
+ text: "text";
2412
504
  }>;
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
505
  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">>;
506
+ }, zod.z.core.$strip>]>>;
507
+ }, zod.z.core.$strip>]>>>;
2460
508
  resource: zod.ZodOptional<zod.ZodObject<{
2461
- id: zod.ZodOptional<zod.ZodString>;
509
+ id: zod.ZodOptional<zod.ZodUUID>;
2462
510
  name: zod.ZodOptional<zod.ZodString>;
2463
511
  version: zod.ZodOptional<zod.ZodString>;
2464
512
  scenario: zod.ZodOptional<zod.ZodString>;
@@ -2466,479 +514,59 @@ export declare const registryControllerPromptControllerParsePromptTemplateByName
2466
514
  managedBy: zod.ZodOptional<zod.ZodString>;
2467
515
  isVersionHead: zod.ZodOptional<zod.ZodBoolean>;
2468
516
  spec: zod.ZodOptional<zod.ZodObject<{
2469
- template: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
517
+ template: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
2470
518
  role: zod.ZodString;
2471
519
  content: zod.ZodString;
2472
- }, "strip", zod.ZodTypeAny, {
2473
- role: string;
2474
- content: string;
2475
- }, {
2476
- role: string;
2477
- content: string;
2478
- }>, zod.ZodObject<{
520
+ }, zod.z.core.$strip>, zod.ZodObject<{
2479
521
  role: zod.ZodString;
2480
- content: zod.ZodArray<zod.ZodUnion<[zod.ZodObject<{
2481
- type: zod.ZodEnum<["image_url"]>;
522
+ content: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
523
+ type: zod.ZodEnum<{
524
+ image_url: "image_url";
525
+ }>;
2482
526
  image_url: zod.ZodObject<{
2483
527
  url: zod.ZodString;
2484
528
  detail: zod.ZodDefault<zod.ZodString>;
2485
- }, "strip", zod.ZodTypeAny, {
2486
- url: string;
2487
- detail: string;
2488
- }, {
2489
- url: string;
2490
- detail?: string | undefined;
529
+ }, zod.z.core.$strip>;
530
+ }, zod.z.core.$strip>, zod.ZodObject<{
531
+ type: zod.ZodEnum<{
532
+ text: "text";
2491
533
  }>;
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
534
  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.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"]>;
535
+ }, zod.z.core.$strip>]>>;
536
+ }, zod.z.core.$strip>]>>;
537
+ defaults: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
538
+ additionalFields: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$strip>>;
539
+ response_format: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
540
+ type: zod.ZodEnum<{
541
+ text: "text";
542
+ }>;
543
+ }, zod.z.core.$strip>, zod.ZodObject<{
544
+ type: zod.ZodEnum<{
545
+ json_object: "json_object";
546
+ }>;
547
+ }, zod.z.core.$strip>, zod.ZodObject<{
548
+ type: zod.ZodEnum<{
549
+ json_schema: "json_schema";
550
+ }>;
2555
551
  json_schema: zod.ZodObject<{
2556
552
  description: zod.ZodOptional<zod.ZodString>;
2557
553
  name: zod.ZodString;
2558
554
  schema: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2559
555
  strict: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
2560
- }, "strip", zod.ZodTypeAny, {
2561
- name: string;
2562
- description?: string | undefined;
2563
- schema?: Record<string, unknown> | undefined;
2564
- strict?: boolean | null | undefined;
2565
- }, {
2566
- name: string;
2567
- description?: string | undefined;
2568
- schema?: Record<string, unknown> | 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, unknown> | 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, unknown> | undefined;
2584
- strict?: boolean | null | undefined;
2585
- };
2586
- type: "json_schema";
2587
- }>]>>;
556
+ }, zod.z.core.$strip>;
557
+ }, zod.z.core.$strip>]>>;
2588
558
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2589
- type: zod.ZodEnum<["function"]>;
559
+ type: zod.ZodEnum<{
560
+ function: "function";
561
+ }>;
2590
562
  function: zod.ZodObject<{
2591
563
  description: zod.ZodOptional<zod.ZodString>;
2592
564
  name: zod.ZodString;
2593
565
  parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2594
566
  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, unknown> | undefined;
2600
- }, {
2601
- name: string;
2602
- description?: string | undefined;
2603
- strict?: boolean | null | undefined;
2604
- parameters?: Record<string, unknown> | undefined;
2605
- }>;
2606
- }, "strip", zod.ZodTypeAny, {
2607
- function: {
2608
- name: string;
2609
- description?: string | undefined;
2610
- strict?: boolean | null | undefined;
2611
- parameters?: Record<string, unknown> | undefined;
2612
- };
2613
- type: "function";
2614
- }, {
2615
- function: {
2616
- name: string;
2617
- description?: string | undefined;
2618
- strict?: boolean | null | undefined;
2619
- parameters?: Record<string, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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, unknown> | 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
- }>;
567
+ }, zod.z.core.$strip>;
568
+ }, zod.z.core.$strip>>>;
569
+ }, zod.z.core.$strip>>;
570
+ }, zod.z.core.$strip>>;
571
+ }, zod.z.core.$strip>;
2944
572
  //# sourceMappingURL=prompt-registry.zod.d.ts.map