@wallavi/vercel-build 0.0.0-stage → 0.1.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.
@@ -0,0 +1,1287 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const ARCHIVO_CONFIG = "vercel-build.config.json";
4
+ declare function normalizarCarpeta(carpeta: string): string;
5
+ declare const esquemaProyecto: z.ZodObject<{
6
+ carpetas: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
7
+ carpetasExtra: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ carpetas: string[];
10
+ carpetasExtra?: string[] | undefined;
11
+ }, {
12
+ carpetas: string[];
13
+ carpetasExtra?: string[] | undefined;
14
+ }>;
15
+ declare const esquemaConfig: z.ZodObject<{
16
+ ramasConPreview: z.ZodArray<z.ZodString, "many">;
17
+ proyectos: z.ZodRecord<z.ZodString, z.ZodObject<{
18
+ carpetas: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
19
+ carpetasExtra: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
20
+ }, "strict", z.ZodTypeAny, {
21
+ carpetas: string[];
22
+ carpetasExtra?: string[] | undefined;
23
+ }, {
24
+ carpetas: string[];
25
+ carpetasExtra?: string[] | undefined;
26
+ }>>;
27
+ }, "strict", z.ZodTypeAny, {
28
+ ramasConPreview: string[];
29
+ proyectos: Record<string, {
30
+ carpetas: string[];
31
+ carpetasExtra?: string[] | undefined;
32
+ }>;
33
+ }, {
34
+ ramasConPreview: string[];
35
+ proyectos: Record<string, {
36
+ carpetas: string[];
37
+ carpetasExtra?: string[] | undefined;
38
+ }>;
39
+ }>;
40
+ type ConfigVercelBuild = z.infer<typeof esquemaConfig>;
41
+ type ProyectoVercelBuild = z.infer<typeof esquemaProyecto>;
42
+ declare function configVacia(): ConfigVercelBuild;
43
+ declare function validarConfig(valor: unknown, origen?: string): ConfigVercelBuild;
44
+ declare function leerConfig(ruta?: string): ConfigVercelBuild;
45
+ declare function proyectoDeCarpeta(config: ConfigVercelBuild, carpeta: string): {
46
+ nombre: string;
47
+ proyecto: ProyectoVercelBuild;
48
+ } | null;
49
+
50
+ interface ResultadoProceso {
51
+ codigo: number | null;
52
+ salida: string;
53
+ error: string;
54
+ fallo?: string;
55
+ }
56
+ interface OpcionesProceso {
57
+ cwd: string;
58
+ env?: NodeJS.ProcessEnv;
59
+ heredar?: boolean;
60
+ }
61
+ declare function ejecutar(comando: string, args: readonly string[], opciones: OpcionesProceso): ResultadoProceso;
62
+ type Ejecutar = typeof ejecutar;
63
+ type Resultado = "sin-cambios" | "con-cambios" | "incierto";
64
+ interface Evaluacion {
65
+ resultado: Resultado;
66
+ motivo: string;
67
+ }
68
+ interface OpcionesCambios {
69
+ carpeta: string;
70
+ antes?: string;
71
+ env?: NodeJS.ProcessEnv;
72
+ config?: ConfigVercelBuild;
73
+ ejecutar?: Ejecutar;
74
+ }
75
+ declare function ubicarEnRepo(carpeta: string, ej?: Ejecutar): {
76
+ raiz: string;
77
+ prefijo: string;
78
+ } | null;
79
+ declare function comandoTurbo(raiz: string): [string, string[]];
80
+ declare function paquetesDeTurbo(salida: string): string[] | null;
81
+ declare function evaluarCambios(opciones: OpcionesCambios): Evaluacion;
82
+
83
+ declare const RAMA_PRINCIPAL = "main";
84
+ declare const PREFIJO_PREVIEW = "preview/";
85
+ declare function ramaPermitida(rama: string, config: ConfigVercelBuild): boolean;
86
+ interface OpcionesIgnorar extends Entorno {
87
+ config?: ConfigVercelBuild;
88
+ ejecutar?: Ejecutar;
89
+ evaluar?: (opciones: OpcionesCambios) => Evaluacion;
90
+ }
91
+ declare function ejecutarIgnorar(opciones: OpcionesIgnorar): number;
92
+ declare function comandoIgnorar(args: string[], entorno: Entorno): number;
93
+ declare const ignorar: typeof comandoIgnorar;
94
+
95
+ declare const VARIABLES_VERCEL: readonly ["VERCEL_TOKEN", "VERCEL_ORG_ID", "VERCEL_PROJECT_ID"];
96
+ declare const PASOS_VERCEL: readonly (readonly string[])[];
97
+ interface ArgumentosDesplegar {
98
+ carpeta: string;
99
+ antes?: string;
100
+ }
101
+ declare function leerArgumentosDesplegar(args: readonly string[]): {
102
+ ok: true;
103
+ valor: ArgumentosDesplegar;
104
+ } | {
105
+ ok: false;
106
+ motivo: string;
107
+ };
108
+ interface OpcionesDesplegar extends Entorno {
109
+ carpeta: string;
110
+ antes?: string;
111
+ ejecutar?: Ejecutar;
112
+ evaluar?: (opciones: OpcionesCambios) => Evaluacion;
113
+ }
114
+ declare function ejecutarDesplegar(opciones: OpcionesDesplegar): number;
115
+ declare function comandoDesplegar(args: string[], entorno: Entorno): number;
116
+ declare const desplegar: typeof comandoDesplegar;
117
+
118
+ declare const API_VERCEL_URL = "https://api.vercel.com";
119
+ declare const LIMITE_PAGINA_VERCEL = 100;
120
+ declare const MAX_PAGINAS_VERCEL = 1000;
121
+ declare const ESTADOS_DEPLOYMENT: readonly ["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"];
122
+ declare class ErrorContratoVercel extends Error {
123
+ constructor(mensaje: string);
124
+ }
125
+ declare class ErrorRedVercel extends Error {
126
+ readonly estado?: number;
127
+ constructor(mensaje: string, estado?: number);
128
+ }
129
+ declare const esquemaPaginacion: z.ZodObject<{
130
+ count: z.ZodNumber;
131
+ next: z.ZodNullable<z.ZodNumber>;
132
+ prev: z.ZodNullable<z.ZodNumber>;
133
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
134
+ count: z.ZodNumber;
135
+ next: z.ZodNullable<z.ZodNumber>;
136
+ prev: z.ZodNullable<z.ZodNumber>;
137
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
138
+ count: z.ZodNumber;
139
+ next: z.ZodNullable<z.ZodNumber>;
140
+ prev: z.ZodNullable<z.ZodNumber>;
141
+ }, z.ZodTypeAny, "passthrough">>;
142
+ declare const esquemaEquipo: z.ZodObject<{
143
+ id: z.ZodString;
144
+ slug: z.ZodString;
145
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
146
+ id: z.ZodString;
147
+ slug: z.ZodString;
148
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
149
+ id: z.ZodString;
150
+ slug: z.ZodString;
151
+ }, z.ZodTypeAny, "passthrough">>;
152
+ declare const esquemaPaginaTeams: z.ZodObject<{
153
+ teams: z.ZodArray<z.ZodObject<{
154
+ id: z.ZodString;
155
+ slug: z.ZodString;
156
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
157
+ id: z.ZodString;
158
+ slug: z.ZodString;
159
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
160
+ id: z.ZodString;
161
+ slug: z.ZodString;
162
+ }, z.ZodTypeAny, "passthrough">>, "many">;
163
+ pagination: z.ZodObject<{
164
+ count: z.ZodNumber;
165
+ next: z.ZodNullable<z.ZodNumber>;
166
+ prev: z.ZodNullable<z.ZodNumber>;
167
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
168
+ count: z.ZodNumber;
169
+ next: z.ZodNullable<z.ZodNumber>;
170
+ prev: z.ZodNullable<z.ZodNumber>;
171
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
172
+ count: z.ZodNumber;
173
+ next: z.ZodNullable<z.ZodNumber>;
174
+ prev: z.ZodNullable<z.ZodNumber>;
175
+ }, z.ZodTypeAny, "passthrough">>;
176
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
177
+ teams: z.ZodArray<z.ZodObject<{
178
+ id: z.ZodString;
179
+ slug: z.ZodString;
180
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
181
+ id: z.ZodString;
182
+ slug: z.ZodString;
183
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
184
+ id: z.ZodString;
185
+ slug: z.ZodString;
186
+ }, z.ZodTypeAny, "passthrough">>, "many">;
187
+ pagination: z.ZodObject<{
188
+ count: z.ZodNumber;
189
+ next: z.ZodNullable<z.ZodNumber>;
190
+ prev: z.ZodNullable<z.ZodNumber>;
191
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
192
+ count: z.ZodNumber;
193
+ next: z.ZodNullable<z.ZodNumber>;
194
+ prev: z.ZodNullable<z.ZodNumber>;
195
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
196
+ count: z.ZodNumber;
197
+ next: z.ZodNullable<z.ZodNumber>;
198
+ prev: z.ZodNullable<z.ZodNumber>;
199
+ }, z.ZodTypeAny, "passthrough">>;
200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
201
+ teams: z.ZodArray<z.ZodObject<{
202
+ id: z.ZodString;
203
+ slug: z.ZodString;
204
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
205
+ id: z.ZodString;
206
+ slug: z.ZodString;
207
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
208
+ id: z.ZodString;
209
+ slug: z.ZodString;
210
+ }, z.ZodTypeAny, "passthrough">>, "many">;
211
+ pagination: z.ZodObject<{
212
+ count: z.ZodNumber;
213
+ next: z.ZodNullable<z.ZodNumber>;
214
+ prev: z.ZodNullable<z.ZodNumber>;
215
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
216
+ count: z.ZodNumber;
217
+ next: z.ZodNullable<z.ZodNumber>;
218
+ prev: z.ZodNullable<z.ZodNumber>;
219
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
220
+ count: z.ZodNumber;
221
+ next: z.ZodNullable<z.ZodNumber>;
222
+ prev: z.ZodNullable<z.ZodNumber>;
223
+ }, z.ZodTypeAny, "passthrough">>;
224
+ }, z.ZodTypeAny, "passthrough">>;
225
+ declare const esquemaEstadoDeployment: z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>;
226
+ declare const esquemaDeployment: z.ZodEffects<z.ZodObject<{
227
+ uid: z.ZodString;
228
+ name: z.ZodString;
229
+ createdAt: z.ZodNumber;
230
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
231
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
232
+ buildingAt: z.ZodOptional<z.ZodNumber>;
233
+ ready: z.ZodOptional<z.ZodNumber>;
234
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
235
+ uid: z.ZodString;
236
+ name: z.ZodString;
237
+ createdAt: z.ZodNumber;
238
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
239
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
240
+ buildingAt: z.ZodOptional<z.ZodNumber>;
241
+ ready: z.ZodOptional<z.ZodNumber>;
242
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
243
+ uid: z.ZodString;
244
+ name: z.ZodString;
245
+ createdAt: z.ZodNumber;
246
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
247
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
248
+ buildingAt: z.ZodOptional<z.ZodNumber>;
249
+ ready: z.ZodOptional<z.ZodNumber>;
250
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
251
+ uid: z.ZodString;
252
+ name: z.ZodString;
253
+ createdAt: z.ZodNumber;
254
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
255
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
256
+ buildingAt: z.ZodOptional<z.ZodNumber>;
257
+ ready: z.ZodOptional<z.ZodNumber>;
258
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
259
+ uid: z.ZodString;
260
+ name: z.ZodString;
261
+ createdAt: z.ZodNumber;
262
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
263
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
264
+ buildingAt: z.ZodOptional<z.ZodNumber>;
265
+ ready: z.ZodOptional<z.ZodNumber>;
266
+ }, z.ZodTypeAny, "passthrough">>;
267
+ declare const esquemaPaginaDeployments: z.ZodObject<{
268
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
269
+ uid: z.ZodString;
270
+ name: z.ZodString;
271
+ createdAt: z.ZodNumber;
272
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
273
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
274
+ buildingAt: z.ZodOptional<z.ZodNumber>;
275
+ ready: z.ZodOptional<z.ZodNumber>;
276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
277
+ uid: z.ZodString;
278
+ name: z.ZodString;
279
+ createdAt: z.ZodNumber;
280
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
281
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
282
+ buildingAt: z.ZodOptional<z.ZodNumber>;
283
+ ready: z.ZodOptional<z.ZodNumber>;
284
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
285
+ uid: z.ZodString;
286
+ name: z.ZodString;
287
+ createdAt: z.ZodNumber;
288
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
289
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
290
+ buildingAt: z.ZodOptional<z.ZodNumber>;
291
+ ready: z.ZodOptional<z.ZodNumber>;
292
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
293
+ uid: z.ZodString;
294
+ name: z.ZodString;
295
+ createdAt: z.ZodNumber;
296
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
297
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
298
+ buildingAt: z.ZodOptional<z.ZodNumber>;
299
+ ready: z.ZodOptional<z.ZodNumber>;
300
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
301
+ uid: z.ZodString;
302
+ name: z.ZodString;
303
+ createdAt: z.ZodNumber;
304
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
305
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
306
+ buildingAt: z.ZodOptional<z.ZodNumber>;
307
+ ready: z.ZodOptional<z.ZodNumber>;
308
+ }, z.ZodTypeAny, "passthrough">>, "many">;
309
+ pagination: z.ZodObject<{
310
+ count: z.ZodNumber;
311
+ next: z.ZodNullable<z.ZodNumber>;
312
+ prev: z.ZodNullable<z.ZodNumber>;
313
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
314
+ count: z.ZodNumber;
315
+ next: z.ZodNullable<z.ZodNumber>;
316
+ prev: z.ZodNullable<z.ZodNumber>;
317
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
318
+ count: z.ZodNumber;
319
+ next: z.ZodNullable<z.ZodNumber>;
320
+ prev: z.ZodNullable<z.ZodNumber>;
321
+ }, z.ZodTypeAny, "passthrough">>;
322
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
323
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
324
+ uid: z.ZodString;
325
+ name: z.ZodString;
326
+ createdAt: z.ZodNumber;
327
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
328
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
329
+ buildingAt: z.ZodOptional<z.ZodNumber>;
330
+ ready: z.ZodOptional<z.ZodNumber>;
331
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
332
+ uid: z.ZodString;
333
+ name: z.ZodString;
334
+ createdAt: z.ZodNumber;
335
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
336
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
337
+ buildingAt: z.ZodOptional<z.ZodNumber>;
338
+ ready: z.ZodOptional<z.ZodNumber>;
339
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
340
+ uid: z.ZodString;
341
+ name: z.ZodString;
342
+ createdAt: z.ZodNumber;
343
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
344
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
345
+ buildingAt: z.ZodOptional<z.ZodNumber>;
346
+ ready: z.ZodOptional<z.ZodNumber>;
347
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
348
+ uid: z.ZodString;
349
+ name: z.ZodString;
350
+ createdAt: z.ZodNumber;
351
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
352
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
353
+ buildingAt: z.ZodOptional<z.ZodNumber>;
354
+ ready: z.ZodOptional<z.ZodNumber>;
355
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
356
+ uid: z.ZodString;
357
+ name: z.ZodString;
358
+ createdAt: z.ZodNumber;
359
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
360
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
361
+ buildingAt: z.ZodOptional<z.ZodNumber>;
362
+ ready: z.ZodOptional<z.ZodNumber>;
363
+ }, z.ZodTypeAny, "passthrough">>, "many">;
364
+ pagination: z.ZodObject<{
365
+ count: z.ZodNumber;
366
+ next: z.ZodNullable<z.ZodNumber>;
367
+ prev: z.ZodNullable<z.ZodNumber>;
368
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
369
+ count: z.ZodNumber;
370
+ next: z.ZodNullable<z.ZodNumber>;
371
+ prev: z.ZodNullable<z.ZodNumber>;
372
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
373
+ count: z.ZodNumber;
374
+ next: z.ZodNullable<z.ZodNumber>;
375
+ prev: z.ZodNullable<z.ZodNumber>;
376
+ }, z.ZodTypeAny, "passthrough">>;
377
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
378
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
379
+ uid: z.ZodString;
380
+ name: z.ZodString;
381
+ createdAt: z.ZodNumber;
382
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
383
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
384
+ buildingAt: z.ZodOptional<z.ZodNumber>;
385
+ ready: z.ZodOptional<z.ZodNumber>;
386
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
387
+ uid: z.ZodString;
388
+ name: z.ZodString;
389
+ createdAt: z.ZodNumber;
390
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
391
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
392
+ buildingAt: z.ZodOptional<z.ZodNumber>;
393
+ ready: z.ZodOptional<z.ZodNumber>;
394
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
395
+ uid: z.ZodString;
396
+ name: z.ZodString;
397
+ createdAt: z.ZodNumber;
398
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
399
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
400
+ buildingAt: z.ZodOptional<z.ZodNumber>;
401
+ ready: z.ZodOptional<z.ZodNumber>;
402
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
403
+ uid: z.ZodString;
404
+ name: z.ZodString;
405
+ createdAt: z.ZodNumber;
406
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
407
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
408
+ buildingAt: z.ZodOptional<z.ZodNumber>;
409
+ ready: z.ZodOptional<z.ZodNumber>;
410
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
411
+ uid: z.ZodString;
412
+ name: z.ZodString;
413
+ createdAt: z.ZodNumber;
414
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
415
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
416
+ buildingAt: z.ZodOptional<z.ZodNumber>;
417
+ ready: z.ZodOptional<z.ZodNumber>;
418
+ }, z.ZodTypeAny, "passthrough">>, "many">;
419
+ pagination: z.ZodObject<{
420
+ count: z.ZodNumber;
421
+ next: z.ZodNullable<z.ZodNumber>;
422
+ prev: z.ZodNullable<z.ZodNumber>;
423
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
424
+ count: z.ZodNumber;
425
+ next: z.ZodNullable<z.ZodNumber>;
426
+ prev: z.ZodNullable<z.ZodNumber>;
427
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
428
+ count: z.ZodNumber;
429
+ next: z.ZodNullable<z.ZodNumber>;
430
+ prev: z.ZodNullable<z.ZodNumber>;
431
+ }, z.ZodTypeAny, "passthrough">>;
432
+ }, z.ZodTypeAny, "passthrough">>;
433
+ declare const esquemaArchivoDeployments: z.ZodObject<{
434
+ paginas: z.ZodArray<z.ZodObject<{
435
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
436
+ uid: z.ZodString;
437
+ name: z.ZodString;
438
+ createdAt: z.ZodNumber;
439
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
440
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
441
+ buildingAt: z.ZodOptional<z.ZodNumber>;
442
+ ready: z.ZodOptional<z.ZodNumber>;
443
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
444
+ uid: z.ZodString;
445
+ name: z.ZodString;
446
+ createdAt: z.ZodNumber;
447
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
448
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
449
+ buildingAt: z.ZodOptional<z.ZodNumber>;
450
+ ready: z.ZodOptional<z.ZodNumber>;
451
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
452
+ uid: z.ZodString;
453
+ name: z.ZodString;
454
+ createdAt: z.ZodNumber;
455
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
456
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
457
+ buildingAt: z.ZodOptional<z.ZodNumber>;
458
+ ready: z.ZodOptional<z.ZodNumber>;
459
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
460
+ uid: z.ZodString;
461
+ name: z.ZodString;
462
+ createdAt: z.ZodNumber;
463
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
464
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
465
+ buildingAt: z.ZodOptional<z.ZodNumber>;
466
+ ready: z.ZodOptional<z.ZodNumber>;
467
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
468
+ uid: z.ZodString;
469
+ name: z.ZodString;
470
+ createdAt: z.ZodNumber;
471
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
472
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
473
+ buildingAt: z.ZodOptional<z.ZodNumber>;
474
+ ready: z.ZodOptional<z.ZodNumber>;
475
+ }, z.ZodTypeAny, "passthrough">>, "many">;
476
+ pagination: z.ZodObject<{
477
+ count: z.ZodNumber;
478
+ next: z.ZodNullable<z.ZodNumber>;
479
+ prev: z.ZodNullable<z.ZodNumber>;
480
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
481
+ count: z.ZodNumber;
482
+ next: z.ZodNullable<z.ZodNumber>;
483
+ prev: z.ZodNullable<z.ZodNumber>;
484
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
485
+ count: z.ZodNumber;
486
+ next: z.ZodNullable<z.ZodNumber>;
487
+ prev: z.ZodNullable<z.ZodNumber>;
488
+ }, z.ZodTypeAny, "passthrough">>;
489
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
490
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
491
+ uid: z.ZodString;
492
+ name: z.ZodString;
493
+ createdAt: z.ZodNumber;
494
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
495
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
496
+ buildingAt: z.ZodOptional<z.ZodNumber>;
497
+ ready: z.ZodOptional<z.ZodNumber>;
498
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
499
+ uid: z.ZodString;
500
+ name: z.ZodString;
501
+ createdAt: z.ZodNumber;
502
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
503
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
504
+ buildingAt: z.ZodOptional<z.ZodNumber>;
505
+ ready: z.ZodOptional<z.ZodNumber>;
506
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
507
+ uid: z.ZodString;
508
+ name: z.ZodString;
509
+ createdAt: z.ZodNumber;
510
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
511
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
512
+ buildingAt: z.ZodOptional<z.ZodNumber>;
513
+ ready: z.ZodOptional<z.ZodNumber>;
514
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
515
+ uid: z.ZodString;
516
+ name: z.ZodString;
517
+ createdAt: z.ZodNumber;
518
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
519
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
520
+ buildingAt: z.ZodOptional<z.ZodNumber>;
521
+ ready: z.ZodOptional<z.ZodNumber>;
522
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
523
+ uid: z.ZodString;
524
+ name: z.ZodString;
525
+ createdAt: z.ZodNumber;
526
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
527
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
528
+ buildingAt: z.ZodOptional<z.ZodNumber>;
529
+ ready: z.ZodOptional<z.ZodNumber>;
530
+ }, z.ZodTypeAny, "passthrough">>, "many">;
531
+ pagination: z.ZodObject<{
532
+ count: z.ZodNumber;
533
+ next: z.ZodNullable<z.ZodNumber>;
534
+ prev: z.ZodNullable<z.ZodNumber>;
535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
536
+ count: z.ZodNumber;
537
+ next: z.ZodNullable<z.ZodNumber>;
538
+ prev: z.ZodNullable<z.ZodNumber>;
539
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
540
+ count: z.ZodNumber;
541
+ next: z.ZodNullable<z.ZodNumber>;
542
+ prev: z.ZodNullable<z.ZodNumber>;
543
+ }, z.ZodTypeAny, "passthrough">>;
544
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
545
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
546
+ uid: z.ZodString;
547
+ name: z.ZodString;
548
+ createdAt: z.ZodNumber;
549
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
550
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
551
+ buildingAt: z.ZodOptional<z.ZodNumber>;
552
+ ready: z.ZodOptional<z.ZodNumber>;
553
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
554
+ uid: z.ZodString;
555
+ name: z.ZodString;
556
+ createdAt: z.ZodNumber;
557
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
558
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
559
+ buildingAt: z.ZodOptional<z.ZodNumber>;
560
+ ready: z.ZodOptional<z.ZodNumber>;
561
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
562
+ uid: z.ZodString;
563
+ name: z.ZodString;
564
+ createdAt: z.ZodNumber;
565
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
566
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
567
+ buildingAt: z.ZodOptional<z.ZodNumber>;
568
+ ready: z.ZodOptional<z.ZodNumber>;
569
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
570
+ uid: z.ZodString;
571
+ name: z.ZodString;
572
+ createdAt: z.ZodNumber;
573
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
574
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
575
+ buildingAt: z.ZodOptional<z.ZodNumber>;
576
+ ready: z.ZodOptional<z.ZodNumber>;
577
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
578
+ uid: z.ZodString;
579
+ name: z.ZodString;
580
+ createdAt: z.ZodNumber;
581
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
582
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
583
+ buildingAt: z.ZodOptional<z.ZodNumber>;
584
+ ready: z.ZodOptional<z.ZodNumber>;
585
+ }, z.ZodTypeAny, "passthrough">>, "many">;
586
+ pagination: z.ZodObject<{
587
+ count: z.ZodNumber;
588
+ next: z.ZodNullable<z.ZodNumber>;
589
+ prev: z.ZodNullable<z.ZodNumber>;
590
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
591
+ count: z.ZodNumber;
592
+ next: z.ZodNullable<z.ZodNumber>;
593
+ prev: z.ZodNullable<z.ZodNumber>;
594
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
595
+ count: z.ZodNumber;
596
+ next: z.ZodNullable<z.ZodNumber>;
597
+ prev: z.ZodNullable<z.ZodNumber>;
598
+ }, z.ZodTypeAny, "passthrough">>;
599
+ }, z.ZodTypeAny, "passthrough">>, "many">;
600
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
601
+ paginas: z.ZodArray<z.ZodObject<{
602
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
603
+ uid: z.ZodString;
604
+ name: z.ZodString;
605
+ createdAt: z.ZodNumber;
606
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
607
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
608
+ buildingAt: z.ZodOptional<z.ZodNumber>;
609
+ ready: z.ZodOptional<z.ZodNumber>;
610
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
611
+ uid: z.ZodString;
612
+ name: z.ZodString;
613
+ createdAt: z.ZodNumber;
614
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
615
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
616
+ buildingAt: z.ZodOptional<z.ZodNumber>;
617
+ ready: z.ZodOptional<z.ZodNumber>;
618
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
619
+ uid: z.ZodString;
620
+ name: z.ZodString;
621
+ createdAt: z.ZodNumber;
622
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
623
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
624
+ buildingAt: z.ZodOptional<z.ZodNumber>;
625
+ ready: z.ZodOptional<z.ZodNumber>;
626
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
627
+ uid: z.ZodString;
628
+ name: z.ZodString;
629
+ createdAt: z.ZodNumber;
630
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
631
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
632
+ buildingAt: z.ZodOptional<z.ZodNumber>;
633
+ ready: z.ZodOptional<z.ZodNumber>;
634
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
635
+ uid: z.ZodString;
636
+ name: z.ZodString;
637
+ createdAt: z.ZodNumber;
638
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
639
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
640
+ buildingAt: z.ZodOptional<z.ZodNumber>;
641
+ ready: z.ZodOptional<z.ZodNumber>;
642
+ }, z.ZodTypeAny, "passthrough">>, "many">;
643
+ pagination: z.ZodObject<{
644
+ count: z.ZodNumber;
645
+ next: z.ZodNullable<z.ZodNumber>;
646
+ prev: z.ZodNullable<z.ZodNumber>;
647
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
648
+ count: z.ZodNumber;
649
+ next: z.ZodNullable<z.ZodNumber>;
650
+ prev: z.ZodNullable<z.ZodNumber>;
651
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
652
+ count: z.ZodNumber;
653
+ next: z.ZodNullable<z.ZodNumber>;
654
+ prev: z.ZodNullable<z.ZodNumber>;
655
+ }, z.ZodTypeAny, "passthrough">>;
656
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
657
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
658
+ uid: z.ZodString;
659
+ name: z.ZodString;
660
+ createdAt: z.ZodNumber;
661
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
662
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
663
+ buildingAt: z.ZodOptional<z.ZodNumber>;
664
+ ready: z.ZodOptional<z.ZodNumber>;
665
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
666
+ uid: z.ZodString;
667
+ name: z.ZodString;
668
+ createdAt: z.ZodNumber;
669
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
670
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
671
+ buildingAt: z.ZodOptional<z.ZodNumber>;
672
+ ready: z.ZodOptional<z.ZodNumber>;
673
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
674
+ uid: z.ZodString;
675
+ name: z.ZodString;
676
+ createdAt: z.ZodNumber;
677
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
678
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
679
+ buildingAt: z.ZodOptional<z.ZodNumber>;
680
+ ready: z.ZodOptional<z.ZodNumber>;
681
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
682
+ uid: z.ZodString;
683
+ name: z.ZodString;
684
+ createdAt: z.ZodNumber;
685
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
686
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
687
+ buildingAt: z.ZodOptional<z.ZodNumber>;
688
+ ready: z.ZodOptional<z.ZodNumber>;
689
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
690
+ uid: z.ZodString;
691
+ name: z.ZodString;
692
+ createdAt: z.ZodNumber;
693
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
694
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
695
+ buildingAt: z.ZodOptional<z.ZodNumber>;
696
+ ready: z.ZodOptional<z.ZodNumber>;
697
+ }, z.ZodTypeAny, "passthrough">>, "many">;
698
+ pagination: z.ZodObject<{
699
+ count: z.ZodNumber;
700
+ next: z.ZodNullable<z.ZodNumber>;
701
+ prev: z.ZodNullable<z.ZodNumber>;
702
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
703
+ count: z.ZodNumber;
704
+ next: z.ZodNullable<z.ZodNumber>;
705
+ prev: z.ZodNullable<z.ZodNumber>;
706
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
707
+ count: z.ZodNumber;
708
+ next: z.ZodNullable<z.ZodNumber>;
709
+ prev: z.ZodNullable<z.ZodNumber>;
710
+ }, z.ZodTypeAny, "passthrough">>;
711
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
712
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
713
+ uid: z.ZodString;
714
+ name: z.ZodString;
715
+ createdAt: z.ZodNumber;
716
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
717
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
718
+ buildingAt: z.ZodOptional<z.ZodNumber>;
719
+ ready: z.ZodOptional<z.ZodNumber>;
720
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
721
+ uid: z.ZodString;
722
+ name: z.ZodString;
723
+ createdAt: z.ZodNumber;
724
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
725
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
726
+ buildingAt: z.ZodOptional<z.ZodNumber>;
727
+ ready: z.ZodOptional<z.ZodNumber>;
728
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
729
+ uid: z.ZodString;
730
+ name: z.ZodString;
731
+ createdAt: z.ZodNumber;
732
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
733
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
734
+ buildingAt: z.ZodOptional<z.ZodNumber>;
735
+ ready: z.ZodOptional<z.ZodNumber>;
736
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
737
+ uid: z.ZodString;
738
+ name: z.ZodString;
739
+ createdAt: z.ZodNumber;
740
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
741
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
742
+ buildingAt: z.ZodOptional<z.ZodNumber>;
743
+ ready: z.ZodOptional<z.ZodNumber>;
744
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
745
+ uid: z.ZodString;
746
+ name: z.ZodString;
747
+ createdAt: z.ZodNumber;
748
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
749
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
750
+ buildingAt: z.ZodOptional<z.ZodNumber>;
751
+ ready: z.ZodOptional<z.ZodNumber>;
752
+ }, z.ZodTypeAny, "passthrough">>, "many">;
753
+ pagination: z.ZodObject<{
754
+ count: z.ZodNumber;
755
+ next: z.ZodNullable<z.ZodNumber>;
756
+ prev: z.ZodNullable<z.ZodNumber>;
757
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
758
+ count: z.ZodNumber;
759
+ next: z.ZodNullable<z.ZodNumber>;
760
+ prev: z.ZodNullable<z.ZodNumber>;
761
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
762
+ count: z.ZodNumber;
763
+ next: z.ZodNullable<z.ZodNumber>;
764
+ prev: z.ZodNullable<z.ZodNumber>;
765
+ }, z.ZodTypeAny, "passthrough">>;
766
+ }, z.ZodTypeAny, "passthrough">>, "many">;
767
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
768
+ paginas: z.ZodArray<z.ZodObject<{
769
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
770
+ uid: z.ZodString;
771
+ name: z.ZodString;
772
+ createdAt: z.ZodNumber;
773
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
774
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
775
+ buildingAt: z.ZodOptional<z.ZodNumber>;
776
+ ready: z.ZodOptional<z.ZodNumber>;
777
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
778
+ uid: z.ZodString;
779
+ name: z.ZodString;
780
+ createdAt: z.ZodNumber;
781
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
782
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
783
+ buildingAt: z.ZodOptional<z.ZodNumber>;
784
+ ready: z.ZodOptional<z.ZodNumber>;
785
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
786
+ uid: z.ZodString;
787
+ name: z.ZodString;
788
+ createdAt: z.ZodNumber;
789
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
790
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
791
+ buildingAt: z.ZodOptional<z.ZodNumber>;
792
+ ready: z.ZodOptional<z.ZodNumber>;
793
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
794
+ uid: z.ZodString;
795
+ name: z.ZodString;
796
+ createdAt: z.ZodNumber;
797
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
798
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
799
+ buildingAt: z.ZodOptional<z.ZodNumber>;
800
+ ready: z.ZodOptional<z.ZodNumber>;
801
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
802
+ uid: z.ZodString;
803
+ name: z.ZodString;
804
+ createdAt: z.ZodNumber;
805
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
806
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
807
+ buildingAt: z.ZodOptional<z.ZodNumber>;
808
+ ready: z.ZodOptional<z.ZodNumber>;
809
+ }, z.ZodTypeAny, "passthrough">>, "many">;
810
+ pagination: z.ZodObject<{
811
+ count: z.ZodNumber;
812
+ next: z.ZodNullable<z.ZodNumber>;
813
+ prev: z.ZodNullable<z.ZodNumber>;
814
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
815
+ count: z.ZodNumber;
816
+ next: z.ZodNullable<z.ZodNumber>;
817
+ prev: z.ZodNullable<z.ZodNumber>;
818
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
819
+ count: z.ZodNumber;
820
+ next: z.ZodNullable<z.ZodNumber>;
821
+ prev: z.ZodNullable<z.ZodNumber>;
822
+ }, z.ZodTypeAny, "passthrough">>;
823
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
824
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
825
+ uid: z.ZodString;
826
+ name: z.ZodString;
827
+ createdAt: z.ZodNumber;
828
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
829
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
830
+ buildingAt: z.ZodOptional<z.ZodNumber>;
831
+ ready: z.ZodOptional<z.ZodNumber>;
832
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
833
+ uid: z.ZodString;
834
+ name: z.ZodString;
835
+ createdAt: z.ZodNumber;
836
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
837
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
838
+ buildingAt: z.ZodOptional<z.ZodNumber>;
839
+ ready: z.ZodOptional<z.ZodNumber>;
840
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
841
+ uid: z.ZodString;
842
+ name: z.ZodString;
843
+ createdAt: z.ZodNumber;
844
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
845
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
846
+ buildingAt: z.ZodOptional<z.ZodNumber>;
847
+ ready: z.ZodOptional<z.ZodNumber>;
848
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
849
+ uid: z.ZodString;
850
+ name: z.ZodString;
851
+ createdAt: z.ZodNumber;
852
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
853
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
854
+ buildingAt: z.ZodOptional<z.ZodNumber>;
855
+ ready: z.ZodOptional<z.ZodNumber>;
856
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
857
+ uid: z.ZodString;
858
+ name: z.ZodString;
859
+ createdAt: z.ZodNumber;
860
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
861
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
862
+ buildingAt: z.ZodOptional<z.ZodNumber>;
863
+ ready: z.ZodOptional<z.ZodNumber>;
864
+ }, z.ZodTypeAny, "passthrough">>, "many">;
865
+ pagination: z.ZodObject<{
866
+ count: z.ZodNumber;
867
+ next: z.ZodNullable<z.ZodNumber>;
868
+ prev: z.ZodNullable<z.ZodNumber>;
869
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
870
+ count: z.ZodNumber;
871
+ next: z.ZodNullable<z.ZodNumber>;
872
+ prev: z.ZodNullable<z.ZodNumber>;
873
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
874
+ count: z.ZodNumber;
875
+ next: z.ZodNullable<z.ZodNumber>;
876
+ prev: z.ZodNullable<z.ZodNumber>;
877
+ }, z.ZodTypeAny, "passthrough">>;
878
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
879
+ deployments: z.ZodArray<z.ZodEffects<z.ZodObject<{
880
+ uid: z.ZodString;
881
+ name: z.ZodString;
882
+ createdAt: z.ZodNumber;
883
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
884
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
885
+ buildingAt: z.ZodOptional<z.ZodNumber>;
886
+ ready: z.ZodOptional<z.ZodNumber>;
887
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
888
+ uid: z.ZodString;
889
+ name: z.ZodString;
890
+ createdAt: z.ZodNumber;
891
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
892
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
893
+ buildingAt: z.ZodOptional<z.ZodNumber>;
894
+ ready: z.ZodOptional<z.ZodNumber>;
895
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
896
+ uid: z.ZodString;
897
+ name: z.ZodString;
898
+ createdAt: z.ZodNumber;
899
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
900
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
901
+ buildingAt: z.ZodOptional<z.ZodNumber>;
902
+ ready: z.ZodOptional<z.ZodNumber>;
903
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
904
+ uid: z.ZodString;
905
+ name: z.ZodString;
906
+ createdAt: z.ZodNumber;
907
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
908
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
909
+ buildingAt: z.ZodOptional<z.ZodNumber>;
910
+ ready: z.ZodOptional<z.ZodNumber>;
911
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
912
+ uid: z.ZodString;
913
+ name: z.ZodString;
914
+ createdAt: z.ZodNumber;
915
+ state: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
916
+ readyState: z.ZodOptional<z.ZodEnum<["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"]>>;
917
+ buildingAt: z.ZodOptional<z.ZodNumber>;
918
+ ready: z.ZodOptional<z.ZodNumber>;
919
+ }, z.ZodTypeAny, "passthrough">>, "many">;
920
+ pagination: z.ZodObject<{
921
+ count: z.ZodNumber;
922
+ next: z.ZodNullable<z.ZodNumber>;
923
+ prev: z.ZodNullable<z.ZodNumber>;
924
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
925
+ count: z.ZodNumber;
926
+ next: z.ZodNullable<z.ZodNumber>;
927
+ prev: z.ZodNullable<z.ZodNumber>;
928
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
929
+ count: z.ZodNumber;
930
+ next: z.ZodNullable<z.ZodNumber>;
931
+ prev: z.ZodNullable<z.ZodNumber>;
932
+ }, z.ZodTypeAny, "passthrough">>;
933
+ }, z.ZodTypeAny, "passthrough">>, "many">;
934
+ }, z.ZodTypeAny, "passthrough">>;
935
+ type PaginacionVercel = z.infer<typeof esquemaPaginacion>;
936
+ type EquipoVercel = z.infer<typeof esquemaEquipo>;
937
+ type PaginaTeams = z.infer<typeof esquemaPaginaTeams>;
938
+ type DeploymentVercel = z.infer<typeof esquemaDeployment>;
939
+ type PaginaDeployments = z.infer<typeof esquemaPaginaDeployments>;
940
+ interface RespuestaHttp {
941
+ estado: number;
942
+ cuerpo: string;
943
+ }
944
+ type SolicitarVercel = (url: string, headers: Record<string, string>) => RespuestaHttp;
945
+ declare const solicitarVercel: SolicitarVercel;
946
+ declare function pedirJsonVercel(rutaQuery: string, token: string, solicitar?: SolicitarVercel, baseUrl?: string): {
947
+ estado: number;
948
+ valor: unknown;
949
+ };
950
+ declare function resolverEquipo(equipo: string, token: string, solicitar?: SolicitarVercel, baseUrl?: string): string;
951
+ declare function leerRespuestaDeployments(ruta: string, untilInicial?: number): PaginaDeployments[];
952
+ interface DiaMinutos {
953
+ fecha: string;
954
+ minutos: number;
955
+ porProyecto: Record<string, number>;
956
+ }
957
+ declare function calcularMinutosPorDia(paginas: readonly PaginaDeployments[], desde: string, hasta: string): {
958
+ dias: DiaMinutos[];
959
+ };
960
+ interface ArgumentosMedir {
961
+ equipo: string;
962
+ desde: string;
963
+ hasta: string;
964
+ respuesta?: string;
965
+ }
966
+ declare function leerArgumentosMedir(args: readonly string[]): {
967
+ ok: true;
968
+ valor: ArgumentosMedir;
969
+ } | {
970
+ ok: false;
971
+ motivo: string;
972
+ };
973
+ interface OpcionesMedir extends Entorno, ArgumentosMedir {
974
+ solicitar?: SolicitarVercel;
975
+ baseUrl?: string;
976
+ }
977
+ declare function ejecutarMedir(opciones: OpcionesMedir): number;
978
+ declare function comandoMedir(args: string[], entorno: Entorno): number;
979
+ declare const medir: typeof comandoMedir;
980
+
981
+ declare const ARCHIVO_DEPLOYMENTS_V6 = "deployments-v6.json";
982
+ declare const ARCHIVO_CAPTURA_V6 = "captura-v6.json";
983
+ declare const REFERENCIA_DEPLOYMENTS_V6 = "https://vercel.com/docs/rest-api/reference/endpoints/deployments/list-deployments";
984
+ interface PedidoCaptura {
985
+ query: {
986
+ since: string;
987
+ until: string;
988
+ limit: string;
989
+ };
990
+ estado: number;
991
+ }
992
+ interface ResultadoDeployments {
993
+ paginas: PaginaDeployments[];
994
+ pedidos: PedidoCaptura[];
995
+ }
996
+ declare function redactarToken(texto: string, token?: string): string;
997
+ declare function validarFechaIso(fecha: string): number | null;
998
+ declare function rangoFechasUtc(desde: string, hasta: string): {
999
+ ok: true;
1000
+ since: number;
1001
+ until: number;
1002
+ } | {
1003
+ ok: false;
1004
+ motivo: string;
1005
+ };
1006
+ declare function leerFlagsCli(args: readonly string[], permitidas: readonly string[]): {
1007
+ ok: true;
1008
+ valores: Record<string, string>;
1009
+ } | {
1010
+ ok: false;
1011
+ motivo: string;
1012
+ };
1013
+ declare function consultarDeployments(opciones: {
1014
+ teamId: string;
1015
+ since: number;
1016
+ until: number;
1017
+ token: string;
1018
+ solicitar?: SolicitarVercel;
1019
+ baseUrl?: string;
1020
+ }): ResultadoDeployments;
1021
+ declare const esquemaPedidoCaptura: z.ZodObject<{
1022
+ query: z.ZodObject<{
1023
+ since: z.ZodString;
1024
+ until: z.ZodString;
1025
+ limit: z.ZodString;
1026
+ }, "strict", z.ZodTypeAny, {
1027
+ since: string;
1028
+ until: string;
1029
+ limit: string;
1030
+ }, {
1031
+ since: string;
1032
+ until: string;
1033
+ limit: string;
1034
+ }>;
1035
+ estado: z.ZodNumber;
1036
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1037
+ query: z.ZodObject<{
1038
+ since: z.ZodString;
1039
+ until: z.ZodString;
1040
+ limit: z.ZodString;
1041
+ }, "strict", z.ZodTypeAny, {
1042
+ since: string;
1043
+ until: string;
1044
+ limit: string;
1045
+ }, {
1046
+ since: string;
1047
+ until: string;
1048
+ limit: string;
1049
+ }>;
1050
+ estado: z.ZodNumber;
1051
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1052
+ query: z.ZodObject<{
1053
+ since: z.ZodString;
1054
+ until: z.ZodString;
1055
+ limit: z.ZodString;
1056
+ }, "strict", z.ZodTypeAny, {
1057
+ since: string;
1058
+ until: string;
1059
+ limit: string;
1060
+ }, {
1061
+ since: string;
1062
+ until: string;
1063
+ limit: string;
1064
+ }>;
1065
+ estado: z.ZodNumber;
1066
+ }, z.ZodTypeAny, "passthrough">>;
1067
+ declare const esquemaCapturaV6: z.ZodObject<{
1068
+ origen: z.ZodEnum<["documentacion", "captura"]>;
1069
+ referencia: z.ZodString;
1070
+ fecha: z.ZodString;
1071
+ metodo: z.ZodLiteral<"GET">;
1072
+ ruta: z.ZodLiteral<"/v6/deployments">;
1073
+ desde: z.ZodString;
1074
+ hasta: z.ZodString;
1075
+ pedidos: z.ZodArray<z.ZodObject<{
1076
+ query: z.ZodObject<{
1077
+ since: z.ZodString;
1078
+ until: z.ZodString;
1079
+ limit: z.ZodString;
1080
+ }, "strict", z.ZodTypeAny, {
1081
+ since: string;
1082
+ until: string;
1083
+ limit: string;
1084
+ }, {
1085
+ since: string;
1086
+ until: string;
1087
+ limit: string;
1088
+ }>;
1089
+ estado: z.ZodNumber;
1090
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1091
+ query: z.ZodObject<{
1092
+ since: z.ZodString;
1093
+ until: z.ZodString;
1094
+ limit: z.ZodString;
1095
+ }, "strict", z.ZodTypeAny, {
1096
+ since: string;
1097
+ until: string;
1098
+ limit: string;
1099
+ }, {
1100
+ since: string;
1101
+ until: string;
1102
+ limit: string;
1103
+ }>;
1104
+ estado: z.ZodNumber;
1105
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1106
+ query: z.ZodObject<{
1107
+ since: z.ZodString;
1108
+ until: z.ZodString;
1109
+ limit: z.ZodString;
1110
+ }, "strict", z.ZodTypeAny, {
1111
+ since: string;
1112
+ until: string;
1113
+ limit: string;
1114
+ }, {
1115
+ since: string;
1116
+ until: string;
1117
+ limit: string;
1118
+ }>;
1119
+ estado: z.ZodNumber;
1120
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1121
+ archivo: z.ZodString;
1122
+ sha256: z.ZodString;
1123
+ transformaciones: z.ZodArray<z.ZodString, "many">;
1124
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1125
+ origen: z.ZodEnum<["documentacion", "captura"]>;
1126
+ referencia: z.ZodString;
1127
+ fecha: z.ZodString;
1128
+ metodo: z.ZodLiteral<"GET">;
1129
+ ruta: z.ZodLiteral<"/v6/deployments">;
1130
+ desde: z.ZodString;
1131
+ hasta: z.ZodString;
1132
+ pedidos: z.ZodArray<z.ZodObject<{
1133
+ query: z.ZodObject<{
1134
+ since: z.ZodString;
1135
+ until: z.ZodString;
1136
+ limit: z.ZodString;
1137
+ }, "strict", z.ZodTypeAny, {
1138
+ since: string;
1139
+ until: string;
1140
+ limit: string;
1141
+ }, {
1142
+ since: string;
1143
+ until: string;
1144
+ limit: string;
1145
+ }>;
1146
+ estado: z.ZodNumber;
1147
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1148
+ query: z.ZodObject<{
1149
+ since: z.ZodString;
1150
+ until: z.ZodString;
1151
+ limit: z.ZodString;
1152
+ }, "strict", z.ZodTypeAny, {
1153
+ since: string;
1154
+ until: string;
1155
+ limit: string;
1156
+ }, {
1157
+ since: string;
1158
+ until: string;
1159
+ limit: string;
1160
+ }>;
1161
+ estado: z.ZodNumber;
1162
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1163
+ query: z.ZodObject<{
1164
+ since: z.ZodString;
1165
+ until: z.ZodString;
1166
+ limit: z.ZodString;
1167
+ }, "strict", z.ZodTypeAny, {
1168
+ since: string;
1169
+ until: string;
1170
+ limit: string;
1171
+ }, {
1172
+ since: string;
1173
+ until: string;
1174
+ limit: string;
1175
+ }>;
1176
+ estado: z.ZodNumber;
1177
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1178
+ archivo: z.ZodString;
1179
+ sha256: z.ZodString;
1180
+ transformaciones: z.ZodArray<z.ZodString, "many">;
1181
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1182
+ origen: z.ZodEnum<["documentacion", "captura"]>;
1183
+ referencia: z.ZodString;
1184
+ fecha: z.ZodString;
1185
+ metodo: z.ZodLiteral<"GET">;
1186
+ ruta: z.ZodLiteral<"/v6/deployments">;
1187
+ desde: z.ZodString;
1188
+ hasta: z.ZodString;
1189
+ pedidos: z.ZodArray<z.ZodObject<{
1190
+ query: z.ZodObject<{
1191
+ since: z.ZodString;
1192
+ until: z.ZodString;
1193
+ limit: z.ZodString;
1194
+ }, "strict", z.ZodTypeAny, {
1195
+ since: string;
1196
+ until: string;
1197
+ limit: string;
1198
+ }, {
1199
+ since: string;
1200
+ until: string;
1201
+ limit: string;
1202
+ }>;
1203
+ estado: z.ZodNumber;
1204
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1205
+ query: z.ZodObject<{
1206
+ since: z.ZodString;
1207
+ until: z.ZodString;
1208
+ limit: z.ZodString;
1209
+ }, "strict", z.ZodTypeAny, {
1210
+ since: string;
1211
+ until: string;
1212
+ limit: string;
1213
+ }, {
1214
+ since: string;
1215
+ until: string;
1216
+ limit: string;
1217
+ }>;
1218
+ estado: z.ZodNumber;
1219
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1220
+ query: z.ZodObject<{
1221
+ since: z.ZodString;
1222
+ until: z.ZodString;
1223
+ limit: z.ZodString;
1224
+ }, "strict", z.ZodTypeAny, {
1225
+ since: string;
1226
+ until: string;
1227
+ limit: string;
1228
+ }, {
1229
+ since: string;
1230
+ until: string;
1231
+ limit: string;
1232
+ }>;
1233
+ estado: z.ZodNumber;
1234
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1235
+ archivo: z.ZodString;
1236
+ sha256: z.ZodString;
1237
+ transformaciones: z.ZodArray<z.ZodString, "many">;
1238
+ }, z.ZodTypeAny, "passthrough">>;
1239
+ type CapturaV6 = z.infer<typeof esquemaCapturaV6>;
1240
+ interface ArgumentosCapturar {
1241
+ equipo: string;
1242
+ desde: string;
1243
+ hasta: string;
1244
+ salida: string;
1245
+ }
1246
+ declare function leerArgumentosCapturar(args: readonly string[]): {
1247
+ ok: true;
1248
+ valor: ArgumentosCapturar;
1249
+ } | {
1250
+ ok: false;
1251
+ motivo: string;
1252
+ };
1253
+ interface OpcionesCapturar extends Omit<Entorno, "salida">, ArgumentosCapturar {
1254
+ salidaTexto?: (texto: string) => void;
1255
+ solicitar?: SolicitarVercel;
1256
+ baseUrl?: string;
1257
+ origen?: "documentacion" | "captura";
1258
+ referencia?: string;
1259
+ fecha?: string;
1260
+ transformaciones?: string[];
1261
+ }
1262
+ declare function armarCapturaV6(opciones: {
1263
+ desde: string;
1264
+ hasta: string;
1265
+ pedidos: PedidoCaptura[];
1266
+ contenidoDeployments: string;
1267
+ origen?: "documentacion" | "captura";
1268
+ referencia?: string;
1269
+ fecha?: string;
1270
+ transformaciones?: string[];
1271
+ }): CapturaV6;
1272
+ declare function ejecutarCapturar(opciones: OpcionesCapturar): number;
1273
+ declare function comandoCapturar(args: string[], entorno: Entorno): number;
1274
+ declare const capturar: typeof comandoCapturar;
1275
+
1276
+ declare const USO = "Uso: wallavi-vercel <comando> [opciones]\n\nComandos:\n ignorar decide si Vercel debe omitir el build\n desplegar --carpeta <ruta> [--antes <sha>] compila y despliega a producci\u00F3n si hay cambios\n medir --equipo <slug|team_id> --desde <AAAA-MM-DD> --hasta <AAAA-MM-DD> [...] calcula los minutos de build por d\u00EDa en UTC\n capturar --equipo <slug|team_id> --desde <AAAA-MM-DD> --hasta <AAAA-MM-DD> ... descarga deployments de Vercel y escribe su captura\n\nOpciones:\n -h, --help muestra esta ayuda\n";
1277
+ interface Entorno {
1278
+ cwd: string;
1279
+ env: NodeJS.ProcessEnv;
1280
+ salida: (texto: string) => void;
1281
+ error: (texto: string) => void;
1282
+ }
1283
+ type Comando = (args: string[], entorno: Entorno) => number;
1284
+ declare const COMANDOS: Record<string, Comando>;
1285
+ declare function principal(argv: string[], entorno: Entorno): number;
1286
+
1287
+ export { API_VERCEL_URL, ARCHIVO_CAPTURA_V6, ARCHIVO_CONFIG, ARCHIVO_DEPLOYMENTS_V6, type ArgumentosCapturar, type ArgumentosDesplegar, type ArgumentosMedir, COMANDOS, type CapturaV6, type Comando, type ConfigVercelBuild, type DeploymentVercel, type DiaMinutos, ESTADOS_DEPLOYMENT, type Ejecutar, type Entorno, type EquipoVercel, ErrorContratoVercel, ErrorRedVercel, type Evaluacion, LIMITE_PAGINA_VERCEL, MAX_PAGINAS_VERCEL, type OpcionesCambios, type OpcionesCapturar, type OpcionesDesplegar, type OpcionesIgnorar, type OpcionesMedir, type OpcionesProceso, PASOS_VERCEL, PREFIJO_PREVIEW, type PaginaDeployments, type PaginaTeams, type PaginacionVercel, type PedidoCaptura, type ProyectoVercelBuild, RAMA_PRINCIPAL, REFERENCIA_DEPLOYMENTS_V6, type RespuestaHttp, type Resultado, type ResultadoDeployments, type ResultadoProceso, type SolicitarVercel, USO, VARIABLES_VERCEL, armarCapturaV6, calcularMinutosPorDia, capturar, comandoCapturar, comandoDesplegar, comandoIgnorar, comandoMedir, comandoTurbo, configVacia, consultarDeployments, desplegar, ejecutar, ejecutarCapturar, ejecutarDesplegar, ejecutarIgnorar, ejecutarMedir, esquemaArchivoDeployments, esquemaCapturaV6, esquemaConfig, esquemaDeployment, esquemaEquipo, esquemaEstadoDeployment, esquemaPaginaDeployments, esquemaPaginaTeams, esquemaPaginacion, esquemaPedidoCaptura, evaluarCambios, ignorar, leerArgumentosCapturar, leerArgumentosDesplegar, leerArgumentosMedir, leerConfig, leerFlagsCli, leerRespuestaDeployments, medir, normalizarCarpeta, paquetesDeTurbo, pedirJsonVercel, principal, proyectoDeCarpeta, ramaPermitida, rangoFechasUtc, redactarToken, resolverEquipo, solicitarVercel, ubicarEnRepo, validarConfig, validarFechaIso };