@decocms/bindings 0.2.2 → 0.2.4-beta.1

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.
@@ -0,0 +1,2071 @@
1
+ import { CollectionListInputSchema, CollectionGetInputSchema, CollectionDeleteInputSchema } from './collections.js';
2
+ import { z } from 'zod';
3
+
4
+ /**
5
+ * Model entity schema for AI models
6
+ * Extends BaseCollectionEntitySchema with model-specific fields
7
+ * Base schema already includes: id, title, created_at, updated_at, created_by, updated_by
8
+ */
9
+ declare const ModelSchema: z.ZodObject<{
10
+ id: z.ZodString;
11
+ title: z.ZodString;
12
+ created_at: z.ZodString;
13
+ updated_at: z.ZodString;
14
+ created_by: z.ZodOptional<z.ZodString>;
15
+ updated_by: z.ZodOptional<z.ZodString>;
16
+ } & {
17
+ logo: z.ZodNullable<z.ZodString>;
18
+ description: z.ZodNullable<z.ZodString>;
19
+ capabilities: z.ZodArray<z.ZodString, "many">;
20
+ limits: z.ZodNullable<z.ZodObject<{
21
+ contextWindow: z.ZodNumber;
22
+ maxOutputTokens: z.ZodNumber;
23
+ }, "strip", z.ZodTypeAny, {
24
+ contextWindow: number;
25
+ maxOutputTokens: number;
26
+ }, {
27
+ contextWindow: number;
28
+ maxOutputTokens: number;
29
+ }>>;
30
+ costs: z.ZodNullable<z.ZodObject<{
31
+ input: z.ZodNumber;
32
+ output: z.ZodNumber;
33
+ }, "strip", z.ZodTypeAny, {
34
+ input: number;
35
+ output: number;
36
+ }, {
37
+ input: number;
38
+ output: number;
39
+ }>>;
40
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
41
+ endpoint: z.ZodNullable<z.ZodObject<{
42
+ url: z.ZodString;
43
+ method: z.ZodDefault<z.ZodString>;
44
+ contentType: z.ZodDefault<z.ZodString>;
45
+ stream: z.ZodDefault<z.ZodBoolean>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ url: string;
48
+ method: string;
49
+ contentType: string;
50
+ stream: boolean;
51
+ }, {
52
+ url: string;
53
+ method?: string | undefined;
54
+ contentType?: string | undefined;
55
+ stream?: boolean | undefined;
56
+ }>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ id: string;
59
+ title: string;
60
+ created_at: string;
61
+ updated_at: string;
62
+ logo: string | null;
63
+ description: string | null;
64
+ capabilities: string[];
65
+ limits: {
66
+ contextWindow: number;
67
+ maxOutputTokens: number;
68
+ } | null;
69
+ costs: {
70
+ input: number;
71
+ output: number;
72
+ } | null;
73
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
74
+ endpoint: {
75
+ url: string;
76
+ method: string;
77
+ contentType: string;
78
+ stream: boolean;
79
+ } | null;
80
+ created_by?: string | undefined;
81
+ updated_by?: string | undefined;
82
+ }, {
83
+ id: string;
84
+ title: string;
85
+ created_at: string;
86
+ updated_at: string;
87
+ logo: string | null;
88
+ description: string | null;
89
+ capabilities: string[];
90
+ limits: {
91
+ contextWindow: number;
92
+ maxOutputTokens: number;
93
+ } | null;
94
+ costs: {
95
+ input: number;
96
+ output: number;
97
+ } | null;
98
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
99
+ endpoint: {
100
+ url: string;
101
+ method?: string | undefined;
102
+ contentType?: string | undefined;
103
+ stream?: boolean | undefined;
104
+ } | null;
105
+ created_by?: string | undefined;
106
+ updated_by?: string | undefined;
107
+ }>;
108
+ /**
109
+ * MODELS Collection Binding
110
+ *
111
+ * Collection bindings for models (read-only).
112
+ * Provides LIST and GET operations for AI models.
113
+ */
114
+ declare const MODELS_COLLECTION_BINDING: ({
115
+ name: "COLLECTION_MODELS_LIST";
116
+ inputSchema: typeof CollectionListInputSchema;
117
+ outputSchema: z.ZodObject<{
118
+ items: z.ZodArray<z.ZodObject<{
119
+ id: z.ZodString;
120
+ title: z.ZodString;
121
+ created_at: z.ZodString;
122
+ updated_at: z.ZodString;
123
+ created_by: z.ZodOptional<z.ZodString>;
124
+ updated_by: z.ZodOptional<z.ZodString>;
125
+ } & {
126
+ logo: z.ZodNullable<z.ZodString>;
127
+ description: z.ZodNullable<z.ZodString>;
128
+ capabilities: z.ZodArray<z.ZodString, "many">;
129
+ limits: z.ZodNullable<z.ZodObject<{
130
+ contextWindow: z.ZodNumber;
131
+ maxOutputTokens: z.ZodNumber;
132
+ }, "strip", z.ZodTypeAny, {
133
+ contextWindow: number;
134
+ maxOutputTokens: number;
135
+ }, {
136
+ contextWindow: number;
137
+ maxOutputTokens: number;
138
+ }>>;
139
+ costs: z.ZodNullable<z.ZodObject<{
140
+ input: z.ZodNumber;
141
+ output: z.ZodNumber;
142
+ }, "strip", z.ZodTypeAny, {
143
+ input: number;
144
+ output: number;
145
+ }, {
146
+ input: number;
147
+ output: number;
148
+ }>>;
149
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
150
+ endpoint: z.ZodNullable<z.ZodObject<{
151
+ url: z.ZodString;
152
+ method: z.ZodDefault<z.ZodString>;
153
+ contentType: z.ZodDefault<z.ZodString>;
154
+ stream: z.ZodDefault<z.ZodBoolean>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ url: string;
157
+ method: string;
158
+ contentType: string;
159
+ stream: boolean;
160
+ }, {
161
+ url: string;
162
+ method?: string | undefined;
163
+ contentType?: string | undefined;
164
+ stream?: boolean | undefined;
165
+ }>>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ id: string;
168
+ title: string;
169
+ created_at: string;
170
+ updated_at: string;
171
+ logo: string | null;
172
+ description: string | null;
173
+ capabilities: string[];
174
+ limits: {
175
+ contextWindow: number;
176
+ maxOutputTokens: number;
177
+ } | null;
178
+ costs: {
179
+ input: number;
180
+ output: number;
181
+ } | null;
182
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
183
+ endpoint: {
184
+ url: string;
185
+ method: string;
186
+ contentType: string;
187
+ stream: boolean;
188
+ } | null;
189
+ created_by?: string | undefined;
190
+ updated_by?: string | undefined;
191
+ }, {
192
+ id: string;
193
+ title: string;
194
+ created_at: string;
195
+ updated_at: string;
196
+ logo: string | null;
197
+ description: string | null;
198
+ capabilities: string[];
199
+ limits: {
200
+ contextWindow: number;
201
+ maxOutputTokens: number;
202
+ } | null;
203
+ costs: {
204
+ input: number;
205
+ output: number;
206
+ } | null;
207
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
208
+ endpoint: {
209
+ url: string;
210
+ method?: string | undefined;
211
+ contentType?: string | undefined;
212
+ stream?: boolean | undefined;
213
+ } | null;
214
+ created_by?: string | undefined;
215
+ updated_by?: string | undefined;
216
+ }>, "many">;
217
+ totalCount: z.ZodOptional<z.ZodNumber>;
218
+ hasMore: z.ZodOptional<z.ZodBoolean>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ items: {
221
+ id: string;
222
+ title: string;
223
+ created_at: string;
224
+ updated_at: string;
225
+ logo: string | null;
226
+ description: string | null;
227
+ capabilities: string[];
228
+ limits: {
229
+ contextWindow: number;
230
+ maxOutputTokens: number;
231
+ } | null;
232
+ costs: {
233
+ input: number;
234
+ output: number;
235
+ } | null;
236
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
237
+ endpoint: {
238
+ url: string;
239
+ method: string;
240
+ contentType: string;
241
+ stream: boolean;
242
+ } | null;
243
+ created_by?: string | undefined;
244
+ updated_by?: string | undefined;
245
+ }[];
246
+ totalCount?: number | undefined;
247
+ hasMore?: boolean | undefined;
248
+ }, {
249
+ items: {
250
+ id: string;
251
+ title: string;
252
+ created_at: string;
253
+ updated_at: string;
254
+ logo: string | null;
255
+ description: string | null;
256
+ capabilities: string[];
257
+ limits: {
258
+ contextWindow: number;
259
+ maxOutputTokens: number;
260
+ } | null;
261
+ costs: {
262
+ input: number;
263
+ output: number;
264
+ } | null;
265
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
266
+ endpoint: {
267
+ url: string;
268
+ method?: string | undefined;
269
+ contentType?: string | undefined;
270
+ stream?: boolean | undefined;
271
+ } | null;
272
+ created_by?: string | undefined;
273
+ updated_by?: string | undefined;
274
+ }[];
275
+ totalCount?: number | undefined;
276
+ hasMore?: boolean | undefined;
277
+ }>;
278
+ } | {
279
+ name: "COLLECTION_MODELS_GET";
280
+ inputSchema: typeof CollectionGetInputSchema;
281
+ outputSchema: z.ZodObject<{
282
+ item: z.ZodNullable<z.ZodObject<{
283
+ id: z.ZodString;
284
+ title: z.ZodString;
285
+ created_at: z.ZodString;
286
+ updated_at: z.ZodString;
287
+ created_by: z.ZodOptional<z.ZodString>;
288
+ updated_by: z.ZodOptional<z.ZodString>;
289
+ } & {
290
+ logo: z.ZodNullable<z.ZodString>;
291
+ description: z.ZodNullable<z.ZodString>;
292
+ capabilities: z.ZodArray<z.ZodString, "many">;
293
+ limits: z.ZodNullable<z.ZodObject<{
294
+ contextWindow: z.ZodNumber;
295
+ maxOutputTokens: z.ZodNumber;
296
+ }, "strip", z.ZodTypeAny, {
297
+ contextWindow: number;
298
+ maxOutputTokens: number;
299
+ }, {
300
+ contextWindow: number;
301
+ maxOutputTokens: number;
302
+ }>>;
303
+ costs: z.ZodNullable<z.ZodObject<{
304
+ input: z.ZodNumber;
305
+ output: z.ZodNumber;
306
+ }, "strip", z.ZodTypeAny, {
307
+ input: number;
308
+ output: number;
309
+ }, {
310
+ input: number;
311
+ output: number;
312
+ }>>;
313
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
314
+ endpoint: z.ZodNullable<z.ZodObject<{
315
+ url: z.ZodString;
316
+ method: z.ZodDefault<z.ZodString>;
317
+ contentType: z.ZodDefault<z.ZodString>;
318
+ stream: z.ZodDefault<z.ZodBoolean>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ url: string;
321
+ method: string;
322
+ contentType: string;
323
+ stream: boolean;
324
+ }, {
325
+ url: string;
326
+ method?: string | undefined;
327
+ contentType?: string | undefined;
328
+ stream?: boolean | undefined;
329
+ }>>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ id: string;
332
+ title: string;
333
+ created_at: string;
334
+ updated_at: string;
335
+ logo: string | null;
336
+ description: string | null;
337
+ capabilities: string[];
338
+ limits: {
339
+ contextWindow: number;
340
+ maxOutputTokens: number;
341
+ } | null;
342
+ costs: {
343
+ input: number;
344
+ output: number;
345
+ } | null;
346
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
347
+ endpoint: {
348
+ url: string;
349
+ method: string;
350
+ contentType: string;
351
+ stream: boolean;
352
+ } | null;
353
+ created_by?: string | undefined;
354
+ updated_by?: string | undefined;
355
+ }, {
356
+ id: string;
357
+ title: string;
358
+ created_at: string;
359
+ updated_at: string;
360
+ logo: string | null;
361
+ description: string | null;
362
+ capabilities: string[];
363
+ limits: {
364
+ contextWindow: number;
365
+ maxOutputTokens: number;
366
+ } | null;
367
+ costs: {
368
+ input: number;
369
+ output: number;
370
+ } | null;
371
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
372
+ endpoint: {
373
+ url: string;
374
+ method?: string | undefined;
375
+ contentType?: string | undefined;
376
+ stream?: boolean | undefined;
377
+ } | null;
378
+ created_by?: string | undefined;
379
+ updated_by?: string | undefined;
380
+ }>>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ item: {
383
+ id: string;
384
+ title: string;
385
+ created_at: string;
386
+ updated_at: string;
387
+ logo: string | null;
388
+ description: string | null;
389
+ capabilities: string[];
390
+ limits: {
391
+ contextWindow: number;
392
+ maxOutputTokens: number;
393
+ } | null;
394
+ costs: {
395
+ input: number;
396
+ output: number;
397
+ } | null;
398
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
399
+ endpoint: {
400
+ url: string;
401
+ method: string;
402
+ contentType: string;
403
+ stream: boolean;
404
+ } | null;
405
+ created_by?: string | undefined;
406
+ updated_by?: string | undefined;
407
+ } | null;
408
+ }, {
409
+ item: {
410
+ id: string;
411
+ title: string;
412
+ created_at: string;
413
+ updated_at: string;
414
+ logo: string | null;
415
+ description: string | null;
416
+ capabilities: string[];
417
+ limits: {
418
+ contextWindow: number;
419
+ maxOutputTokens: number;
420
+ } | null;
421
+ costs: {
422
+ input: number;
423
+ output: number;
424
+ } | null;
425
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
426
+ endpoint: {
427
+ url: string;
428
+ method?: string | undefined;
429
+ contentType?: string | undefined;
430
+ stream?: boolean | undefined;
431
+ } | null;
432
+ created_by?: string | undefined;
433
+ updated_by?: string | undefined;
434
+ } | null;
435
+ }>;
436
+ } | {
437
+ name: "COLLECTION_MODELS_CREATE";
438
+ inputSchema: z.ZodObject<{
439
+ data: z.ZodObject<{
440
+ id: z.ZodString;
441
+ title: z.ZodString;
442
+ created_at: z.ZodString;
443
+ updated_at: z.ZodString;
444
+ created_by: z.ZodOptional<z.ZodString>;
445
+ updated_by: z.ZodOptional<z.ZodString>;
446
+ } & {
447
+ logo: z.ZodNullable<z.ZodString>;
448
+ description: z.ZodNullable<z.ZodString>;
449
+ capabilities: z.ZodArray<z.ZodString, "many">;
450
+ limits: z.ZodNullable<z.ZodObject<{
451
+ contextWindow: z.ZodNumber;
452
+ maxOutputTokens: z.ZodNumber;
453
+ }, "strip", z.ZodTypeAny, {
454
+ contextWindow: number;
455
+ maxOutputTokens: number;
456
+ }, {
457
+ contextWindow: number;
458
+ maxOutputTokens: number;
459
+ }>>;
460
+ costs: z.ZodNullable<z.ZodObject<{
461
+ input: z.ZodNumber;
462
+ output: z.ZodNumber;
463
+ }, "strip", z.ZodTypeAny, {
464
+ input: number;
465
+ output: number;
466
+ }, {
467
+ input: number;
468
+ output: number;
469
+ }>>;
470
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
471
+ endpoint: z.ZodNullable<z.ZodObject<{
472
+ url: z.ZodString;
473
+ method: z.ZodDefault<z.ZodString>;
474
+ contentType: z.ZodDefault<z.ZodString>;
475
+ stream: z.ZodDefault<z.ZodBoolean>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ url: string;
478
+ method: string;
479
+ contentType: string;
480
+ stream: boolean;
481
+ }, {
482
+ url: string;
483
+ method?: string | undefined;
484
+ contentType?: string | undefined;
485
+ stream?: boolean | undefined;
486
+ }>>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ id: string;
489
+ title: string;
490
+ created_at: string;
491
+ updated_at: string;
492
+ logo: string | null;
493
+ description: string | null;
494
+ capabilities: string[];
495
+ limits: {
496
+ contextWindow: number;
497
+ maxOutputTokens: number;
498
+ } | null;
499
+ costs: {
500
+ input: number;
501
+ output: number;
502
+ } | null;
503
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
504
+ endpoint: {
505
+ url: string;
506
+ method: string;
507
+ contentType: string;
508
+ stream: boolean;
509
+ } | null;
510
+ created_by?: string | undefined;
511
+ updated_by?: string | undefined;
512
+ }, {
513
+ id: string;
514
+ title: string;
515
+ created_at: string;
516
+ updated_at: string;
517
+ logo: string | null;
518
+ description: string | null;
519
+ capabilities: string[];
520
+ limits: {
521
+ contextWindow: number;
522
+ maxOutputTokens: number;
523
+ } | null;
524
+ costs: {
525
+ input: number;
526
+ output: number;
527
+ } | null;
528
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
529
+ endpoint: {
530
+ url: string;
531
+ method?: string | undefined;
532
+ contentType?: string | undefined;
533
+ stream?: boolean | undefined;
534
+ } | null;
535
+ created_by?: string | undefined;
536
+ updated_by?: string | undefined;
537
+ }>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ data: {
540
+ id: string;
541
+ title: string;
542
+ created_at: string;
543
+ updated_at: string;
544
+ logo: string | null;
545
+ description: string | null;
546
+ capabilities: string[];
547
+ limits: {
548
+ contextWindow: number;
549
+ maxOutputTokens: number;
550
+ } | null;
551
+ costs: {
552
+ input: number;
553
+ output: number;
554
+ } | null;
555
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
556
+ endpoint: {
557
+ url: string;
558
+ method: string;
559
+ contentType: string;
560
+ stream: boolean;
561
+ } | null;
562
+ created_by?: string | undefined;
563
+ updated_by?: string | undefined;
564
+ };
565
+ }, {
566
+ data: {
567
+ id: string;
568
+ title: string;
569
+ created_at: string;
570
+ updated_at: string;
571
+ logo: string | null;
572
+ description: string | null;
573
+ capabilities: string[];
574
+ limits: {
575
+ contextWindow: number;
576
+ maxOutputTokens: number;
577
+ } | null;
578
+ costs: {
579
+ input: number;
580
+ output: number;
581
+ } | null;
582
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
583
+ endpoint: {
584
+ url: string;
585
+ method?: string | undefined;
586
+ contentType?: string | undefined;
587
+ stream?: boolean | undefined;
588
+ } | null;
589
+ created_by?: string | undefined;
590
+ updated_by?: string | undefined;
591
+ };
592
+ }>;
593
+ outputSchema: z.ZodObject<{
594
+ item: z.ZodObject<{
595
+ id: z.ZodString;
596
+ title: z.ZodString;
597
+ created_at: z.ZodString;
598
+ updated_at: z.ZodString;
599
+ created_by: z.ZodOptional<z.ZodString>;
600
+ updated_by: z.ZodOptional<z.ZodString>;
601
+ } & {
602
+ logo: z.ZodNullable<z.ZodString>;
603
+ description: z.ZodNullable<z.ZodString>;
604
+ capabilities: z.ZodArray<z.ZodString, "many">;
605
+ limits: z.ZodNullable<z.ZodObject<{
606
+ contextWindow: z.ZodNumber;
607
+ maxOutputTokens: z.ZodNumber;
608
+ }, "strip", z.ZodTypeAny, {
609
+ contextWindow: number;
610
+ maxOutputTokens: number;
611
+ }, {
612
+ contextWindow: number;
613
+ maxOutputTokens: number;
614
+ }>>;
615
+ costs: z.ZodNullable<z.ZodObject<{
616
+ input: z.ZodNumber;
617
+ output: z.ZodNumber;
618
+ }, "strip", z.ZodTypeAny, {
619
+ input: number;
620
+ output: number;
621
+ }, {
622
+ input: number;
623
+ output: number;
624
+ }>>;
625
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
626
+ endpoint: z.ZodNullable<z.ZodObject<{
627
+ url: z.ZodString;
628
+ method: z.ZodDefault<z.ZodString>;
629
+ contentType: z.ZodDefault<z.ZodString>;
630
+ stream: z.ZodDefault<z.ZodBoolean>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ url: string;
633
+ method: string;
634
+ contentType: string;
635
+ stream: boolean;
636
+ }, {
637
+ url: string;
638
+ method?: string | undefined;
639
+ contentType?: string | undefined;
640
+ stream?: boolean | undefined;
641
+ }>>;
642
+ }, "strip", z.ZodTypeAny, {
643
+ id: string;
644
+ title: string;
645
+ created_at: string;
646
+ updated_at: string;
647
+ logo: string | null;
648
+ description: string | null;
649
+ capabilities: string[];
650
+ limits: {
651
+ contextWindow: number;
652
+ maxOutputTokens: number;
653
+ } | null;
654
+ costs: {
655
+ input: number;
656
+ output: number;
657
+ } | null;
658
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
659
+ endpoint: {
660
+ url: string;
661
+ method: string;
662
+ contentType: string;
663
+ stream: boolean;
664
+ } | null;
665
+ created_by?: string | undefined;
666
+ updated_by?: string | undefined;
667
+ }, {
668
+ id: string;
669
+ title: string;
670
+ created_at: string;
671
+ updated_at: string;
672
+ logo: string | null;
673
+ description: string | null;
674
+ capabilities: string[];
675
+ limits: {
676
+ contextWindow: number;
677
+ maxOutputTokens: number;
678
+ } | null;
679
+ costs: {
680
+ input: number;
681
+ output: number;
682
+ } | null;
683
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
684
+ endpoint: {
685
+ url: string;
686
+ method?: string | undefined;
687
+ contentType?: string | undefined;
688
+ stream?: boolean | undefined;
689
+ } | null;
690
+ created_by?: string | undefined;
691
+ updated_by?: string | undefined;
692
+ }>;
693
+ }, "strip", z.ZodTypeAny, {
694
+ item: {
695
+ id: string;
696
+ title: string;
697
+ created_at: string;
698
+ updated_at: string;
699
+ logo: string | null;
700
+ description: string | null;
701
+ capabilities: string[];
702
+ limits: {
703
+ contextWindow: number;
704
+ maxOutputTokens: number;
705
+ } | null;
706
+ costs: {
707
+ input: number;
708
+ output: number;
709
+ } | null;
710
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
711
+ endpoint: {
712
+ url: string;
713
+ method: string;
714
+ contentType: string;
715
+ stream: boolean;
716
+ } | null;
717
+ created_by?: string | undefined;
718
+ updated_by?: string | undefined;
719
+ };
720
+ }, {
721
+ item: {
722
+ id: string;
723
+ title: string;
724
+ created_at: string;
725
+ updated_at: string;
726
+ logo: string | null;
727
+ description: string | null;
728
+ capabilities: string[];
729
+ limits: {
730
+ contextWindow: number;
731
+ maxOutputTokens: number;
732
+ } | null;
733
+ costs: {
734
+ input: number;
735
+ output: number;
736
+ } | null;
737
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
738
+ endpoint: {
739
+ url: string;
740
+ method?: string | undefined;
741
+ contentType?: string | undefined;
742
+ stream?: boolean | undefined;
743
+ } | null;
744
+ created_by?: string | undefined;
745
+ updated_by?: string | undefined;
746
+ };
747
+ }>;
748
+ opt: true;
749
+ } | {
750
+ name: "COLLECTION_MODELS_UPDATE";
751
+ inputSchema: z.ZodObject<{
752
+ id: z.ZodString;
753
+ data: z.ZodObject<{
754
+ [x: string]: z.ZodOptional<any>;
755
+ }, any, any, {
756
+ [x: string]: any;
757
+ }, {
758
+ [x: string]: any;
759
+ }>;
760
+ }, "strip", z.ZodTypeAny, {
761
+ id: string;
762
+ data: {
763
+ [x: string]: any;
764
+ };
765
+ }, {
766
+ id: string;
767
+ data: {
768
+ [x: string]: any;
769
+ };
770
+ }>;
771
+ outputSchema: z.ZodObject<{
772
+ item: z.ZodObject<{
773
+ id: z.ZodString;
774
+ title: z.ZodString;
775
+ created_at: z.ZodString;
776
+ updated_at: z.ZodString;
777
+ created_by: z.ZodOptional<z.ZodString>;
778
+ updated_by: z.ZodOptional<z.ZodString>;
779
+ } & {
780
+ logo: z.ZodNullable<z.ZodString>;
781
+ description: z.ZodNullable<z.ZodString>;
782
+ capabilities: z.ZodArray<z.ZodString, "many">;
783
+ limits: z.ZodNullable<z.ZodObject<{
784
+ contextWindow: z.ZodNumber;
785
+ maxOutputTokens: z.ZodNumber;
786
+ }, "strip", z.ZodTypeAny, {
787
+ contextWindow: number;
788
+ maxOutputTokens: number;
789
+ }, {
790
+ contextWindow: number;
791
+ maxOutputTokens: number;
792
+ }>>;
793
+ costs: z.ZodNullable<z.ZodObject<{
794
+ input: z.ZodNumber;
795
+ output: z.ZodNumber;
796
+ }, "strip", z.ZodTypeAny, {
797
+ input: number;
798
+ output: number;
799
+ }, {
800
+ input: number;
801
+ output: number;
802
+ }>>;
803
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
804
+ endpoint: z.ZodNullable<z.ZodObject<{
805
+ url: z.ZodString;
806
+ method: z.ZodDefault<z.ZodString>;
807
+ contentType: z.ZodDefault<z.ZodString>;
808
+ stream: z.ZodDefault<z.ZodBoolean>;
809
+ }, "strip", z.ZodTypeAny, {
810
+ url: string;
811
+ method: string;
812
+ contentType: string;
813
+ stream: boolean;
814
+ }, {
815
+ url: string;
816
+ method?: string | undefined;
817
+ contentType?: string | undefined;
818
+ stream?: boolean | undefined;
819
+ }>>;
820
+ }, "strip", z.ZodTypeAny, {
821
+ id: string;
822
+ title: string;
823
+ created_at: string;
824
+ updated_at: string;
825
+ logo: string | null;
826
+ description: string | null;
827
+ capabilities: string[];
828
+ limits: {
829
+ contextWindow: number;
830
+ maxOutputTokens: number;
831
+ } | null;
832
+ costs: {
833
+ input: number;
834
+ output: number;
835
+ } | null;
836
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
837
+ endpoint: {
838
+ url: string;
839
+ method: string;
840
+ contentType: string;
841
+ stream: boolean;
842
+ } | null;
843
+ created_by?: string | undefined;
844
+ updated_by?: string | undefined;
845
+ }, {
846
+ id: string;
847
+ title: string;
848
+ created_at: string;
849
+ updated_at: string;
850
+ logo: string | null;
851
+ description: string | null;
852
+ capabilities: string[];
853
+ limits: {
854
+ contextWindow: number;
855
+ maxOutputTokens: number;
856
+ } | null;
857
+ costs: {
858
+ input: number;
859
+ output: number;
860
+ } | null;
861
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
862
+ endpoint: {
863
+ url: string;
864
+ method?: string | undefined;
865
+ contentType?: string | undefined;
866
+ stream?: boolean | undefined;
867
+ } | null;
868
+ created_by?: string | undefined;
869
+ updated_by?: string | undefined;
870
+ }>;
871
+ }, "strip", z.ZodTypeAny, {
872
+ item: {
873
+ id: string;
874
+ title: string;
875
+ created_at: string;
876
+ updated_at: string;
877
+ logo: string | null;
878
+ description: string | null;
879
+ capabilities: string[];
880
+ limits: {
881
+ contextWindow: number;
882
+ maxOutputTokens: number;
883
+ } | null;
884
+ costs: {
885
+ input: number;
886
+ output: number;
887
+ } | null;
888
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
889
+ endpoint: {
890
+ url: string;
891
+ method: string;
892
+ contentType: string;
893
+ stream: boolean;
894
+ } | null;
895
+ created_by?: string | undefined;
896
+ updated_by?: string | undefined;
897
+ };
898
+ }, {
899
+ item: {
900
+ id: string;
901
+ title: string;
902
+ created_at: string;
903
+ updated_at: string;
904
+ logo: string | null;
905
+ description: string | null;
906
+ capabilities: string[];
907
+ limits: {
908
+ contextWindow: number;
909
+ maxOutputTokens: number;
910
+ } | null;
911
+ costs: {
912
+ input: number;
913
+ output: number;
914
+ } | null;
915
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
916
+ endpoint: {
917
+ url: string;
918
+ method?: string | undefined;
919
+ contentType?: string | undefined;
920
+ stream?: boolean | undefined;
921
+ } | null;
922
+ created_by?: string | undefined;
923
+ updated_by?: string | undefined;
924
+ };
925
+ }>;
926
+ opt: true;
927
+ } | {
928
+ name: "COLLECTION_MODELS_DELETE";
929
+ inputSchema: typeof CollectionDeleteInputSchema;
930
+ outputSchema: z.ZodObject<{
931
+ item: z.ZodObject<{
932
+ id: z.ZodString;
933
+ title: z.ZodString;
934
+ created_at: z.ZodString;
935
+ updated_at: z.ZodString;
936
+ created_by: z.ZodOptional<z.ZodString>;
937
+ updated_by: z.ZodOptional<z.ZodString>;
938
+ } & {
939
+ logo: z.ZodNullable<z.ZodString>;
940
+ description: z.ZodNullable<z.ZodString>;
941
+ capabilities: z.ZodArray<z.ZodString, "many">;
942
+ limits: z.ZodNullable<z.ZodObject<{
943
+ contextWindow: z.ZodNumber;
944
+ maxOutputTokens: z.ZodNumber;
945
+ }, "strip", z.ZodTypeAny, {
946
+ contextWindow: number;
947
+ maxOutputTokens: number;
948
+ }, {
949
+ contextWindow: number;
950
+ maxOutputTokens: number;
951
+ }>>;
952
+ costs: z.ZodNullable<z.ZodObject<{
953
+ input: z.ZodNumber;
954
+ output: z.ZodNumber;
955
+ }, "strip", z.ZodTypeAny, {
956
+ input: number;
957
+ output: number;
958
+ }, {
959
+ input: number;
960
+ output: number;
961
+ }>>;
962
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
963
+ endpoint: z.ZodNullable<z.ZodObject<{
964
+ url: z.ZodString;
965
+ method: z.ZodDefault<z.ZodString>;
966
+ contentType: z.ZodDefault<z.ZodString>;
967
+ stream: z.ZodDefault<z.ZodBoolean>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ url: string;
970
+ method: string;
971
+ contentType: string;
972
+ stream: boolean;
973
+ }, {
974
+ url: string;
975
+ method?: string | undefined;
976
+ contentType?: string | undefined;
977
+ stream?: boolean | undefined;
978
+ }>>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ id: string;
981
+ title: string;
982
+ created_at: string;
983
+ updated_at: string;
984
+ logo: string | null;
985
+ description: string | null;
986
+ capabilities: string[];
987
+ limits: {
988
+ contextWindow: number;
989
+ maxOutputTokens: number;
990
+ } | null;
991
+ costs: {
992
+ input: number;
993
+ output: number;
994
+ } | null;
995
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
996
+ endpoint: {
997
+ url: string;
998
+ method: string;
999
+ contentType: string;
1000
+ stream: boolean;
1001
+ } | null;
1002
+ created_by?: string | undefined;
1003
+ updated_by?: string | undefined;
1004
+ }, {
1005
+ id: string;
1006
+ title: string;
1007
+ created_at: string;
1008
+ updated_at: string;
1009
+ logo: string | null;
1010
+ description: string | null;
1011
+ capabilities: string[];
1012
+ limits: {
1013
+ contextWindow: number;
1014
+ maxOutputTokens: number;
1015
+ } | null;
1016
+ costs: {
1017
+ input: number;
1018
+ output: number;
1019
+ } | null;
1020
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1021
+ endpoint: {
1022
+ url: string;
1023
+ method?: string | undefined;
1024
+ contentType?: string | undefined;
1025
+ stream?: boolean | undefined;
1026
+ } | null;
1027
+ created_by?: string | undefined;
1028
+ updated_by?: string | undefined;
1029
+ }>;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ item: {
1032
+ id: string;
1033
+ title: string;
1034
+ created_at: string;
1035
+ updated_at: string;
1036
+ logo: string | null;
1037
+ description: string | null;
1038
+ capabilities: string[];
1039
+ limits: {
1040
+ contextWindow: number;
1041
+ maxOutputTokens: number;
1042
+ } | null;
1043
+ costs: {
1044
+ input: number;
1045
+ output: number;
1046
+ } | null;
1047
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1048
+ endpoint: {
1049
+ url: string;
1050
+ method: string;
1051
+ contentType: string;
1052
+ stream: boolean;
1053
+ } | null;
1054
+ created_by?: string | undefined;
1055
+ updated_by?: string | undefined;
1056
+ };
1057
+ }, {
1058
+ item: {
1059
+ id: string;
1060
+ title: string;
1061
+ created_at: string;
1062
+ updated_at: string;
1063
+ logo: string | null;
1064
+ description: string | null;
1065
+ capabilities: string[];
1066
+ limits: {
1067
+ contextWindow: number;
1068
+ maxOutputTokens: number;
1069
+ } | null;
1070
+ costs: {
1071
+ input: number;
1072
+ output: number;
1073
+ } | null;
1074
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1075
+ endpoint: {
1076
+ url: string;
1077
+ method?: string | undefined;
1078
+ contentType?: string | undefined;
1079
+ stream?: boolean | undefined;
1080
+ } | null;
1081
+ created_by?: string | undefined;
1082
+ updated_by?: string | undefined;
1083
+ };
1084
+ }>;
1085
+ opt: true;
1086
+ })[];
1087
+ /**
1088
+ * MODELS Binding
1089
+ *
1090
+ * Defines the interface for AI model providers.
1091
+ * Any MCP that implements this binding can provide AI models and streaming endpoints.
1092
+ *
1093
+ * Required tools:
1094
+ * - COLLECTION_MODELS_LIST: List available AI models with their capabilities
1095
+ * - COLLECTION_MODELS_GET: Get a single model by ID (includes streaming endpoint info)
1096
+ */
1097
+ declare const MODELS_BINDING: readonly ({
1098
+ name: "COLLECTION_MODELS_LIST";
1099
+ inputSchema: typeof CollectionListInputSchema;
1100
+ outputSchema: z.ZodObject<{
1101
+ items: z.ZodArray<z.ZodObject<{
1102
+ id: z.ZodString;
1103
+ title: z.ZodString;
1104
+ created_at: z.ZodString;
1105
+ updated_at: z.ZodString;
1106
+ created_by: z.ZodOptional<z.ZodString>;
1107
+ updated_by: z.ZodOptional<z.ZodString>;
1108
+ } & {
1109
+ logo: z.ZodNullable<z.ZodString>;
1110
+ description: z.ZodNullable<z.ZodString>;
1111
+ capabilities: z.ZodArray<z.ZodString, "many">;
1112
+ limits: z.ZodNullable<z.ZodObject<{
1113
+ contextWindow: z.ZodNumber;
1114
+ maxOutputTokens: z.ZodNumber;
1115
+ }, "strip", z.ZodTypeAny, {
1116
+ contextWindow: number;
1117
+ maxOutputTokens: number;
1118
+ }, {
1119
+ contextWindow: number;
1120
+ maxOutputTokens: number;
1121
+ }>>;
1122
+ costs: z.ZodNullable<z.ZodObject<{
1123
+ input: z.ZodNumber;
1124
+ output: z.ZodNumber;
1125
+ }, "strip", z.ZodTypeAny, {
1126
+ input: number;
1127
+ output: number;
1128
+ }, {
1129
+ input: number;
1130
+ output: number;
1131
+ }>>;
1132
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1133
+ endpoint: z.ZodNullable<z.ZodObject<{
1134
+ url: z.ZodString;
1135
+ method: z.ZodDefault<z.ZodString>;
1136
+ contentType: z.ZodDefault<z.ZodString>;
1137
+ stream: z.ZodDefault<z.ZodBoolean>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ url: string;
1140
+ method: string;
1141
+ contentType: string;
1142
+ stream: boolean;
1143
+ }, {
1144
+ url: string;
1145
+ method?: string | undefined;
1146
+ contentType?: string | undefined;
1147
+ stream?: boolean | undefined;
1148
+ }>>;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ id: string;
1151
+ title: string;
1152
+ created_at: string;
1153
+ updated_at: string;
1154
+ logo: string | null;
1155
+ description: string | null;
1156
+ capabilities: string[];
1157
+ limits: {
1158
+ contextWindow: number;
1159
+ maxOutputTokens: number;
1160
+ } | null;
1161
+ costs: {
1162
+ input: number;
1163
+ output: number;
1164
+ } | null;
1165
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1166
+ endpoint: {
1167
+ url: string;
1168
+ method: string;
1169
+ contentType: string;
1170
+ stream: boolean;
1171
+ } | null;
1172
+ created_by?: string | undefined;
1173
+ updated_by?: string | undefined;
1174
+ }, {
1175
+ id: string;
1176
+ title: string;
1177
+ created_at: string;
1178
+ updated_at: string;
1179
+ logo: string | null;
1180
+ description: string | null;
1181
+ capabilities: string[];
1182
+ limits: {
1183
+ contextWindow: number;
1184
+ maxOutputTokens: number;
1185
+ } | null;
1186
+ costs: {
1187
+ input: number;
1188
+ output: number;
1189
+ } | null;
1190
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1191
+ endpoint: {
1192
+ url: string;
1193
+ method?: string | undefined;
1194
+ contentType?: string | undefined;
1195
+ stream?: boolean | undefined;
1196
+ } | null;
1197
+ created_by?: string | undefined;
1198
+ updated_by?: string | undefined;
1199
+ }>, "many">;
1200
+ totalCount: z.ZodOptional<z.ZodNumber>;
1201
+ hasMore: z.ZodOptional<z.ZodBoolean>;
1202
+ }, "strip", z.ZodTypeAny, {
1203
+ items: {
1204
+ id: string;
1205
+ title: string;
1206
+ created_at: string;
1207
+ updated_at: string;
1208
+ logo: string | null;
1209
+ description: string | null;
1210
+ capabilities: string[];
1211
+ limits: {
1212
+ contextWindow: number;
1213
+ maxOutputTokens: number;
1214
+ } | null;
1215
+ costs: {
1216
+ input: number;
1217
+ output: number;
1218
+ } | null;
1219
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1220
+ endpoint: {
1221
+ url: string;
1222
+ method: string;
1223
+ contentType: string;
1224
+ stream: boolean;
1225
+ } | null;
1226
+ created_by?: string | undefined;
1227
+ updated_by?: string | undefined;
1228
+ }[];
1229
+ totalCount?: number | undefined;
1230
+ hasMore?: boolean | undefined;
1231
+ }, {
1232
+ items: {
1233
+ id: string;
1234
+ title: string;
1235
+ created_at: string;
1236
+ updated_at: string;
1237
+ logo: string | null;
1238
+ description: string | null;
1239
+ capabilities: string[];
1240
+ limits: {
1241
+ contextWindow: number;
1242
+ maxOutputTokens: number;
1243
+ } | null;
1244
+ costs: {
1245
+ input: number;
1246
+ output: number;
1247
+ } | null;
1248
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1249
+ endpoint: {
1250
+ url: string;
1251
+ method?: string | undefined;
1252
+ contentType?: string | undefined;
1253
+ stream?: boolean | undefined;
1254
+ } | null;
1255
+ created_by?: string | undefined;
1256
+ updated_by?: string | undefined;
1257
+ }[];
1258
+ totalCount?: number | undefined;
1259
+ hasMore?: boolean | undefined;
1260
+ }>;
1261
+ } | {
1262
+ name: "COLLECTION_MODELS_GET";
1263
+ inputSchema: typeof CollectionGetInputSchema;
1264
+ outputSchema: z.ZodObject<{
1265
+ item: z.ZodNullable<z.ZodObject<{
1266
+ id: z.ZodString;
1267
+ title: z.ZodString;
1268
+ created_at: z.ZodString;
1269
+ updated_at: z.ZodString;
1270
+ created_by: z.ZodOptional<z.ZodString>;
1271
+ updated_by: z.ZodOptional<z.ZodString>;
1272
+ } & {
1273
+ logo: z.ZodNullable<z.ZodString>;
1274
+ description: z.ZodNullable<z.ZodString>;
1275
+ capabilities: z.ZodArray<z.ZodString, "many">;
1276
+ limits: z.ZodNullable<z.ZodObject<{
1277
+ contextWindow: z.ZodNumber;
1278
+ maxOutputTokens: z.ZodNumber;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ contextWindow: number;
1281
+ maxOutputTokens: number;
1282
+ }, {
1283
+ contextWindow: number;
1284
+ maxOutputTokens: number;
1285
+ }>>;
1286
+ costs: z.ZodNullable<z.ZodObject<{
1287
+ input: z.ZodNumber;
1288
+ output: z.ZodNumber;
1289
+ }, "strip", z.ZodTypeAny, {
1290
+ input: number;
1291
+ output: number;
1292
+ }, {
1293
+ input: number;
1294
+ output: number;
1295
+ }>>;
1296
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1297
+ endpoint: z.ZodNullable<z.ZodObject<{
1298
+ url: z.ZodString;
1299
+ method: z.ZodDefault<z.ZodString>;
1300
+ contentType: z.ZodDefault<z.ZodString>;
1301
+ stream: z.ZodDefault<z.ZodBoolean>;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ url: string;
1304
+ method: string;
1305
+ contentType: string;
1306
+ stream: boolean;
1307
+ }, {
1308
+ url: string;
1309
+ method?: string | undefined;
1310
+ contentType?: string | undefined;
1311
+ stream?: boolean | undefined;
1312
+ }>>;
1313
+ }, "strip", z.ZodTypeAny, {
1314
+ id: string;
1315
+ title: string;
1316
+ created_at: string;
1317
+ updated_at: string;
1318
+ logo: string | null;
1319
+ description: string | null;
1320
+ capabilities: string[];
1321
+ limits: {
1322
+ contextWindow: number;
1323
+ maxOutputTokens: number;
1324
+ } | null;
1325
+ costs: {
1326
+ input: number;
1327
+ output: number;
1328
+ } | null;
1329
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1330
+ endpoint: {
1331
+ url: string;
1332
+ method: string;
1333
+ contentType: string;
1334
+ stream: boolean;
1335
+ } | null;
1336
+ created_by?: string | undefined;
1337
+ updated_by?: string | undefined;
1338
+ }, {
1339
+ id: string;
1340
+ title: string;
1341
+ created_at: string;
1342
+ updated_at: string;
1343
+ logo: string | null;
1344
+ description: string | null;
1345
+ capabilities: string[];
1346
+ limits: {
1347
+ contextWindow: number;
1348
+ maxOutputTokens: number;
1349
+ } | null;
1350
+ costs: {
1351
+ input: number;
1352
+ output: number;
1353
+ } | null;
1354
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1355
+ endpoint: {
1356
+ url: string;
1357
+ method?: string | undefined;
1358
+ contentType?: string | undefined;
1359
+ stream?: boolean | undefined;
1360
+ } | null;
1361
+ created_by?: string | undefined;
1362
+ updated_by?: string | undefined;
1363
+ }>>;
1364
+ }, "strip", z.ZodTypeAny, {
1365
+ item: {
1366
+ id: string;
1367
+ title: string;
1368
+ created_at: string;
1369
+ updated_at: string;
1370
+ logo: string | null;
1371
+ description: string | null;
1372
+ capabilities: string[];
1373
+ limits: {
1374
+ contextWindow: number;
1375
+ maxOutputTokens: number;
1376
+ } | null;
1377
+ costs: {
1378
+ input: number;
1379
+ output: number;
1380
+ } | null;
1381
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1382
+ endpoint: {
1383
+ url: string;
1384
+ method: string;
1385
+ contentType: string;
1386
+ stream: boolean;
1387
+ } | null;
1388
+ created_by?: string | undefined;
1389
+ updated_by?: string | undefined;
1390
+ } | null;
1391
+ }, {
1392
+ item: {
1393
+ id: string;
1394
+ title: string;
1395
+ created_at: string;
1396
+ updated_at: string;
1397
+ logo: string | null;
1398
+ description: string | null;
1399
+ capabilities: string[];
1400
+ limits: {
1401
+ contextWindow: number;
1402
+ maxOutputTokens: number;
1403
+ } | null;
1404
+ costs: {
1405
+ input: number;
1406
+ output: number;
1407
+ } | null;
1408
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1409
+ endpoint: {
1410
+ url: string;
1411
+ method?: string | undefined;
1412
+ contentType?: string | undefined;
1413
+ stream?: boolean | undefined;
1414
+ } | null;
1415
+ created_by?: string | undefined;
1416
+ updated_by?: string | undefined;
1417
+ } | null;
1418
+ }>;
1419
+ } | {
1420
+ name: "COLLECTION_MODELS_CREATE";
1421
+ inputSchema: z.ZodObject<{
1422
+ data: z.ZodObject<{
1423
+ id: z.ZodString;
1424
+ title: z.ZodString;
1425
+ created_at: z.ZodString;
1426
+ updated_at: z.ZodString;
1427
+ created_by: z.ZodOptional<z.ZodString>;
1428
+ updated_by: z.ZodOptional<z.ZodString>;
1429
+ } & {
1430
+ logo: z.ZodNullable<z.ZodString>;
1431
+ description: z.ZodNullable<z.ZodString>;
1432
+ capabilities: z.ZodArray<z.ZodString, "many">;
1433
+ limits: z.ZodNullable<z.ZodObject<{
1434
+ contextWindow: z.ZodNumber;
1435
+ maxOutputTokens: z.ZodNumber;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ contextWindow: number;
1438
+ maxOutputTokens: number;
1439
+ }, {
1440
+ contextWindow: number;
1441
+ maxOutputTokens: number;
1442
+ }>>;
1443
+ costs: z.ZodNullable<z.ZodObject<{
1444
+ input: z.ZodNumber;
1445
+ output: z.ZodNumber;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ input: number;
1448
+ output: number;
1449
+ }, {
1450
+ input: number;
1451
+ output: number;
1452
+ }>>;
1453
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1454
+ endpoint: z.ZodNullable<z.ZodObject<{
1455
+ url: z.ZodString;
1456
+ method: z.ZodDefault<z.ZodString>;
1457
+ contentType: z.ZodDefault<z.ZodString>;
1458
+ stream: z.ZodDefault<z.ZodBoolean>;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ url: string;
1461
+ method: string;
1462
+ contentType: string;
1463
+ stream: boolean;
1464
+ }, {
1465
+ url: string;
1466
+ method?: string | undefined;
1467
+ contentType?: string | undefined;
1468
+ stream?: boolean | undefined;
1469
+ }>>;
1470
+ }, "strip", z.ZodTypeAny, {
1471
+ id: string;
1472
+ title: string;
1473
+ created_at: string;
1474
+ updated_at: string;
1475
+ logo: string | null;
1476
+ description: string | null;
1477
+ capabilities: string[];
1478
+ limits: {
1479
+ contextWindow: number;
1480
+ maxOutputTokens: number;
1481
+ } | null;
1482
+ costs: {
1483
+ input: number;
1484
+ output: number;
1485
+ } | null;
1486
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1487
+ endpoint: {
1488
+ url: string;
1489
+ method: string;
1490
+ contentType: string;
1491
+ stream: boolean;
1492
+ } | null;
1493
+ created_by?: string | undefined;
1494
+ updated_by?: string | undefined;
1495
+ }, {
1496
+ id: string;
1497
+ title: string;
1498
+ created_at: string;
1499
+ updated_at: string;
1500
+ logo: string | null;
1501
+ description: string | null;
1502
+ capabilities: string[];
1503
+ limits: {
1504
+ contextWindow: number;
1505
+ maxOutputTokens: number;
1506
+ } | null;
1507
+ costs: {
1508
+ input: number;
1509
+ output: number;
1510
+ } | null;
1511
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1512
+ endpoint: {
1513
+ url: string;
1514
+ method?: string | undefined;
1515
+ contentType?: string | undefined;
1516
+ stream?: boolean | undefined;
1517
+ } | null;
1518
+ created_by?: string | undefined;
1519
+ updated_by?: string | undefined;
1520
+ }>;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ data: {
1523
+ id: string;
1524
+ title: string;
1525
+ created_at: string;
1526
+ updated_at: string;
1527
+ logo: string | null;
1528
+ description: string | null;
1529
+ capabilities: string[];
1530
+ limits: {
1531
+ contextWindow: number;
1532
+ maxOutputTokens: number;
1533
+ } | null;
1534
+ costs: {
1535
+ input: number;
1536
+ output: number;
1537
+ } | null;
1538
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1539
+ endpoint: {
1540
+ url: string;
1541
+ method: string;
1542
+ contentType: string;
1543
+ stream: boolean;
1544
+ } | null;
1545
+ created_by?: string | undefined;
1546
+ updated_by?: string | undefined;
1547
+ };
1548
+ }, {
1549
+ data: {
1550
+ id: string;
1551
+ title: string;
1552
+ created_at: string;
1553
+ updated_at: string;
1554
+ logo: string | null;
1555
+ description: string | null;
1556
+ capabilities: string[];
1557
+ limits: {
1558
+ contextWindow: number;
1559
+ maxOutputTokens: number;
1560
+ } | null;
1561
+ costs: {
1562
+ input: number;
1563
+ output: number;
1564
+ } | null;
1565
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1566
+ endpoint: {
1567
+ url: string;
1568
+ method?: string | undefined;
1569
+ contentType?: string | undefined;
1570
+ stream?: boolean | undefined;
1571
+ } | null;
1572
+ created_by?: string | undefined;
1573
+ updated_by?: string | undefined;
1574
+ };
1575
+ }>;
1576
+ outputSchema: z.ZodObject<{
1577
+ item: z.ZodObject<{
1578
+ id: z.ZodString;
1579
+ title: z.ZodString;
1580
+ created_at: z.ZodString;
1581
+ updated_at: z.ZodString;
1582
+ created_by: z.ZodOptional<z.ZodString>;
1583
+ updated_by: z.ZodOptional<z.ZodString>;
1584
+ } & {
1585
+ logo: z.ZodNullable<z.ZodString>;
1586
+ description: z.ZodNullable<z.ZodString>;
1587
+ capabilities: z.ZodArray<z.ZodString, "many">;
1588
+ limits: z.ZodNullable<z.ZodObject<{
1589
+ contextWindow: z.ZodNumber;
1590
+ maxOutputTokens: z.ZodNumber;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ contextWindow: number;
1593
+ maxOutputTokens: number;
1594
+ }, {
1595
+ contextWindow: number;
1596
+ maxOutputTokens: number;
1597
+ }>>;
1598
+ costs: z.ZodNullable<z.ZodObject<{
1599
+ input: z.ZodNumber;
1600
+ output: z.ZodNumber;
1601
+ }, "strip", z.ZodTypeAny, {
1602
+ input: number;
1603
+ output: number;
1604
+ }, {
1605
+ input: number;
1606
+ output: number;
1607
+ }>>;
1608
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1609
+ endpoint: z.ZodNullable<z.ZodObject<{
1610
+ url: z.ZodString;
1611
+ method: z.ZodDefault<z.ZodString>;
1612
+ contentType: z.ZodDefault<z.ZodString>;
1613
+ stream: z.ZodDefault<z.ZodBoolean>;
1614
+ }, "strip", z.ZodTypeAny, {
1615
+ url: string;
1616
+ method: string;
1617
+ contentType: string;
1618
+ stream: boolean;
1619
+ }, {
1620
+ url: string;
1621
+ method?: string | undefined;
1622
+ contentType?: string | undefined;
1623
+ stream?: boolean | undefined;
1624
+ }>>;
1625
+ }, "strip", z.ZodTypeAny, {
1626
+ id: string;
1627
+ title: string;
1628
+ created_at: string;
1629
+ updated_at: string;
1630
+ logo: string | null;
1631
+ description: string | null;
1632
+ capabilities: string[];
1633
+ limits: {
1634
+ contextWindow: number;
1635
+ maxOutputTokens: number;
1636
+ } | null;
1637
+ costs: {
1638
+ input: number;
1639
+ output: number;
1640
+ } | null;
1641
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1642
+ endpoint: {
1643
+ url: string;
1644
+ method: string;
1645
+ contentType: string;
1646
+ stream: boolean;
1647
+ } | null;
1648
+ created_by?: string | undefined;
1649
+ updated_by?: string | undefined;
1650
+ }, {
1651
+ id: string;
1652
+ title: string;
1653
+ created_at: string;
1654
+ updated_at: string;
1655
+ logo: string | null;
1656
+ description: string | null;
1657
+ capabilities: string[];
1658
+ limits: {
1659
+ contextWindow: number;
1660
+ maxOutputTokens: number;
1661
+ } | null;
1662
+ costs: {
1663
+ input: number;
1664
+ output: number;
1665
+ } | null;
1666
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1667
+ endpoint: {
1668
+ url: string;
1669
+ method?: string | undefined;
1670
+ contentType?: string | undefined;
1671
+ stream?: boolean | undefined;
1672
+ } | null;
1673
+ created_by?: string | undefined;
1674
+ updated_by?: string | undefined;
1675
+ }>;
1676
+ }, "strip", z.ZodTypeAny, {
1677
+ item: {
1678
+ id: string;
1679
+ title: string;
1680
+ created_at: string;
1681
+ updated_at: string;
1682
+ logo: string | null;
1683
+ description: string | null;
1684
+ capabilities: string[];
1685
+ limits: {
1686
+ contextWindow: number;
1687
+ maxOutputTokens: number;
1688
+ } | null;
1689
+ costs: {
1690
+ input: number;
1691
+ output: number;
1692
+ } | null;
1693
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1694
+ endpoint: {
1695
+ url: string;
1696
+ method: string;
1697
+ contentType: string;
1698
+ stream: boolean;
1699
+ } | null;
1700
+ created_by?: string | undefined;
1701
+ updated_by?: string | undefined;
1702
+ };
1703
+ }, {
1704
+ item: {
1705
+ id: string;
1706
+ title: string;
1707
+ created_at: string;
1708
+ updated_at: string;
1709
+ logo: string | null;
1710
+ description: string | null;
1711
+ capabilities: string[];
1712
+ limits: {
1713
+ contextWindow: number;
1714
+ maxOutputTokens: number;
1715
+ } | null;
1716
+ costs: {
1717
+ input: number;
1718
+ output: number;
1719
+ } | null;
1720
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1721
+ endpoint: {
1722
+ url: string;
1723
+ method?: string | undefined;
1724
+ contentType?: string | undefined;
1725
+ stream?: boolean | undefined;
1726
+ } | null;
1727
+ created_by?: string | undefined;
1728
+ updated_by?: string | undefined;
1729
+ };
1730
+ }>;
1731
+ opt: true;
1732
+ } | {
1733
+ name: "COLLECTION_MODELS_UPDATE";
1734
+ inputSchema: z.ZodObject<{
1735
+ id: z.ZodString;
1736
+ data: z.ZodObject<{
1737
+ [x: string]: z.ZodOptional<any>;
1738
+ }, any, any, {
1739
+ [x: string]: any;
1740
+ }, {
1741
+ [x: string]: any;
1742
+ }>;
1743
+ }, "strip", z.ZodTypeAny, {
1744
+ id: string;
1745
+ data: {
1746
+ [x: string]: any;
1747
+ };
1748
+ }, {
1749
+ id: string;
1750
+ data: {
1751
+ [x: string]: any;
1752
+ };
1753
+ }>;
1754
+ outputSchema: z.ZodObject<{
1755
+ item: z.ZodObject<{
1756
+ id: z.ZodString;
1757
+ title: z.ZodString;
1758
+ created_at: z.ZodString;
1759
+ updated_at: z.ZodString;
1760
+ created_by: z.ZodOptional<z.ZodString>;
1761
+ updated_by: z.ZodOptional<z.ZodString>;
1762
+ } & {
1763
+ logo: z.ZodNullable<z.ZodString>;
1764
+ description: z.ZodNullable<z.ZodString>;
1765
+ capabilities: z.ZodArray<z.ZodString, "many">;
1766
+ limits: z.ZodNullable<z.ZodObject<{
1767
+ contextWindow: z.ZodNumber;
1768
+ maxOutputTokens: z.ZodNumber;
1769
+ }, "strip", z.ZodTypeAny, {
1770
+ contextWindow: number;
1771
+ maxOutputTokens: number;
1772
+ }, {
1773
+ contextWindow: number;
1774
+ maxOutputTokens: number;
1775
+ }>>;
1776
+ costs: z.ZodNullable<z.ZodObject<{
1777
+ input: z.ZodNumber;
1778
+ output: z.ZodNumber;
1779
+ }, "strip", z.ZodTypeAny, {
1780
+ input: number;
1781
+ output: number;
1782
+ }, {
1783
+ input: number;
1784
+ output: number;
1785
+ }>>;
1786
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1787
+ endpoint: z.ZodNullable<z.ZodObject<{
1788
+ url: z.ZodString;
1789
+ method: z.ZodDefault<z.ZodString>;
1790
+ contentType: z.ZodDefault<z.ZodString>;
1791
+ stream: z.ZodDefault<z.ZodBoolean>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ url: string;
1794
+ method: string;
1795
+ contentType: string;
1796
+ stream: boolean;
1797
+ }, {
1798
+ url: string;
1799
+ method?: string | undefined;
1800
+ contentType?: string | undefined;
1801
+ stream?: boolean | undefined;
1802
+ }>>;
1803
+ }, "strip", z.ZodTypeAny, {
1804
+ id: string;
1805
+ title: string;
1806
+ created_at: string;
1807
+ updated_at: string;
1808
+ logo: string | null;
1809
+ description: string | null;
1810
+ capabilities: string[];
1811
+ limits: {
1812
+ contextWindow: number;
1813
+ maxOutputTokens: number;
1814
+ } | null;
1815
+ costs: {
1816
+ input: number;
1817
+ output: number;
1818
+ } | null;
1819
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1820
+ endpoint: {
1821
+ url: string;
1822
+ method: string;
1823
+ contentType: string;
1824
+ stream: boolean;
1825
+ } | null;
1826
+ created_by?: string | undefined;
1827
+ updated_by?: string | undefined;
1828
+ }, {
1829
+ id: string;
1830
+ title: string;
1831
+ created_at: string;
1832
+ updated_at: string;
1833
+ logo: string | null;
1834
+ description: string | null;
1835
+ capabilities: string[];
1836
+ limits: {
1837
+ contextWindow: number;
1838
+ maxOutputTokens: number;
1839
+ } | null;
1840
+ costs: {
1841
+ input: number;
1842
+ output: number;
1843
+ } | null;
1844
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1845
+ endpoint: {
1846
+ url: string;
1847
+ method?: string | undefined;
1848
+ contentType?: string | undefined;
1849
+ stream?: boolean | undefined;
1850
+ } | null;
1851
+ created_by?: string | undefined;
1852
+ updated_by?: string | undefined;
1853
+ }>;
1854
+ }, "strip", z.ZodTypeAny, {
1855
+ item: {
1856
+ id: string;
1857
+ title: string;
1858
+ created_at: string;
1859
+ updated_at: string;
1860
+ logo: string | null;
1861
+ description: string | null;
1862
+ capabilities: string[];
1863
+ limits: {
1864
+ contextWindow: number;
1865
+ maxOutputTokens: number;
1866
+ } | null;
1867
+ costs: {
1868
+ input: number;
1869
+ output: number;
1870
+ } | null;
1871
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1872
+ endpoint: {
1873
+ url: string;
1874
+ method: string;
1875
+ contentType: string;
1876
+ stream: boolean;
1877
+ } | null;
1878
+ created_by?: string | undefined;
1879
+ updated_by?: string | undefined;
1880
+ };
1881
+ }, {
1882
+ item: {
1883
+ id: string;
1884
+ title: string;
1885
+ created_at: string;
1886
+ updated_at: string;
1887
+ logo: string | null;
1888
+ description: string | null;
1889
+ capabilities: string[];
1890
+ limits: {
1891
+ contextWindow: number;
1892
+ maxOutputTokens: number;
1893
+ } | null;
1894
+ costs: {
1895
+ input: number;
1896
+ output: number;
1897
+ } | null;
1898
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1899
+ endpoint: {
1900
+ url: string;
1901
+ method?: string | undefined;
1902
+ contentType?: string | undefined;
1903
+ stream?: boolean | undefined;
1904
+ } | null;
1905
+ created_by?: string | undefined;
1906
+ updated_by?: string | undefined;
1907
+ };
1908
+ }>;
1909
+ opt: true;
1910
+ } | {
1911
+ name: "COLLECTION_MODELS_DELETE";
1912
+ inputSchema: typeof CollectionDeleteInputSchema;
1913
+ outputSchema: z.ZodObject<{
1914
+ item: z.ZodObject<{
1915
+ id: z.ZodString;
1916
+ title: z.ZodString;
1917
+ created_at: z.ZodString;
1918
+ updated_at: z.ZodString;
1919
+ created_by: z.ZodOptional<z.ZodString>;
1920
+ updated_by: z.ZodOptional<z.ZodString>;
1921
+ } & {
1922
+ logo: z.ZodNullable<z.ZodString>;
1923
+ description: z.ZodNullable<z.ZodString>;
1924
+ capabilities: z.ZodArray<z.ZodString, "many">;
1925
+ limits: z.ZodNullable<z.ZodObject<{
1926
+ contextWindow: z.ZodNumber;
1927
+ maxOutputTokens: z.ZodNumber;
1928
+ }, "strip", z.ZodTypeAny, {
1929
+ contextWindow: number;
1930
+ maxOutputTokens: number;
1931
+ }, {
1932
+ contextWindow: number;
1933
+ maxOutputTokens: number;
1934
+ }>>;
1935
+ costs: z.ZodNullable<z.ZodObject<{
1936
+ input: z.ZodNumber;
1937
+ output: z.ZodNumber;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ input: number;
1940
+ output: number;
1941
+ }, {
1942
+ input: number;
1943
+ output: number;
1944
+ }>>;
1945
+ provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1946
+ endpoint: z.ZodNullable<z.ZodObject<{
1947
+ url: z.ZodString;
1948
+ method: z.ZodDefault<z.ZodString>;
1949
+ contentType: z.ZodDefault<z.ZodString>;
1950
+ stream: z.ZodDefault<z.ZodBoolean>;
1951
+ }, "strip", z.ZodTypeAny, {
1952
+ url: string;
1953
+ method: string;
1954
+ contentType: string;
1955
+ stream: boolean;
1956
+ }, {
1957
+ url: string;
1958
+ method?: string | undefined;
1959
+ contentType?: string | undefined;
1960
+ stream?: boolean | undefined;
1961
+ }>>;
1962
+ }, "strip", z.ZodTypeAny, {
1963
+ id: string;
1964
+ title: string;
1965
+ created_at: string;
1966
+ updated_at: string;
1967
+ logo: string | null;
1968
+ description: string | null;
1969
+ capabilities: string[];
1970
+ limits: {
1971
+ contextWindow: number;
1972
+ maxOutputTokens: number;
1973
+ } | null;
1974
+ costs: {
1975
+ input: number;
1976
+ output: number;
1977
+ } | null;
1978
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
1979
+ endpoint: {
1980
+ url: string;
1981
+ method: string;
1982
+ contentType: string;
1983
+ stream: boolean;
1984
+ } | null;
1985
+ created_by?: string | undefined;
1986
+ updated_by?: string | undefined;
1987
+ }, {
1988
+ id: string;
1989
+ title: string;
1990
+ created_at: string;
1991
+ updated_at: string;
1992
+ logo: string | null;
1993
+ description: string | null;
1994
+ capabilities: string[];
1995
+ limits: {
1996
+ contextWindow: number;
1997
+ maxOutputTokens: number;
1998
+ } | null;
1999
+ costs: {
2000
+ input: number;
2001
+ output: number;
2002
+ } | null;
2003
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
2004
+ endpoint: {
2005
+ url: string;
2006
+ method?: string | undefined;
2007
+ contentType?: string | undefined;
2008
+ stream?: boolean | undefined;
2009
+ } | null;
2010
+ created_by?: string | undefined;
2011
+ updated_by?: string | undefined;
2012
+ }>;
2013
+ }, "strip", z.ZodTypeAny, {
2014
+ item: {
2015
+ id: string;
2016
+ title: string;
2017
+ created_at: string;
2018
+ updated_at: string;
2019
+ logo: string | null;
2020
+ description: string | null;
2021
+ capabilities: string[];
2022
+ limits: {
2023
+ contextWindow: number;
2024
+ maxOutputTokens: number;
2025
+ } | null;
2026
+ costs: {
2027
+ input: number;
2028
+ output: number;
2029
+ } | null;
2030
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
2031
+ endpoint: {
2032
+ url: string;
2033
+ method: string;
2034
+ contentType: string;
2035
+ stream: boolean;
2036
+ } | null;
2037
+ created_by?: string | undefined;
2038
+ updated_by?: string | undefined;
2039
+ };
2040
+ }, {
2041
+ item: {
2042
+ id: string;
2043
+ title: string;
2044
+ created_at: string;
2045
+ updated_at: string;
2046
+ logo: string | null;
2047
+ description: string | null;
2048
+ capabilities: string[];
2049
+ limits: {
2050
+ contextWindow: number;
2051
+ maxOutputTokens: number;
2052
+ } | null;
2053
+ costs: {
2054
+ input: number;
2055
+ output: number;
2056
+ } | null;
2057
+ provider: "openai" | "anthropic" | "google" | "xai" | "deepseek" | "openai-compatible" | "openrouter" | null;
2058
+ endpoint: {
2059
+ url: string;
2060
+ method?: string | undefined;
2061
+ contentType?: string | undefined;
2062
+ stream?: boolean | undefined;
2063
+ } | null;
2064
+ created_by?: string | undefined;
2065
+ updated_by?: string | undefined;
2066
+ };
2067
+ }>;
2068
+ opt: true;
2069
+ })[];
2070
+
2071
+ export { MODELS_BINDING, MODELS_COLLECTION_BINDING, ModelSchema };