optio-contracts 0.11.3 → 0.11.5

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,606 @@
1
+ import { z } from 'zod';
2
+ export declare const optioPoolsContract: import("@clamator/protocol").Contract<"optio-pools", {
3
+ kinds: import("@clamator/protocol").MethodDef<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodObject<{
4
+ kinds: z.ZodArray<z.ZodObject<{
5
+ kind: z.ZodString;
6
+ name: z.ZodString;
7
+ setup: z.ZodEnum<["login", "form"]>;
8
+ capabilities: z.ZodObject<{
9
+ lease: z.ZodBoolean;
10
+ verify: z.ZodBoolean;
11
+ accounts: z.ZodBoolean;
12
+ usageGating: z.ZodBoolean;
13
+ signature: z.ZodBoolean;
14
+ }, "strip", z.ZodTypeAny, {
15
+ lease: boolean;
16
+ verify: boolean;
17
+ accounts: boolean;
18
+ usageGating: boolean;
19
+ signature: boolean;
20
+ }, {
21
+ lease: boolean;
22
+ verify: boolean;
23
+ accounts: boolean;
24
+ usageGating: boolean;
25
+ signature: boolean;
26
+ }>;
27
+ regions: z.ZodArray<z.ZodString, "many">;
28
+ } & {
29
+ seedCollection: z.ZodString;
30
+ }, "strip", z.ZodTypeAny, {
31
+ name: string;
32
+ kind: string;
33
+ setup: "login" | "form";
34
+ capabilities: {
35
+ lease: boolean;
36
+ verify: boolean;
37
+ accounts: boolean;
38
+ usageGating: boolean;
39
+ signature: boolean;
40
+ };
41
+ regions: string[];
42
+ seedCollection: string;
43
+ }, {
44
+ name: string;
45
+ kind: string;
46
+ setup: "login" | "form";
47
+ capabilities: {
48
+ lease: boolean;
49
+ verify: boolean;
50
+ accounts: boolean;
51
+ usageGating: boolean;
52
+ signature: boolean;
53
+ };
54
+ regions: string[];
55
+ seedCollection: string;
56
+ }>, "many">;
57
+ }, "strip", z.ZodTypeAny, {
58
+ kinds: {
59
+ name: string;
60
+ kind: string;
61
+ setup: "login" | "form";
62
+ capabilities: {
63
+ lease: boolean;
64
+ verify: boolean;
65
+ accounts: boolean;
66
+ usageGating: boolean;
67
+ signature: boolean;
68
+ };
69
+ regions: string[];
70
+ seedCollection: string;
71
+ }[];
72
+ }, {
73
+ kinds: {
74
+ name: string;
75
+ kind: string;
76
+ setup: "login" | "form";
77
+ capabilities: {
78
+ lease: boolean;
79
+ verify: boolean;
80
+ accounts: boolean;
81
+ usageGating: boolean;
82
+ signature: boolean;
83
+ };
84
+ regions: string[];
85
+ seedCollection: string;
86
+ }[];
87
+ }>>;
88
+ stats: import("@clamator/protocol").MethodDef<z.ZodObject<{
89
+ owner: z.ZodString;
90
+ kind: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ kind: string;
93
+ owner: string;
94
+ }, {
95
+ kind: string;
96
+ owner: string;
97
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
98
+ ok: z.ZodLiteral<true>;
99
+ stats: z.ZodObject<{
100
+ total: z.ZodNumber;
101
+ dead: z.ZodNumber;
102
+ inUse: z.ZodNumber;
103
+ free: z.ZodNumber;
104
+ usable: z.ZodNumber;
105
+ seeds: z.ZodArray<z.ZodObject<{
106
+ label: z.ZodNullable<z.ZodString>;
107
+ status: z.ZodEnum<["pending", "alive", "dead"]>;
108
+ leased: z.ZodBoolean;
109
+ }, "strip", z.ZodTypeAny, {
110
+ status: "pending" | "alive" | "dead";
111
+ label: string | null;
112
+ leased: boolean;
113
+ }, {
114
+ status: "pending" | "alive" | "dead";
115
+ label: string | null;
116
+ leased: boolean;
117
+ }>, "many">;
118
+ limited: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
119
+ notLimited: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
120
+ divergent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
+ accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
122
+ accountId: z.ZodNullable<z.ZodString>;
123
+ summary: z.ZodNullable<z.ZodString>;
124
+ resetsAt: z.ZodNullable<z.ZodString>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ summary: string | null;
127
+ accountId: string | null;
128
+ resetsAt: string | null;
129
+ }, {
130
+ summary: string | null;
131
+ accountId: string | null;
132
+ resetsAt: string | null;
133
+ }>, "many">>>;
134
+ gateway: z.ZodOptional<z.ZodNullable<z.ZodObject<{
135
+ region: z.ZodString;
136
+ defaultModel: z.ZodString;
137
+ keyHint: z.ZodNullable<z.ZodString>;
138
+ testedAt: z.ZodNullable<z.ZodString>;
139
+ models: z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ label: z.ZodString;
142
+ status: z.ZodEnum<["untested", "ok", "failed"]>;
143
+ reason: z.ZodNullable<z.ZodString>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ status: "failed" | "untested" | "ok";
146
+ reason: string | null;
147
+ id: string;
148
+ label: string;
149
+ }, {
150
+ status: "failed" | "untested" | "ok";
151
+ reason: string | null;
152
+ id: string;
153
+ label: string;
154
+ }>, "many">;
155
+ }, "strip", z.ZodTypeAny, {
156
+ region: string;
157
+ defaultModel: string;
158
+ keyHint: string | null;
159
+ testedAt: string | null;
160
+ models: {
161
+ status: "failed" | "untested" | "ok";
162
+ reason: string | null;
163
+ id: string;
164
+ label: string;
165
+ }[];
166
+ }, {
167
+ region: string;
168
+ defaultModel: string;
169
+ keyHint: string | null;
170
+ testedAt: string | null;
171
+ models: {
172
+ status: "failed" | "untested" | "ok";
173
+ reason: string | null;
174
+ id: string;
175
+ label: string;
176
+ }[];
177
+ }>>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ dead: number;
180
+ total: number;
181
+ inUse: number;
182
+ free: number;
183
+ usable: number;
184
+ seeds: {
185
+ status: "pending" | "alive" | "dead";
186
+ label: string | null;
187
+ leased: boolean;
188
+ }[];
189
+ accounts?: {
190
+ summary: string | null;
191
+ accountId: string | null;
192
+ resetsAt: string | null;
193
+ }[] | null | undefined;
194
+ limited?: number | null | undefined;
195
+ notLimited?: number | null | undefined;
196
+ divergent?: number | null | undefined;
197
+ gateway?: {
198
+ region: string;
199
+ defaultModel: string;
200
+ keyHint: string | null;
201
+ testedAt: string | null;
202
+ models: {
203
+ status: "failed" | "untested" | "ok";
204
+ reason: string | null;
205
+ id: string;
206
+ label: string;
207
+ }[];
208
+ } | null | undefined;
209
+ }, {
210
+ dead: number;
211
+ total: number;
212
+ inUse: number;
213
+ free: number;
214
+ usable: number;
215
+ seeds: {
216
+ status: "pending" | "alive" | "dead";
217
+ label: string | null;
218
+ leased: boolean;
219
+ }[];
220
+ accounts?: {
221
+ summary: string | null;
222
+ accountId: string | null;
223
+ resetsAt: string | null;
224
+ }[] | null | undefined;
225
+ limited?: number | null | undefined;
226
+ notLimited?: number | null | undefined;
227
+ divergent?: number | null | undefined;
228
+ gateway?: {
229
+ region: string;
230
+ defaultModel: string;
231
+ keyHint: string | null;
232
+ testedAt: string | null;
233
+ models: {
234
+ status: "failed" | "untested" | "ok";
235
+ reason: string | null;
236
+ id: string;
237
+ label: string;
238
+ }[];
239
+ } | null | undefined;
240
+ }>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ ok: true;
243
+ stats: {
244
+ dead: number;
245
+ total: number;
246
+ inUse: number;
247
+ free: number;
248
+ usable: number;
249
+ seeds: {
250
+ status: "pending" | "alive" | "dead";
251
+ label: string | null;
252
+ leased: boolean;
253
+ }[];
254
+ accounts?: {
255
+ summary: string | null;
256
+ accountId: string | null;
257
+ resetsAt: string | null;
258
+ }[] | null | undefined;
259
+ limited?: number | null | undefined;
260
+ notLimited?: number | null | undefined;
261
+ divergent?: number | null | undefined;
262
+ gateway?: {
263
+ region: string;
264
+ defaultModel: string;
265
+ keyHint: string | null;
266
+ testedAt: string | null;
267
+ models: {
268
+ status: "failed" | "untested" | "ok";
269
+ reason: string | null;
270
+ id: string;
271
+ label: string;
272
+ }[];
273
+ } | null | undefined;
274
+ };
275
+ }, {
276
+ ok: true;
277
+ stats: {
278
+ dead: number;
279
+ total: number;
280
+ inUse: number;
281
+ free: number;
282
+ usable: number;
283
+ seeds: {
284
+ status: "pending" | "alive" | "dead";
285
+ label: string | null;
286
+ leased: boolean;
287
+ }[];
288
+ accounts?: {
289
+ summary: string | null;
290
+ accountId: string | null;
291
+ resetsAt: string | null;
292
+ }[] | null | undefined;
293
+ limited?: number | null | undefined;
294
+ notLimited?: number | null | undefined;
295
+ divergent?: number | null | undefined;
296
+ gateway?: {
297
+ region: string;
298
+ defaultModel: string;
299
+ keyHint: string | null;
300
+ testedAt: string | null;
301
+ models: {
302
+ status: "failed" | "untested" | "ok";
303
+ reason: string | null;
304
+ id: string;
305
+ label: string;
306
+ }[];
307
+ } | null | undefined;
308
+ };
309
+ }>, z.ZodObject<{
310
+ ok: z.ZodLiteral<false>;
311
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
312
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
315
+ ok: false;
316
+ message?: string | null | undefined;
317
+ }, {
318
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
319
+ ok: false;
320
+ message?: string | null | undefined;
321
+ }>]>>;
322
+ startSetup: import("@clamator/protocol").MethodDef<z.ZodObject<{
323
+ owner: z.ZodString;
324
+ kind: z.ZodString;
325
+ }, "strip", z.ZodTypeAny, {
326
+ kind: string;
327
+ owner: string;
328
+ }, {
329
+ kind: string;
330
+ owner: string;
331
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
332
+ ok: z.ZodLiteral<true>;
333
+ processId: z.ZodString;
334
+ }, "strip", z.ZodTypeAny, {
335
+ processId: string;
336
+ ok: true;
337
+ }, {
338
+ processId: string;
339
+ ok: true;
340
+ }>, z.ZodObject<{
341
+ ok: z.ZodLiteral<false>;
342
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
343
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
346
+ ok: false;
347
+ message?: string | null | undefined;
348
+ }, {
349
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
350
+ ok: false;
351
+ message?: string | null | undefined;
352
+ }>]>>;
353
+ gatewayModels: import("@clamator/protocol").MethodDef<z.ZodObject<{
354
+ owner: z.ZodString;
355
+ kind: z.ZodString;
356
+ } & {
357
+ apiKey: z.ZodOptional<z.ZodString>;
358
+ region: z.ZodString;
359
+ }, "strip", z.ZodTypeAny, {
360
+ kind: string;
361
+ region: string;
362
+ owner: string;
363
+ apiKey?: string | undefined;
364
+ }, {
365
+ kind: string;
366
+ region: string;
367
+ owner: string;
368
+ apiKey?: string | undefined;
369
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
370
+ ok: z.ZodLiteral<true>;
371
+ models: z.ZodArray<z.ZodObject<{
372
+ id: z.ZodString;
373
+ label: z.ZodString;
374
+ group: z.ZodEnum<["managed", "pinned", "policy"]>;
375
+ efforts: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
376
+ euOnly: z.ZodBoolean;
377
+ }, "strip", z.ZodTypeAny, {
378
+ id: string;
379
+ label: string;
380
+ group: "managed" | "pinned" | "policy";
381
+ efforts: string[] | null;
382
+ euOnly: boolean;
383
+ }, {
384
+ id: string;
385
+ label: string;
386
+ group: "managed" | "pinned" | "policy";
387
+ efforts: string[] | null;
388
+ euOnly: boolean;
389
+ }>, "many">;
390
+ }, "strip", z.ZodTypeAny, {
391
+ ok: true;
392
+ models: {
393
+ id: string;
394
+ label: string;
395
+ group: "managed" | "pinned" | "policy";
396
+ efforts: string[] | null;
397
+ euOnly: boolean;
398
+ }[];
399
+ }, {
400
+ ok: true;
401
+ models: {
402
+ id: string;
403
+ label: string;
404
+ group: "managed" | "pinned" | "policy";
405
+ efforts: string[] | null;
406
+ euOnly: boolean;
407
+ }[];
408
+ }>, z.ZodObject<{
409
+ ok: z.ZodLiteral<false>;
410
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
411
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
414
+ ok: false;
415
+ message?: string | null | undefined;
416
+ }, {
417
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
418
+ ok: false;
419
+ message?: string | null | undefined;
420
+ }>]>>;
421
+ gatewayConfigure: import("@clamator/protocol").MethodDef<z.ZodObject<{
422
+ owner: z.ZodString;
423
+ kind: z.ZodString;
424
+ } & {
425
+ apiKey: z.ZodOptional<z.ZodString>;
426
+ region: z.ZodString;
427
+ } & {
428
+ models: z.ZodArray<z.ZodString, "many">;
429
+ defaultModel: z.ZodString;
430
+ }, "strip", z.ZodTypeAny, {
431
+ kind: string;
432
+ region: string;
433
+ defaultModel: string;
434
+ models: string[];
435
+ owner: string;
436
+ apiKey?: string | undefined;
437
+ }, {
438
+ kind: string;
439
+ region: string;
440
+ defaultModel: string;
441
+ models: string[];
442
+ owner: string;
443
+ apiKey?: string | undefined;
444
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
445
+ ok: z.ZodLiteral<true>;
446
+ processId: z.ZodString;
447
+ }, "strip", z.ZodTypeAny, {
448
+ processId: string;
449
+ ok: true;
450
+ }, {
451
+ processId: string;
452
+ ok: true;
453
+ }>, z.ZodObject<{
454
+ ok: z.ZodLiteral<false>;
455
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
456
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
459
+ ok: false;
460
+ message?: string | null | undefined;
461
+ }, {
462
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
463
+ ok: false;
464
+ message?: string | null | undefined;
465
+ }>]>>;
466
+ retest: import("@clamator/protocol").MethodDef<z.ZodObject<{
467
+ owner: z.ZodString;
468
+ kind: z.ZodString;
469
+ }, "strip", z.ZodTypeAny, {
470
+ kind: string;
471
+ owner: string;
472
+ }, {
473
+ kind: string;
474
+ owner: string;
475
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
476
+ ok: z.ZodLiteral<true>;
477
+ verified: z.ZodNumber;
478
+ dead: z.ZodNumber;
479
+ unverified: z.ZodNumber;
480
+ processId: z.ZodNullable<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ processId: string | null;
483
+ dead: number;
484
+ ok: true;
485
+ verified: number;
486
+ unverified: number;
487
+ }, {
488
+ processId: string | null;
489
+ dead: number;
490
+ ok: true;
491
+ verified: number;
492
+ unverified: number;
493
+ }>, z.ZodObject<{
494
+ ok: z.ZodLiteral<false>;
495
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
496
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
499
+ ok: false;
500
+ message?: string | null | undefined;
501
+ }, {
502
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
503
+ ok: false;
504
+ message?: string | null | undefined;
505
+ }>]>>;
506
+ buryDead: import("@clamator/protocol").MethodDef<z.ZodObject<{
507
+ owner: z.ZodString;
508
+ kind: z.ZodString;
509
+ }, "strip", z.ZodTypeAny, {
510
+ kind: string;
511
+ owner: string;
512
+ }, {
513
+ kind: string;
514
+ owner: string;
515
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
516
+ ok: z.ZodLiteral<true>;
517
+ buried: z.ZodNumber;
518
+ }, "strip", z.ZodTypeAny, {
519
+ ok: true;
520
+ buried: number;
521
+ }, {
522
+ ok: true;
523
+ buried: number;
524
+ }>, z.ZodObject<{
525
+ ok: z.ZodLiteral<false>;
526
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
527
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
528
+ }, "strip", z.ZodTypeAny, {
529
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
530
+ ok: false;
531
+ message?: string | null | undefined;
532
+ }, {
533
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
534
+ ok: false;
535
+ message?: string | null | undefined;
536
+ }>]>>;
537
+ removeAll: import("@clamator/protocol").MethodDef<z.ZodObject<{
538
+ owner: z.ZodString;
539
+ kind: z.ZodString;
540
+ }, "strip", z.ZodTypeAny, {
541
+ kind: string;
542
+ owner: string;
543
+ }, {
544
+ kind: string;
545
+ owner: string;
546
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
547
+ ok: z.ZodLiteral<true>;
548
+ removed: z.ZodNumber;
549
+ skipped: z.ZodNumber;
550
+ }, "strip", z.ZodTypeAny, {
551
+ ok: true;
552
+ removed: number;
553
+ skipped: number;
554
+ }, {
555
+ ok: true;
556
+ removed: number;
557
+ skipped: number;
558
+ }>, z.ZodObject<{
559
+ ok: z.ZodLiteral<false>;
560
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
561
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
564
+ ok: false;
565
+ message?: string | null | undefined;
566
+ }, {
567
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
568
+ ok: false;
569
+ message?: string | null | undefined;
570
+ }>]>>;
571
+ sortOut: import("@clamator/protocol").MethodDef<z.ZodObject<{
572
+ owner: z.ZodString;
573
+ kind: z.ZodString;
574
+ }, "strip", z.ZodTypeAny, {
575
+ kind: string;
576
+ owner: string;
577
+ }, {
578
+ kind: string;
579
+ owner: string;
580
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
581
+ ok: z.ZodLiteral<true>;
582
+ removed: z.ZodNumber;
583
+ skipped: z.ZodNumber;
584
+ }, "strip", z.ZodTypeAny, {
585
+ ok: true;
586
+ removed: number;
587
+ skipped: number;
588
+ }, {
589
+ ok: true;
590
+ removed: number;
591
+ skipped: number;
592
+ }>, z.ZodObject<{
593
+ ok: z.ZodLiteral<false>;
594
+ reason: z.ZodEnum<["unknown-kind", "unsupported", "invalid-owner", "setup-running", "launch-refused", "no-key", "key-rejected", "unreachable", "no-models", "unknown-model", "default-not-ticked", "unknown-region"]>;
595
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
598
+ ok: false;
599
+ message?: string | null | undefined;
600
+ }, {
601
+ reason: "unknown-kind" | "unsupported" | "invalid-owner" | "setup-running" | "launch-refused" | "no-key" | "key-rejected" | "unreachable" | "no-models" | "unknown-model" | "default-not-ticked" | "unknown-region";
602
+ ok: false;
603
+ message?: string | null | undefined;
604
+ }>]>>;
605
+ }>;
606
+ //# sourceMappingURL=optio-pools-to-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optio-pools-to-api.d.ts","sourceRoot":"","sources":["../../src/pools/optio-pools-to-api.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmE7B,CAAC"}