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