@sap-ai-sdk/prompt-registry 1.11.1-20250415013200.0 → 1.11.1-20250415115505.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/zod/chat-completion-tool.zod.d.ts +40 -0
  6. package/dist/zod/chat-completion-tool.zod.d.ts.map +1 -0
  7. package/dist/zod/chat-completion-tool.zod.js +11 -0
  8. package/dist/zod/chat-completion-tool.zod.js.map +1 -0
  9. package/dist/zod/function-object.zod.d.ts +21 -0
  10. package/dist/zod/function-object.zod.d.ts.map +1 -0
  11. package/dist/zod/function-object.zod.js +13 -0
  12. package/dist/zod/function-object.zod.js.map +1 -0
  13. package/dist/zod/function-parameters.zod.d.ts +6 -0
  14. package/dist/zod/function-parameters.zod.d.ts.map +1 -0
  15. package/dist/zod/function-parameters.zod.js +7 -0
  16. package/dist/zod/function-parameters.zod.js.map +1 -0
  17. package/dist/zod/image-content.zod.d.ts +30 -0
  18. package/dist/zod/image-content.zod.d.ts.map +1 -0
  19. package/dist/zod/image-content.zod.js +15 -0
  20. package/dist/zod/image-content.zod.js.map +1 -0
  21. package/dist/zod/multi-chat-content.zod.d.ts +39 -0
  22. package/dist/zod/multi-chat-content.zod.d.ts.map +1 -0
  23. package/dist/zod/multi-chat-content.zod.js +12 -0
  24. package/dist/zod/multi-chat-content.zod.js.map +1 -0
  25. package/dist/zod/multi-chat-template.zod.d.ts +66 -0
  26. package/dist/zod/multi-chat-template.zod.d.ts.map +1 -0
  27. package/dist/zod/multi-chat-template.zod.js +11 -0
  28. package/dist/zod/multi-chat-template.zod.js.map +1 -0
  29. package/dist/zod/prompt-template-post-request.zod.d.ts +569 -0
  30. package/dist/zod/prompt-template-post-request.zod.d.ts.map +1 -0
  31. package/dist/zod/prompt-template-post-request.zod.js +12 -0
  32. package/dist/zod/prompt-template-post-request.zod.js.map +1 -0
  33. package/dist/zod/prompt-template-spec.zod.d.ts +471 -0
  34. package/dist/zod/prompt-template-spec.zod.d.ts.map +1 -0
  35. package/dist/zod/prompt-template-spec.zod.js +26 -0
  36. package/dist/zod/prompt-template-spec.zod.js.map +1 -0
  37. package/dist/zod/response-format-json-object.zod.d.ts +12 -0
  38. package/dist/zod/response-format-json-object.zod.d.ts.map +1 -0
  39. package/dist/zod/response-format-json-object.zod.js +9 -0
  40. package/dist/zod/response-format-json-object.zod.js.map +1 -0
  41. package/dist/zod/response-format-json-schema-schema.zod.d.ts +6 -0
  42. package/dist/zod/response-format-json-schema-schema.zod.d.ts.map +1 -0
  43. package/dist/zod/response-format-json-schema-schema.zod.js +7 -0
  44. package/dist/zod/response-format-json-schema-schema.zod.js.map +1 -0
  45. package/dist/zod/response-format-json-schema.zod.d.ts +40 -0
  46. package/dist/zod/response-format-json-schema.zod.d.ts.map +1 -0
  47. package/dist/zod/response-format-json-schema.zod.js +16 -0
  48. package/dist/zod/response-format-json-schema.zod.js.map +1 -0
  49. package/dist/zod/response-format-text.zod.d.ts +12 -0
  50. package/dist/zod/response-format-text.zod.d.ts.map +1 -0
  51. package/dist/zod/response-format-text.zod.js +9 -0
  52. package/dist/zod/response-format-text.zod.js.map +1 -0
  53. package/dist/zod/single-chat-template.zod.d.ts +15 -0
  54. package/dist/zod/single-chat-template.zod.d.ts.map +1 -0
  55. package/dist/zod/single-chat-template.zod.js +10 -0
  56. package/dist/zod/single-chat-template.zod.js.map +1 -0
  57. package/dist/zod/template.zod.d.ts +75 -0
  58. package/dist/zod/template.zod.d.ts.map +1 -0
  59. package/dist/zod/template.zod.js +12 -0
  60. package/dist/zod/template.zod.js.map +1 -0
  61. package/dist/zod/text-content.zod.d.ts +15 -0
  62. package/dist/zod/text-content.zod.d.ts.map +1 -0
  63. package/dist/zod/text-content.zod.js +10 -0
  64. package/dist/zod/text-content.zod.js.map +1 -0
  65. package/package.json +8 -4
@@ -0,0 +1,569 @@
1
+ import { z } from 'zod';
2
+ export declare const promptTemplatePostRequestSchema: z.ZodIntersection<z.ZodObject<{
3
+ name: z.ZodString;
4
+ version: z.ZodString;
5
+ scenario: z.ZodString;
6
+ spec: z.ZodObject<{
7
+ template: z.ZodArray<z.ZodUnion<[z.ZodObject<{
8
+ role: z.ZodString;
9
+ content: z.ZodString;
10
+ }, "strip", z.ZodTypeAny, {
11
+ role: string;
12
+ content: string;
13
+ }, {
14
+ role: string;
15
+ content: string;
16
+ }>, z.ZodObject<{
17
+ role: z.ZodString;
18
+ content: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
19
+ type: z.ZodLiteral<"image_url">;
20
+ image_url: z.ZodObject<{
21
+ url: z.ZodString;
22
+ detail: z.ZodOptional<z.ZodString>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ url: string;
25
+ detail?: string | undefined;
26
+ }, {
27
+ url: string;
28
+ detail?: string | undefined;
29
+ }>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ image_url: {
32
+ url: string;
33
+ detail?: string | undefined;
34
+ };
35
+ type: "image_url";
36
+ }, {
37
+ image_url: {
38
+ url: string;
39
+ detail?: string | undefined;
40
+ };
41
+ type: "image_url";
42
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodObject<{
43
+ type: z.ZodLiteral<"text">;
44
+ text: z.ZodString;
45
+ }, "strip", z.ZodTypeAny, {
46
+ text: string;
47
+ type: "text";
48
+ }, {
49
+ text: string;
50
+ type: "text";
51
+ }>]>, "many">;
52
+ }, "strip", z.ZodTypeAny, {
53
+ role: string;
54
+ content: ({
55
+ text: string;
56
+ type: "text";
57
+ } | ({
58
+ image_url: {
59
+ url: string;
60
+ detail?: string | undefined;
61
+ };
62
+ type: "image_url";
63
+ } & Record<string, any>))[];
64
+ }, {
65
+ role: string;
66
+ content: ({
67
+ text: string;
68
+ type: "text";
69
+ } | ({
70
+ image_url: {
71
+ url: string;
72
+ detail?: string | undefined;
73
+ };
74
+ type: "image_url";
75
+ } & Record<string, any>))[];
76
+ }>]>, "many">;
77
+ defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
78
+ additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
79
+ response_format: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
80
+ type: z.ZodLiteral<"text">;
81
+ }, "strip", z.ZodTypeAny, {
82
+ type: "text";
83
+ }, {
84
+ type: "text";
85
+ }>, z.ZodObject<{
86
+ type: z.ZodLiteral<"json_object">;
87
+ }, "strip", z.ZodTypeAny, {
88
+ type: "json_object";
89
+ }, {
90
+ type: "json_object";
91
+ }>, z.ZodObject<{
92
+ type: z.ZodLiteral<"json_schema">;
93
+ json_schema: z.ZodObject<{
94
+ description: z.ZodOptional<z.ZodString>;
95
+ name: z.ZodString;
96
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
97
+ strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ name: string;
100
+ description?: string | undefined;
101
+ schema?: Record<string, any> | undefined;
102
+ strict?: boolean | null | undefined;
103
+ }, {
104
+ name: string;
105
+ description?: string | undefined;
106
+ schema?: Record<string, any> | undefined;
107
+ strict?: boolean | null | undefined;
108
+ }>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ json_schema: {
111
+ name: string;
112
+ description?: string | undefined;
113
+ schema?: Record<string, any> | undefined;
114
+ strict?: boolean | null | undefined;
115
+ };
116
+ type: "json_schema";
117
+ }, {
118
+ json_schema: {
119
+ name: string;
120
+ description?: string | undefined;
121
+ schema?: Record<string, any> | undefined;
122
+ strict?: boolean | null | undefined;
123
+ };
124
+ type: "json_schema";
125
+ }>]>>;
126
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
127
+ type: z.ZodLiteral<"function">;
128
+ function: z.ZodObject<{
129
+ description: z.ZodOptional<z.ZodString>;
130
+ name: z.ZodString;
131
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
132
+ strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ name: string;
135
+ description?: string | undefined;
136
+ strict?: boolean | null | undefined;
137
+ parameters?: Record<string, any> | undefined;
138
+ }, {
139
+ name: string;
140
+ description?: string | undefined;
141
+ strict?: boolean | null | undefined;
142
+ parameters?: Record<string, any> | undefined;
143
+ }>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ function: {
146
+ name: string;
147
+ description?: string | undefined;
148
+ strict?: boolean | null | undefined;
149
+ parameters?: Record<string, any> | undefined;
150
+ };
151
+ type: "function";
152
+ }, {
153
+ function: {
154
+ name: string;
155
+ description?: string | undefined;
156
+ strict?: boolean | null | undefined;
157
+ parameters?: Record<string, any> | undefined;
158
+ };
159
+ type: "function";
160
+ }>, "many">>;
161
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
162
+ template: z.ZodArray<z.ZodUnion<[z.ZodObject<{
163
+ role: z.ZodString;
164
+ content: z.ZodString;
165
+ }, "strip", z.ZodTypeAny, {
166
+ role: string;
167
+ content: string;
168
+ }, {
169
+ role: string;
170
+ content: string;
171
+ }>, z.ZodObject<{
172
+ role: z.ZodString;
173
+ content: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
174
+ type: z.ZodLiteral<"image_url">;
175
+ image_url: z.ZodObject<{
176
+ url: z.ZodString;
177
+ detail: z.ZodOptional<z.ZodString>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ url: string;
180
+ detail?: string | undefined;
181
+ }, {
182
+ url: string;
183
+ detail?: string | undefined;
184
+ }>;
185
+ }, "strip", z.ZodTypeAny, {
186
+ image_url: {
187
+ url: string;
188
+ detail?: string | undefined;
189
+ };
190
+ type: "image_url";
191
+ }, {
192
+ image_url: {
193
+ url: string;
194
+ detail?: string | undefined;
195
+ };
196
+ type: "image_url";
197
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodObject<{
198
+ type: z.ZodLiteral<"text">;
199
+ text: z.ZodString;
200
+ }, "strip", z.ZodTypeAny, {
201
+ text: string;
202
+ type: "text";
203
+ }, {
204
+ text: string;
205
+ type: "text";
206
+ }>]>, "many">;
207
+ }, "strip", z.ZodTypeAny, {
208
+ role: string;
209
+ content: ({
210
+ text: string;
211
+ type: "text";
212
+ } | ({
213
+ image_url: {
214
+ url: string;
215
+ detail?: string | undefined;
216
+ };
217
+ type: "image_url";
218
+ } & Record<string, any>))[];
219
+ }, {
220
+ role: string;
221
+ content: ({
222
+ text: string;
223
+ type: "text";
224
+ } | ({
225
+ image_url: {
226
+ url: string;
227
+ detail?: string | undefined;
228
+ };
229
+ type: "image_url";
230
+ } & Record<string, any>))[];
231
+ }>]>, "many">;
232
+ defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
233
+ additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
234
+ response_format: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
235
+ type: z.ZodLiteral<"text">;
236
+ }, "strip", z.ZodTypeAny, {
237
+ type: "text";
238
+ }, {
239
+ type: "text";
240
+ }>, z.ZodObject<{
241
+ type: z.ZodLiteral<"json_object">;
242
+ }, "strip", z.ZodTypeAny, {
243
+ type: "json_object";
244
+ }, {
245
+ type: "json_object";
246
+ }>, z.ZodObject<{
247
+ type: z.ZodLiteral<"json_schema">;
248
+ json_schema: z.ZodObject<{
249
+ description: z.ZodOptional<z.ZodString>;
250
+ name: z.ZodString;
251
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
252
+ strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ name: string;
255
+ description?: string | undefined;
256
+ schema?: Record<string, any> | undefined;
257
+ strict?: boolean | null | undefined;
258
+ }, {
259
+ name: string;
260
+ description?: string | undefined;
261
+ schema?: Record<string, any> | undefined;
262
+ strict?: boolean | null | undefined;
263
+ }>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ json_schema: {
266
+ name: string;
267
+ description?: string | undefined;
268
+ schema?: Record<string, any> | undefined;
269
+ strict?: boolean | null | undefined;
270
+ };
271
+ type: "json_schema";
272
+ }, {
273
+ json_schema: {
274
+ name: string;
275
+ description?: string | undefined;
276
+ schema?: Record<string, any> | undefined;
277
+ strict?: boolean | null | undefined;
278
+ };
279
+ type: "json_schema";
280
+ }>]>>;
281
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
282
+ type: z.ZodLiteral<"function">;
283
+ function: z.ZodObject<{
284
+ description: z.ZodOptional<z.ZodString>;
285
+ name: z.ZodString;
286
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
287
+ strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
288
+ }, "strip", z.ZodTypeAny, {
289
+ name: string;
290
+ description?: string | undefined;
291
+ strict?: boolean | null | undefined;
292
+ parameters?: Record<string, any> | undefined;
293
+ }, {
294
+ name: string;
295
+ description?: string | undefined;
296
+ strict?: boolean | null | undefined;
297
+ parameters?: Record<string, any> | undefined;
298
+ }>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ function: {
301
+ name: string;
302
+ description?: string | undefined;
303
+ strict?: boolean | null | undefined;
304
+ parameters?: Record<string, any> | undefined;
305
+ };
306
+ type: "function";
307
+ }, {
308
+ function: {
309
+ name: string;
310
+ description?: string | undefined;
311
+ strict?: boolean | null | undefined;
312
+ parameters?: Record<string, any> | undefined;
313
+ };
314
+ type: "function";
315
+ }>, "many">>;
316
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
317
+ template: z.ZodArray<z.ZodUnion<[z.ZodObject<{
318
+ role: z.ZodString;
319
+ content: z.ZodString;
320
+ }, "strip", z.ZodTypeAny, {
321
+ role: string;
322
+ content: string;
323
+ }, {
324
+ role: string;
325
+ content: string;
326
+ }>, z.ZodObject<{
327
+ role: z.ZodString;
328
+ content: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
329
+ type: z.ZodLiteral<"image_url">;
330
+ image_url: z.ZodObject<{
331
+ url: z.ZodString;
332
+ detail: z.ZodOptional<z.ZodString>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ url: string;
335
+ detail?: string | undefined;
336
+ }, {
337
+ url: string;
338
+ detail?: string | undefined;
339
+ }>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ image_url: {
342
+ url: string;
343
+ detail?: string | undefined;
344
+ };
345
+ type: "image_url";
346
+ }, {
347
+ image_url: {
348
+ url: string;
349
+ detail?: string | undefined;
350
+ };
351
+ type: "image_url";
352
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodObject<{
353
+ type: z.ZodLiteral<"text">;
354
+ text: z.ZodString;
355
+ }, "strip", z.ZodTypeAny, {
356
+ text: string;
357
+ type: "text";
358
+ }, {
359
+ text: string;
360
+ type: "text";
361
+ }>]>, "many">;
362
+ }, "strip", z.ZodTypeAny, {
363
+ role: string;
364
+ content: ({
365
+ text: string;
366
+ type: "text";
367
+ } | ({
368
+ image_url: {
369
+ url: string;
370
+ detail?: string | undefined;
371
+ };
372
+ type: "image_url";
373
+ } & Record<string, any>))[];
374
+ }, {
375
+ role: string;
376
+ content: ({
377
+ text: string;
378
+ type: "text";
379
+ } | ({
380
+ image_url: {
381
+ url: string;
382
+ detail?: string | undefined;
383
+ };
384
+ type: "image_url";
385
+ } & Record<string, any>))[];
386
+ }>]>, "many">;
387
+ defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
388
+ additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
389
+ response_format: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
390
+ type: z.ZodLiteral<"text">;
391
+ }, "strip", z.ZodTypeAny, {
392
+ type: "text";
393
+ }, {
394
+ type: "text";
395
+ }>, z.ZodObject<{
396
+ type: z.ZodLiteral<"json_object">;
397
+ }, "strip", z.ZodTypeAny, {
398
+ type: "json_object";
399
+ }, {
400
+ type: "json_object";
401
+ }>, z.ZodObject<{
402
+ type: z.ZodLiteral<"json_schema">;
403
+ json_schema: z.ZodObject<{
404
+ description: z.ZodOptional<z.ZodString>;
405
+ name: z.ZodString;
406
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
407
+ strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
408
+ }, "strip", z.ZodTypeAny, {
409
+ name: string;
410
+ description?: string | undefined;
411
+ schema?: Record<string, any> | undefined;
412
+ strict?: boolean | null | undefined;
413
+ }, {
414
+ name: string;
415
+ description?: string | undefined;
416
+ schema?: Record<string, any> | undefined;
417
+ strict?: boolean | null | undefined;
418
+ }>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ json_schema: {
421
+ name: string;
422
+ description?: string | undefined;
423
+ schema?: Record<string, any> | undefined;
424
+ strict?: boolean | null | undefined;
425
+ };
426
+ type: "json_schema";
427
+ }, {
428
+ json_schema: {
429
+ name: string;
430
+ description?: string | undefined;
431
+ schema?: Record<string, any> | undefined;
432
+ strict?: boolean | null | undefined;
433
+ };
434
+ type: "json_schema";
435
+ }>]>>;
436
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
437
+ type: z.ZodLiteral<"function">;
438
+ function: z.ZodObject<{
439
+ description: z.ZodOptional<z.ZodString>;
440
+ name: z.ZodString;
441
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
442
+ strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ name: string;
445
+ description?: string | undefined;
446
+ strict?: boolean | null | undefined;
447
+ parameters?: Record<string, any> | undefined;
448
+ }, {
449
+ name: string;
450
+ description?: string | undefined;
451
+ strict?: boolean | null | undefined;
452
+ parameters?: Record<string, any> | undefined;
453
+ }>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ function: {
456
+ name: string;
457
+ description?: string | undefined;
458
+ strict?: boolean | null | undefined;
459
+ parameters?: Record<string, any> | undefined;
460
+ };
461
+ type: "function";
462
+ }, {
463
+ function: {
464
+ name: string;
465
+ description?: string | undefined;
466
+ strict?: boolean | null | undefined;
467
+ parameters?: Record<string, any> | undefined;
468
+ };
469
+ type: "function";
470
+ }>, "many">>;
471
+ }, z.ZodTypeAny, "passthrough">>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ scenario: string;
474
+ version: string;
475
+ name: string;
476
+ spec: {
477
+ template: ({
478
+ role: string;
479
+ content: string;
480
+ } | {
481
+ role: string;
482
+ content: ({
483
+ text: string;
484
+ type: "text";
485
+ } | ({
486
+ image_url: {
487
+ url: string;
488
+ detail?: string | undefined;
489
+ };
490
+ type: "image_url";
491
+ } & Record<string, any>))[];
492
+ })[];
493
+ defaults?: Record<string, any> | undefined;
494
+ additionalFields?: Record<string, any> | undefined;
495
+ response_format?: {
496
+ type: "text";
497
+ } | {
498
+ type: "json_object";
499
+ } | {
500
+ json_schema: {
501
+ name: string;
502
+ description?: string | undefined;
503
+ schema?: Record<string, any> | undefined;
504
+ strict?: boolean | null | undefined;
505
+ };
506
+ type: "json_schema";
507
+ } | undefined;
508
+ tools?: {
509
+ function: {
510
+ name: string;
511
+ description?: string | undefined;
512
+ strict?: boolean | null | undefined;
513
+ parameters?: Record<string, any> | undefined;
514
+ };
515
+ type: "function";
516
+ }[] | undefined;
517
+ } & {
518
+ [k: string]: unknown;
519
+ };
520
+ }, {
521
+ scenario: string;
522
+ version: string;
523
+ name: string;
524
+ spec: {
525
+ template: ({
526
+ role: string;
527
+ content: string;
528
+ } | {
529
+ role: string;
530
+ content: ({
531
+ text: string;
532
+ type: "text";
533
+ } | ({
534
+ image_url: {
535
+ url: string;
536
+ detail?: string | undefined;
537
+ };
538
+ type: "image_url";
539
+ } & Record<string, any>))[];
540
+ })[];
541
+ defaults?: Record<string, any> | undefined;
542
+ additionalFields?: Record<string, any> | undefined;
543
+ response_format?: {
544
+ type: "text";
545
+ } | {
546
+ type: "json_object";
547
+ } | {
548
+ json_schema: {
549
+ name: string;
550
+ description?: string | undefined;
551
+ schema?: Record<string, any> | undefined;
552
+ strict?: boolean | null | undefined;
553
+ };
554
+ type: "json_schema";
555
+ } | undefined;
556
+ tools?: {
557
+ function: {
558
+ name: string;
559
+ description?: string | undefined;
560
+ strict?: boolean | null | undefined;
561
+ parameters?: Record<string, any> | undefined;
562
+ };
563
+ type: "function";
564
+ }[] | undefined;
565
+ } & {
566
+ [k: string]: unknown;
567
+ };
568
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>;
569
+ //# sourceMappingURL=prompt-template-post-request.zod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt-template-post-request.zod.d.ts","sourceRoot":"","sources":["../../src/zod/prompt-template-post-request.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAOnB,CAAC"}
@@ -0,0 +1,12 @@
1
+ // Generated by ts-to-zod
2
+ import { z } from 'zod';
3
+ import { promptTemplateSpecSchema } from './prompt-template-spec.zod.js';
4
+ export const promptTemplatePostRequestSchema = z
5
+ .object({
6
+ name: z.string(),
7
+ version: z.string(),
8
+ scenario: z.string(),
9
+ spec: promptTemplateSpecSchema
10
+ })
11
+ .and(z.record(z.any()));
12
+ //# sourceMappingURL=prompt-template-post-request.zod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt-template-post-request.zod.js","sourceRoot":"","sources":["../../src/zod/prompt-template-post-request.zod.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,wBAAwB;CAC/B,CAAC;KACD,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC"}