@vercel/sdk 1.6.12 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/bin/mcp-server.js +573 -107
  2. package/bin/mcp-server.js.map +18 -18
  3. package/docs/sdks/deployments/README.md +1 -1
  4. package/docs/sdks/user/README.md +2 -0
  5. package/esm/funcs/deploymentsGetDeploymentEvents.d.ts +8 -2
  6. package/esm/funcs/deploymentsGetDeploymentEvents.d.ts.map +1 -1
  7. package/esm/funcs/deploymentsGetDeploymentEvents.js +11 -4
  8. package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -1
  9. package/esm/funcs/userListUserEvents.js +1 -0
  10. package/esm/funcs/userListUserEvents.js.map +1 -1
  11. package/esm/lib/config.d.ts +3 -3
  12. package/esm/lib/config.js +3 -3
  13. package/esm/lib/config.js.map +1 -1
  14. package/esm/mcp-server/mcp-server.js +1 -1
  15. package/esm/mcp-server/mcp-server.js.map +1 -1
  16. package/esm/mcp-server/server.js +1 -1
  17. package/esm/mcp-server/server.js.map +1 -1
  18. package/esm/models/createdeploymentop.d.ts +28 -28
  19. package/esm/models/createdeploymentop.d.ts.map +1 -1
  20. package/esm/models/createdeploymentop.js +12 -12
  21. package/esm/models/createdeploymentop.js.map +1 -1
  22. package/esm/models/createprojectenvop.d.ts +6 -6
  23. package/esm/models/createprojectenvop.js +2 -2
  24. package/esm/models/createprojectenvop.js.map +1 -1
  25. package/esm/models/createprojectop.d.ts +9 -9
  26. package/esm/models/createprojectop.js +3 -3
  27. package/esm/models/createprojectop.js.map +1 -1
  28. package/esm/models/editprojectenvop.d.ts +3 -3
  29. package/esm/models/editprojectenvop.js +1 -1
  30. package/esm/models/editprojectenvop.js.map +1 -1
  31. package/esm/models/filterprojectenvsop.d.ts +9 -9
  32. package/esm/models/filterprojectenvsop.js +3 -3
  33. package/esm/models/filterprojectenvsop.js.map +1 -1
  34. package/esm/models/getdeploymenteventsop.d.ts +908 -74
  35. package/esm/models/getdeploymenteventsop.d.ts.map +1 -1
  36. package/esm/models/getdeploymenteventsop.js +784 -43
  37. package/esm/models/getdeploymenteventsop.js.map +1 -1
  38. package/esm/models/getdeploymentop.d.ts +16 -16
  39. package/esm/models/getdeploymentop.d.ts.map +1 -1
  40. package/esm/models/getdeploymentop.js +25 -24
  41. package/esm/models/getdeploymentop.js.map +1 -1
  42. package/esm/models/listusereventsop.d.ts +5 -0
  43. package/esm/models/listusereventsop.d.ts.map +1 -1
  44. package/esm/models/listusereventsop.js +2 -0
  45. package/esm/models/listusereventsop.js.map +1 -1
  46. package/esm/models/removeprojectenvop.d.ts +9 -9
  47. package/esm/models/removeprojectenvop.js +3 -3
  48. package/esm/models/removeprojectenvop.js.map +1 -1
  49. package/esm/models/teamlimited.d.ts +3 -3
  50. package/esm/models/teamlimited.js +1 -1
  51. package/esm/models/teamlimited.js.map +1 -1
  52. package/esm/models/updateprojectop.d.ts +9 -9
  53. package/esm/models/updateprojectop.js +3 -3
  54. package/esm/models/updateprojectop.js.map +1 -1
  55. package/esm/sdk/deployments.d.ts +6 -2
  56. package/esm/sdk/deployments.d.ts.map +1 -1
  57. package/esm/sdk/deployments.js +2 -1
  58. package/esm/sdk/deployments.js.map +1 -1
  59. package/jsr.json +1 -1
  60. package/package.json +1 -1
  61. package/src/funcs/deploymentsGetDeploymentEvents.ts +22 -10
  62. package/src/funcs/userListUserEvents.ts +1 -0
  63. package/src/lib/config.ts +3 -3
  64. package/src/mcp-server/mcp-server.ts +1 -1
  65. package/src/mcp-server/server.ts +1 -1
  66. package/src/models/createdeploymentop.ts +16 -16
  67. package/src/models/createprojectenvop.ts +2 -2
  68. package/src/models/createprojectop.ts +3 -3
  69. package/src/models/editprojectenvop.ts +1 -1
  70. package/src/models/filterprojectenvsop.ts +3 -3
  71. package/src/models/getdeploymenteventsop.ts +1602 -132
  72. package/src/models/getdeploymentop.ts +37 -33
  73. package/src/models/listusereventsop.ts +7 -0
  74. package/src/models/removeprojectenvop.ts +3 -3
  75. package/src/models/teamlimited.ts +1 -1
  76. package/src/models/updateprojectop.ts +3 -3
  77. package/src/sdk/deployments.ts +11 -4
  78. package/vercel-spec.json +609 -121
@@ -61,62 +61,243 @@ export type GetDeploymentEventsRequest = {
61
61
  */
62
62
  slug?: string | undefined;
63
63
  };
64
- /**
65
- * Type of log entry
66
- */
67
- export declare const GetDeploymentEventsType: {
64
+ export type ResponseBodyInfo = {
65
+ type: string;
66
+ name: string;
67
+ entrypoint?: string | undefined;
68
+ path?: string | undefined;
69
+ step?: string | undefined;
70
+ readyState?: string | undefined;
71
+ };
72
+ export declare const GetDeploymentEventsResponseBodyDeploymentsResponseType: {
73
+ readonly Delimiter: "delimiter";
74
+ readonly Command: "command";
68
75
  readonly Stdout: "stdout";
69
76
  readonly Stderr: "stderr";
77
+ readonly Exit: "exit";
78
+ readonly DeploymentState: "deployment-state";
79
+ readonly Middleware: "middleware";
80
+ readonly MiddlewareInvocation: "middleware-invocation";
81
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
82
+ readonly Metric: "metric";
83
+ readonly Report: "report";
84
+ readonly Fatal: "fatal";
70
85
  };
71
- /**
72
- * Type of log entry
73
- */
74
- export type GetDeploymentEventsType = ClosedEnum<typeof GetDeploymentEventsType>;
75
- export type Info = {
76
- /**
77
- * Type of operation
78
- */
79
- type?: string | undefined;
80
- /**
81
- * Name of the build
82
- */
83
- name?: string | undefined;
84
- /**
85
- * Entrypoint for the build
86
- */
86
+ export type GetDeploymentEventsResponseBodyDeploymentsResponseType = ClosedEnum<typeof GetDeploymentEventsResponseBodyDeploymentsResponseType>;
87
+ export declare const ResponseBodyLevel: {
88
+ readonly Error: "error";
89
+ readonly Warning: "warning";
90
+ };
91
+ export type ResponseBodyLevel = ClosedEnum<typeof ResponseBodyLevel>;
92
+ export type GetDeploymentEventsResponseBodyDeployments2 = {
93
+ created: number;
94
+ date: number;
95
+ deploymentId: string;
96
+ id: string;
97
+ info: ResponseBodyInfo;
98
+ serial: string;
99
+ text?: string | undefined;
100
+ type: GetDeploymentEventsResponseBodyDeploymentsResponseType;
101
+ level?: ResponseBodyLevel | undefined;
102
+ };
103
+ export declare const GetDeploymentEventsResponseBodyDeploymentsType: {
104
+ readonly Delimiter: "delimiter";
105
+ readonly Command: "command";
106
+ readonly Stdout: "stdout";
107
+ readonly Stderr: "stderr";
108
+ readonly Exit: "exit";
109
+ readonly DeploymentState: "deployment-state";
110
+ readonly Middleware: "middleware";
111
+ readonly MiddlewareInvocation: "middleware-invocation";
112
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
113
+ readonly Metric: "metric";
114
+ readonly Report: "report";
115
+ readonly Fatal: "fatal";
116
+ };
117
+ export type GetDeploymentEventsResponseBodyDeploymentsType = ClosedEnum<typeof GetDeploymentEventsResponseBodyDeploymentsType>;
118
+ export type GetDeploymentEventsResponseBodyInfo = {
119
+ type: string;
120
+ name: string;
87
121
  entrypoint?: string | undefined;
122
+ path?: string | undefined;
123
+ step?: string | undefined;
124
+ readyState?: string | undefined;
88
125
  };
89
- export type GetDeploymentEventsResponseBody = {
90
- /**
91
- * Unix timestamp when the log entry was created
92
- */
126
+ export declare const ResponseBodyVercelCache: {
127
+ readonly Miss: "MISS";
128
+ readonly Hit: "HIT";
129
+ readonly Stale: "STALE";
130
+ readonly Bypass: "BYPASS";
131
+ readonly Prerender: "PRERENDER";
132
+ readonly Revalidated: "REVALIDATED";
133
+ };
134
+ export type ResponseBodyVercelCache = ClosedEnum<typeof ResponseBodyVercelCache>;
135
+ export declare const ResponseBodyWafAction: {
136
+ readonly Log: "log";
137
+ readonly Challenge: "challenge";
138
+ readonly Deny: "deny";
139
+ readonly Bypass: "bypass";
140
+ readonly RateLimit: "rate_limit";
141
+ };
142
+ export type ResponseBodyWafAction = ClosedEnum<typeof ResponseBodyWafAction>;
143
+ export type ResponseBodyProxy = {
144
+ timestamp: number;
145
+ method: string;
146
+ host: string;
147
+ path: string;
148
+ statusCode?: number | undefined;
149
+ userAgent: Array<string>;
150
+ referer: string;
151
+ clientIp?: string | undefined;
152
+ region: string;
153
+ scheme?: string | undefined;
154
+ responseByteSize?: number | undefined;
155
+ cacheId?: string | undefined;
156
+ pathType?: string | undefined;
157
+ pathTypeVariant?: string | undefined;
158
+ vercelId?: string | undefined;
159
+ vercelCache?: ResponseBodyVercelCache | undefined;
160
+ lambdaRegion?: string | undefined;
161
+ wafAction?: ResponseBodyWafAction | undefined;
162
+ wafRuleId?: string | undefined;
163
+ };
164
+ export type ResponseBodyPayload = {
165
+ deploymentId: string;
166
+ info?: GetDeploymentEventsResponseBodyInfo | undefined;
167
+ text?: string | undefined;
168
+ id: string;
169
+ date: number;
170
+ serial: string;
93
171
  created?: number | undefined;
94
- /**
95
- * Unix timestamp of the log entry date
96
- */
97
- date?: number | undefined;
98
- /**
99
- * Unique identifier for the deployment
100
- */
101
- deploymentId?: string | undefined;
102
- /**
103
- * Unique identifier for the log entry
104
- */
105
- id?: string | undefined;
106
- /**
107
- * Log message content
108
- */
172
+ statusCode?: number | undefined;
173
+ requestId?: string | undefined;
174
+ proxy?: ResponseBodyProxy | undefined;
175
+ };
176
+ export type GetDeploymentEventsResponseBodyDeployments1 = {
177
+ type: GetDeploymentEventsResponseBodyDeploymentsType;
178
+ created: number;
179
+ payload: ResponseBodyPayload;
180
+ };
181
+ export type GetDeploymentEventsResponseBody = GetDeploymentEventsResponseBodyDeployments1 | GetDeploymentEventsResponseBodyDeployments2;
182
+ export type Info = {
183
+ type: string;
184
+ name: string;
185
+ entrypoint?: string | undefined;
186
+ path?: string | undefined;
187
+ step?: string | undefined;
188
+ readyState?: string | undefined;
189
+ };
190
+ export declare const GetDeploymentEventsResponseBodyType: {
191
+ readonly Delimiter: "delimiter";
192
+ readonly Command: "command";
193
+ readonly Stdout: "stdout";
194
+ readonly Stderr: "stderr";
195
+ readonly Exit: "exit";
196
+ readonly DeploymentState: "deployment-state";
197
+ readonly Middleware: "middleware";
198
+ readonly MiddlewareInvocation: "middleware-invocation";
199
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
200
+ readonly Metric: "metric";
201
+ readonly Report: "report";
202
+ readonly Fatal: "fatal";
203
+ };
204
+ export type GetDeploymentEventsResponseBodyType = ClosedEnum<typeof GetDeploymentEventsResponseBodyType>;
205
+ export declare const GetDeploymentEventsResponseBodyLevel: {
206
+ readonly Error: "error";
207
+ readonly Warning: "warning";
208
+ };
209
+ export type GetDeploymentEventsResponseBodyLevel = ClosedEnum<typeof GetDeploymentEventsResponseBodyLevel>;
210
+ export type GetDeploymentEventsResponseBody2 = {
211
+ created: number;
212
+ date: number;
213
+ deploymentId: string;
214
+ id: string;
215
+ info: Info;
216
+ serial: string;
109
217
  text?: string | undefined;
110
- /**
111
- * Type of log entry
112
- */
113
- type?: GetDeploymentEventsType | undefined;
114
- /**
115
- * Serial identifier for the log entry
116
- */
117
- serial?: string | undefined;
118
- info?: Info | undefined;
218
+ type: GetDeploymentEventsResponseBodyType;
219
+ level?: GetDeploymentEventsResponseBodyLevel | undefined;
220
+ };
221
+ export declare const ResponseBodyType: {
222
+ readonly Delimiter: "delimiter";
223
+ readonly Command: "command";
224
+ readonly Stdout: "stdout";
225
+ readonly Stderr: "stderr";
226
+ readonly Exit: "exit";
227
+ readonly DeploymentState: "deployment-state";
228
+ readonly Middleware: "middleware";
229
+ readonly MiddlewareInvocation: "middleware-invocation";
230
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
231
+ readonly Metric: "metric";
232
+ readonly Report: "report";
233
+ readonly Fatal: "fatal";
119
234
  };
235
+ export type ResponseBodyType = ClosedEnum<typeof ResponseBodyType>;
236
+ export type GetDeploymentEventsResponseBodyDeploymentsInfo = {
237
+ type: string;
238
+ name: string;
239
+ entrypoint?: string | undefined;
240
+ path?: string | undefined;
241
+ step?: string | undefined;
242
+ readyState?: string | undefined;
243
+ };
244
+ export declare const VercelCache: {
245
+ readonly Miss: "MISS";
246
+ readonly Hit: "HIT";
247
+ readonly Stale: "STALE";
248
+ readonly Bypass: "BYPASS";
249
+ readonly Prerender: "PRERENDER";
250
+ readonly Revalidated: "REVALIDATED";
251
+ };
252
+ export type VercelCache = ClosedEnum<typeof VercelCache>;
253
+ export declare const WafAction: {
254
+ readonly Log: "log";
255
+ readonly Challenge: "challenge";
256
+ readonly Deny: "deny";
257
+ readonly Bypass: "bypass";
258
+ readonly RateLimit: "rate_limit";
259
+ };
260
+ export type WafAction = ClosedEnum<typeof WafAction>;
261
+ export type Proxy = {
262
+ timestamp: number;
263
+ method: string;
264
+ host: string;
265
+ path: string;
266
+ statusCode?: number | undefined;
267
+ userAgent: Array<string>;
268
+ referer: string;
269
+ clientIp?: string | undefined;
270
+ region: string;
271
+ scheme?: string | undefined;
272
+ responseByteSize?: number | undefined;
273
+ cacheId?: string | undefined;
274
+ pathType?: string | undefined;
275
+ pathTypeVariant?: string | undefined;
276
+ vercelId?: string | undefined;
277
+ vercelCache?: VercelCache | undefined;
278
+ lambdaRegion?: string | undefined;
279
+ wafAction?: WafAction | undefined;
280
+ wafRuleId?: string | undefined;
281
+ };
282
+ export type GetDeploymentEventsResponseBodyPayload = {
283
+ deploymentId: string;
284
+ info?: GetDeploymentEventsResponseBodyDeploymentsInfo | undefined;
285
+ text?: string | undefined;
286
+ id: string;
287
+ date: number;
288
+ serial: string;
289
+ created?: number | undefined;
290
+ statusCode?: number | undefined;
291
+ requestId?: string | undefined;
292
+ proxy?: Proxy | undefined;
293
+ };
294
+ export type GetDeploymentEventsResponseBody1 = {
295
+ type: ResponseBodyType;
296
+ created: number;
297
+ payload: GetDeploymentEventsResponseBodyPayload;
298
+ };
299
+ export type GetDeploymentEventsDeploymentsResponseBody = GetDeploymentEventsResponseBody1 | GetDeploymentEventsResponseBody2;
300
+ export type GetDeploymentEventsResponse = Array<GetDeploymentEventsResponseBody1 | GetDeploymentEventsResponseBody2 | null> | GetDeploymentEventsResponseBodyDeployments1 | GetDeploymentEventsResponseBodyDeployments2;
120
301
  /** @internal */
121
302
  export declare const Direction$inboundSchema: z.ZodNativeEnum<typeof Direction>;
122
303
  /** @internal */
@@ -191,32 +372,368 @@ export declare namespace GetDeploymentEventsRequest$ {
191
372
  export declare function getDeploymentEventsRequestToJSON(getDeploymentEventsRequest: GetDeploymentEventsRequest): string;
192
373
  export declare function getDeploymentEventsRequestFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsRequest, SDKValidationError>;
193
374
  /** @internal */
194
- export declare const GetDeploymentEventsType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsType>;
375
+ export declare const ResponseBodyInfo$inboundSchema: z.ZodType<ResponseBodyInfo, z.ZodTypeDef, unknown>;
376
+ /** @internal */
377
+ export type ResponseBodyInfo$Outbound = {
378
+ type: string;
379
+ name: string;
380
+ entrypoint?: string | undefined;
381
+ path?: string | undefined;
382
+ step?: string | undefined;
383
+ readyState?: string | undefined;
384
+ };
385
+ /** @internal */
386
+ export declare const ResponseBodyInfo$outboundSchema: z.ZodType<ResponseBodyInfo$Outbound, z.ZodTypeDef, ResponseBodyInfo>;
387
+ /**
388
+ * @internal
389
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
390
+ */
391
+ export declare namespace ResponseBodyInfo$ {
392
+ /** @deprecated use `ResponseBodyInfo$inboundSchema` instead. */
393
+ const inboundSchema: z.ZodType<ResponseBodyInfo, z.ZodTypeDef, unknown>;
394
+ /** @deprecated use `ResponseBodyInfo$outboundSchema` instead. */
395
+ const outboundSchema: z.ZodType<ResponseBodyInfo$Outbound, z.ZodTypeDef, ResponseBodyInfo>;
396
+ /** @deprecated use `ResponseBodyInfo$Outbound` instead. */
397
+ type Outbound = ResponseBodyInfo$Outbound;
398
+ }
399
+ export declare function responseBodyInfoToJSON(responseBodyInfo: ResponseBodyInfo): string;
400
+ export declare function responseBodyInfoFromJSON(jsonString: string): SafeParseResult<ResponseBodyInfo, SDKValidationError>;
401
+ /** @internal */
402
+ export declare const GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyDeploymentsResponseType>;
403
+ /** @internal */
404
+ export declare const GetDeploymentEventsResponseBodyDeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyDeploymentsResponseType>;
405
+ /**
406
+ * @internal
407
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
408
+ */
409
+ export declare namespace GetDeploymentEventsResponseBodyDeploymentsResponseType$ {
410
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema` instead. */
411
+ const inboundSchema: z.ZodNativeEnum<{
412
+ readonly Delimiter: "delimiter";
413
+ readonly Command: "command";
414
+ readonly Stdout: "stdout";
415
+ readonly Stderr: "stderr";
416
+ readonly Exit: "exit";
417
+ readonly DeploymentState: "deployment-state";
418
+ readonly Middleware: "middleware";
419
+ readonly MiddlewareInvocation: "middleware-invocation";
420
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
421
+ readonly Metric: "metric";
422
+ readonly Report: "report";
423
+ readonly Fatal: "fatal";
424
+ }>;
425
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsResponseType$outboundSchema` instead. */
426
+ const outboundSchema: z.ZodNativeEnum<{
427
+ readonly Delimiter: "delimiter";
428
+ readonly Command: "command";
429
+ readonly Stdout: "stdout";
430
+ readonly Stderr: "stderr";
431
+ readonly Exit: "exit";
432
+ readonly DeploymentState: "deployment-state";
433
+ readonly Middleware: "middleware";
434
+ readonly MiddlewareInvocation: "middleware-invocation";
435
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
436
+ readonly Metric: "metric";
437
+ readonly Report: "report";
438
+ readonly Fatal: "fatal";
439
+ }>;
440
+ }
441
+ /** @internal */
442
+ export declare const ResponseBodyLevel$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyLevel>;
443
+ /** @internal */
444
+ export declare const ResponseBodyLevel$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyLevel>;
445
+ /**
446
+ * @internal
447
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
448
+ */
449
+ export declare namespace ResponseBodyLevel$ {
450
+ /** @deprecated use `ResponseBodyLevel$inboundSchema` instead. */
451
+ const inboundSchema: z.ZodNativeEnum<{
452
+ readonly Error: "error";
453
+ readonly Warning: "warning";
454
+ }>;
455
+ /** @deprecated use `ResponseBodyLevel$outboundSchema` instead. */
456
+ const outboundSchema: z.ZodNativeEnum<{
457
+ readonly Error: "error";
458
+ readonly Warning: "warning";
459
+ }>;
460
+ }
461
+ /** @internal */
462
+ export declare const GetDeploymentEventsResponseBodyDeployments2$inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments2, z.ZodTypeDef, unknown>;
463
+ /** @internal */
464
+ export type GetDeploymentEventsResponseBodyDeployments2$Outbound = {
465
+ created: number;
466
+ date: number;
467
+ deploymentId: string;
468
+ id: string;
469
+ info: ResponseBodyInfo$Outbound;
470
+ serial: string;
471
+ text?: string | undefined;
472
+ type: string;
473
+ level?: string | undefined;
474
+ };
475
+ /** @internal */
476
+ export declare const GetDeploymentEventsResponseBodyDeployments2$outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments2$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyDeployments2>;
477
+ /**
478
+ * @internal
479
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
480
+ */
481
+ export declare namespace GetDeploymentEventsResponseBodyDeployments2$ {
482
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeployments2$inboundSchema` instead. */
483
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments2, z.ZodTypeDef, unknown>;
484
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeployments2$outboundSchema` instead. */
485
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments2$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyDeployments2>;
486
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeployments2$Outbound` instead. */
487
+ type Outbound = GetDeploymentEventsResponseBodyDeployments2$Outbound;
488
+ }
489
+ export declare function getDeploymentEventsResponseBodyDeployments2ToJSON(getDeploymentEventsResponseBodyDeployments2: GetDeploymentEventsResponseBodyDeployments2): string;
490
+ export declare function getDeploymentEventsResponseBodyDeployments2FromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBodyDeployments2, SDKValidationError>;
195
491
  /** @internal */
196
- export declare const GetDeploymentEventsType$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsType>;
492
+ export declare const GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyDeploymentsType>;
493
+ /** @internal */
494
+ export declare const GetDeploymentEventsResponseBodyDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyDeploymentsType>;
197
495
  /**
198
496
  * @internal
199
497
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
200
498
  */
201
- export declare namespace GetDeploymentEventsType$ {
202
- /** @deprecated use `GetDeploymentEventsType$inboundSchema` instead. */
499
+ export declare namespace GetDeploymentEventsResponseBodyDeploymentsType$ {
500
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema` instead. */
203
501
  const inboundSchema: z.ZodNativeEnum<{
502
+ readonly Delimiter: "delimiter";
503
+ readonly Command: "command";
204
504
  readonly Stdout: "stdout";
205
505
  readonly Stderr: "stderr";
506
+ readonly Exit: "exit";
507
+ readonly DeploymentState: "deployment-state";
508
+ readonly Middleware: "middleware";
509
+ readonly MiddlewareInvocation: "middleware-invocation";
510
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
511
+ readonly Metric: "metric";
512
+ readonly Report: "report";
513
+ readonly Fatal: "fatal";
206
514
  }>;
207
- /** @deprecated use `GetDeploymentEventsType$outboundSchema` instead. */
515
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsType$outboundSchema` instead. */
208
516
  const outboundSchema: z.ZodNativeEnum<{
517
+ readonly Delimiter: "delimiter";
518
+ readonly Command: "command";
209
519
  readonly Stdout: "stdout";
210
520
  readonly Stderr: "stderr";
521
+ readonly Exit: "exit";
522
+ readonly DeploymentState: "deployment-state";
523
+ readonly Middleware: "middleware";
524
+ readonly MiddlewareInvocation: "middleware-invocation";
525
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
526
+ readonly Metric: "metric";
527
+ readonly Report: "report";
528
+ readonly Fatal: "fatal";
211
529
  }>;
212
530
  }
213
531
  /** @internal */
532
+ export declare const GetDeploymentEventsResponseBodyInfo$inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyInfo, z.ZodTypeDef, unknown>;
533
+ /** @internal */
534
+ export type GetDeploymentEventsResponseBodyInfo$Outbound = {
535
+ type: string;
536
+ name: string;
537
+ entrypoint?: string | undefined;
538
+ path?: string | undefined;
539
+ step?: string | undefined;
540
+ readyState?: string | undefined;
541
+ };
542
+ /** @internal */
543
+ export declare const GetDeploymentEventsResponseBodyInfo$outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyInfo$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyInfo>;
544
+ /**
545
+ * @internal
546
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
547
+ */
548
+ export declare namespace GetDeploymentEventsResponseBodyInfo$ {
549
+ /** @deprecated use `GetDeploymentEventsResponseBodyInfo$inboundSchema` instead. */
550
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyInfo, z.ZodTypeDef, unknown>;
551
+ /** @deprecated use `GetDeploymentEventsResponseBodyInfo$outboundSchema` instead. */
552
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyInfo$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyInfo>;
553
+ /** @deprecated use `GetDeploymentEventsResponseBodyInfo$Outbound` instead. */
554
+ type Outbound = GetDeploymentEventsResponseBodyInfo$Outbound;
555
+ }
556
+ export declare function getDeploymentEventsResponseBodyInfoToJSON(getDeploymentEventsResponseBodyInfo: GetDeploymentEventsResponseBodyInfo): string;
557
+ export declare function getDeploymentEventsResponseBodyInfoFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBodyInfo, SDKValidationError>;
558
+ /** @internal */
559
+ export declare const ResponseBodyVercelCache$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyVercelCache>;
560
+ /** @internal */
561
+ export declare const ResponseBodyVercelCache$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyVercelCache>;
562
+ /**
563
+ * @internal
564
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
565
+ */
566
+ export declare namespace ResponseBodyVercelCache$ {
567
+ /** @deprecated use `ResponseBodyVercelCache$inboundSchema` instead. */
568
+ const inboundSchema: z.ZodNativeEnum<{
569
+ readonly Miss: "MISS";
570
+ readonly Hit: "HIT";
571
+ readonly Stale: "STALE";
572
+ readonly Bypass: "BYPASS";
573
+ readonly Prerender: "PRERENDER";
574
+ readonly Revalidated: "REVALIDATED";
575
+ }>;
576
+ /** @deprecated use `ResponseBodyVercelCache$outboundSchema` instead. */
577
+ const outboundSchema: z.ZodNativeEnum<{
578
+ readonly Miss: "MISS";
579
+ readonly Hit: "HIT";
580
+ readonly Stale: "STALE";
581
+ readonly Bypass: "BYPASS";
582
+ readonly Prerender: "PRERENDER";
583
+ readonly Revalidated: "REVALIDATED";
584
+ }>;
585
+ }
586
+ /** @internal */
587
+ export declare const ResponseBodyWafAction$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyWafAction>;
588
+ /** @internal */
589
+ export declare const ResponseBodyWafAction$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyWafAction>;
590
+ /**
591
+ * @internal
592
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
593
+ */
594
+ export declare namespace ResponseBodyWafAction$ {
595
+ /** @deprecated use `ResponseBodyWafAction$inboundSchema` instead. */
596
+ const inboundSchema: z.ZodNativeEnum<{
597
+ readonly Log: "log";
598
+ readonly Challenge: "challenge";
599
+ readonly Deny: "deny";
600
+ readonly Bypass: "bypass";
601
+ readonly RateLimit: "rate_limit";
602
+ }>;
603
+ /** @deprecated use `ResponseBodyWafAction$outboundSchema` instead. */
604
+ const outboundSchema: z.ZodNativeEnum<{
605
+ readonly Log: "log";
606
+ readonly Challenge: "challenge";
607
+ readonly Deny: "deny";
608
+ readonly Bypass: "bypass";
609
+ readonly RateLimit: "rate_limit";
610
+ }>;
611
+ }
612
+ /** @internal */
613
+ export declare const ResponseBodyProxy$inboundSchema: z.ZodType<ResponseBodyProxy, z.ZodTypeDef, unknown>;
614
+ /** @internal */
615
+ export type ResponseBodyProxy$Outbound = {
616
+ timestamp: number;
617
+ method: string;
618
+ host: string;
619
+ path: string;
620
+ statusCode?: number | undefined;
621
+ userAgent: Array<string>;
622
+ referer: string;
623
+ clientIp?: string | undefined;
624
+ region: string;
625
+ scheme?: string | undefined;
626
+ responseByteSize?: number | undefined;
627
+ cacheId?: string | undefined;
628
+ pathType?: string | undefined;
629
+ pathTypeVariant?: string | undefined;
630
+ vercelId?: string | undefined;
631
+ vercelCache?: string | undefined;
632
+ lambdaRegion?: string | undefined;
633
+ wafAction?: string | undefined;
634
+ wafRuleId?: string | undefined;
635
+ };
636
+ /** @internal */
637
+ export declare const ResponseBodyProxy$outboundSchema: z.ZodType<ResponseBodyProxy$Outbound, z.ZodTypeDef, ResponseBodyProxy>;
638
+ /**
639
+ * @internal
640
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
641
+ */
642
+ export declare namespace ResponseBodyProxy$ {
643
+ /** @deprecated use `ResponseBodyProxy$inboundSchema` instead. */
644
+ const inboundSchema: z.ZodType<ResponseBodyProxy, z.ZodTypeDef, unknown>;
645
+ /** @deprecated use `ResponseBodyProxy$outboundSchema` instead. */
646
+ const outboundSchema: z.ZodType<ResponseBodyProxy$Outbound, z.ZodTypeDef, ResponseBodyProxy>;
647
+ /** @deprecated use `ResponseBodyProxy$Outbound` instead. */
648
+ type Outbound = ResponseBodyProxy$Outbound;
649
+ }
650
+ export declare function responseBodyProxyToJSON(responseBodyProxy: ResponseBodyProxy): string;
651
+ export declare function responseBodyProxyFromJSON(jsonString: string): SafeParseResult<ResponseBodyProxy, SDKValidationError>;
652
+ /** @internal */
653
+ export declare const ResponseBodyPayload$inboundSchema: z.ZodType<ResponseBodyPayload, z.ZodTypeDef, unknown>;
654
+ /** @internal */
655
+ export type ResponseBodyPayload$Outbound = {
656
+ deploymentId: string;
657
+ info?: GetDeploymentEventsResponseBodyInfo$Outbound | undefined;
658
+ text?: string | undefined;
659
+ id: string;
660
+ date: number;
661
+ serial: string;
662
+ created?: number | undefined;
663
+ statusCode?: number | undefined;
664
+ requestId?: string | undefined;
665
+ proxy?: ResponseBodyProxy$Outbound | undefined;
666
+ };
667
+ /** @internal */
668
+ export declare const ResponseBodyPayload$outboundSchema: z.ZodType<ResponseBodyPayload$Outbound, z.ZodTypeDef, ResponseBodyPayload>;
669
+ /**
670
+ * @internal
671
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
672
+ */
673
+ export declare namespace ResponseBodyPayload$ {
674
+ /** @deprecated use `ResponseBodyPayload$inboundSchema` instead. */
675
+ const inboundSchema: z.ZodType<ResponseBodyPayload, z.ZodTypeDef, unknown>;
676
+ /** @deprecated use `ResponseBodyPayload$outboundSchema` instead. */
677
+ const outboundSchema: z.ZodType<ResponseBodyPayload$Outbound, z.ZodTypeDef, ResponseBodyPayload>;
678
+ /** @deprecated use `ResponseBodyPayload$Outbound` instead. */
679
+ type Outbound = ResponseBodyPayload$Outbound;
680
+ }
681
+ export declare function responseBodyPayloadToJSON(responseBodyPayload: ResponseBodyPayload): string;
682
+ export declare function responseBodyPayloadFromJSON(jsonString: string): SafeParseResult<ResponseBodyPayload, SDKValidationError>;
683
+ /** @internal */
684
+ export declare const GetDeploymentEventsResponseBodyDeployments1$inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments1, z.ZodTypeDef, unknown>;
685
+ /** @internal */
686
+ export type GetDeploymentEventsResponseBodyDeployments1$Outbound = {
687
+ type: string;
688
+ created: number;
689
+ payload: ResponseBodyPayload$Outbound;
690
+ };
691
+ /** @internal */
692
+ export declare const GetDeploymentEventsResponseBodyDeployments1$outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments1$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyDeployments1>;
693
+ /**
694
+ * @internal
695
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
696
+ */
697
+ export declare namespace GetDeploymentEventsResponseBodyDeployments1$ {
698
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeployments1$inboundSchema` instead. */
699
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments1, z.ZodTypeDef, unknown>;
700
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeployments1$outboundSchema` instead. */
701
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeployments1$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyDeployments1>;
702
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeployments1$Outbound` instead. */
703
+ type Outbound = GetDeploymentEventsResponseBodyDeployments1$Outbound;
704
+ }
705
+ export declare function getDeploymentEventsResponseBodyDeployments1ToJSON(getDeploymentEventsResponseBodyDeployments1: GetDeploymentEventsResponseBodyDeployments1): string;
706
+ export declare function getDeploymentEventsResponseBodyDeployments1FromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBodyDeployments1, SDKValidationError>;
707
+ /** @internal */
708
+ export declare const GetDeploymentEventsResponseBody$inboundSchema: z.ZodType<GetDeploymentEventsResponseBody, z.ZodTypeDef, unknown>;
709
+ /** @internal */
710
+ export type GetDeploymentEventsResponseBody$Outbound = GetDeploymentEventsResponseBodyDeployments1$Outbound | GetDeploymentEventsResponseBodyDeployments2$Outbound;
711
+ /** @internal */
712
+ export declare const GetDeploymentEventsResponseBody$outboundSchema: z.ZodType<GetDeploymentEventsResponseBody$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody>;
713
+ /**
714
+ * @internal
715
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
716
+ */
717
+ export declare namespace GetDeploymentEventsResponseBody$ {
718
+ /** @deprecated use `GetDeploymentEventsResponseBody$inboundSchema` instead. */
719
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBody, z.ZodTypeDef, unknown>;
720
+ /** @deprecated use `GetDeploymentEventsResponseBody$outboundSchema` instead. */
721
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBody$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody>;
722
+ /** @deprecated use `GetDeploymentEventsResponseBody$Outbound` instead. */
723
+ type Outbound = GetDeploymentEventsResponseBody$Outbound;
724
+ }
725
+ export declare function getDeploymentEventsResponseBodyToJSON(getDeploymentEventsResponseBody: GetDeploymentEventsResponseBody): string;
726
+ export declare function getDeploymentEventsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBody, SDKValidationError>;
727
+ /** @internal */
214
728
  export declare const Info$inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown>;
215
729
  /** @internal */
216
730
  export type Info$Outbound = {
217
- type?: string | undefined;
218
- name?: string | undefined;
731
+ type: string;
732
+ name: string;
219
733
  entrypoint?: string | undefined;
734
+ path?: string | undefined;
735
+ step?: string | undefined;
736
+ readyState?: string | undefined;
220
737
  };
221
738
  /** @internal */
222
739
  export declare const Info$outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info>;
@@ -235,32 +752,349 @@ export declare namespace Info$ {
235
752
  export declare function infoToJSON(info: Info): string;
236
753
  export declare function infoFromJSON(jsonString: string): SafeParseResult<Info, SDKValidationError>;
237
754
  /** @internal */
238
- export declare const GetDeploymentEventsResponseBody$inboundSchema: z.ZodType<GetDeploymentEventsResponseBody, z.ZodTypeDef, unknown>;
755
+ export declare const GetDeploymentEventsResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyType>;
239
756
  /** @internal */
240
- export type GetDeploymentEventsResponseBody$Outbound = {
241
- created?: number | undefined;
242
- date?: number | undefined;
243
- deploymentId?: string | undefined;
244
- id?: string | undefined;
757
+ export declare const GetDeploymentEventsResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyType>;
758
+ /**
759
+ * @internal
760
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
761
+ */
762
+ export declare namespace GetDeploymentEventsResponseBodyType$ {
763
+ /** @deprecated use `GetDeploymentEventsResponseBodyType$inboundSchema` instead. */
764
+ const inboundSchema: z.ZodNativeEnum<{
765
+ readonly Delimiter: "delimiter";
766
+ readonly Command: "command";
767
+ readonly Stdout: "stdout";
768
+ readonly Stderr: "stderr";
769
+ readonly Exit: "exit";
770
+ readonly DeploymentState: "deployment-state";
771
+ readonly Middleware: "middleware";
772
+ readonly MiddlewareInvocation: "middleware-invocation";
773
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
774
+ readonly Metric: "metric";
775
+ readonly Report: "report";
776
+ readonly Fatal: "fatal";
777
+ }>;
778
+ /** @deprecated use `GetDeploymentEventsResponseBodyType$outboundSchema` instead. */
779
+ const outboundSchema: z.ZodNativeEnum<{
780
+ readonly Delimiter: "delimiter";
781
+ readonly Command: "command";
782
+ readonly Stdout: "stdout";
783
+ readonly Stderr: "stderr";
784
+ readonly Exit: "exit";
785
+ readonly DeploymentState: "deployment-state";
786
+ readonly Middleware: "middleware";
787
+ readonly MiddlewareInvocation: "middleware-invocation";
788
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
789
+ readonly Metric: "metric";
790
+ readonly Report: "report";
791
+ readonly Fatal: "fatal";
792
+ }>;
793
+ }
794
+ /** @internal */
795
+ export declare const GetDeploymentEventsResponseBodyLevel$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyLevel>;
796
+ /** @internal */
797
+ export declare const GetDeploymentEventsResponseBodyLevel$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentEventsResponseBodyLevel>;
798
+ /**
799
+ * @internal
800
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
801
+ */
802
+ export declare namespace GetDeploymentEventsResponseBodyLevel$ {
803
+ /** @deprecated use `GetDeploymentEventsResponseBodyLevel$inboundSchema` instead. */
804
+ const inboundSchema: z.ZodNativeEnum<{
805
+ readonly Error: "error";
806
+ readonly Warning: "warning";
807
+ }>;
808
+ /** @deprecated use `GetDeploymentEventsResponseBodyLevel$outboundSchema` instead. */
809
+ const outboundSchema: z.ZodNativeEnum<{
810
+ readonly Error: "error";
811
+ readonly Warning: "warning";
812
+ }>;
813
+ }
814
+ /** @internal */
815
+ export declare const GetDeploymentEventsResponseBody2$inboundSchema: z.ZodType<GetDeploymentEventsResponseBody2, z.ZodTypeDef, unknown>;
816
+ /** @internal */
817
+ export type GetDeploymentEventsResponseBody2$Outbound = {
818
+ created: number;
819
+ date: number;
820
+ deploymentId: string;
821
+ id: string;
822
+ info: Info$Outbound;
823
+ serial: string;
245
824
  text?: string | undefined;
246
- type?: string | undefined;
247
- serial?: string | undefined;
248
- info?: Info$Outbound | undefined;
825
+ type: string;
826
+ level?: string | undefined;
249
827
  };
250
828
  /** @internal */
251
- export declare const GetDeploymentEventsResponseBody$outboundSchema: z.ZodType<GetDeploymentEventsResponseBody$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody>;
829
+ export declare const GetDeploymentEventsResponseBody2$outboundSchema: z.ZodType<GetDeploymentEventsResponseBody2$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody2>;
252
830
  /**
253
831
  * @internal
254
832
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
255
833
  */
256
- export declare namespace GetDeploymentEventsResponseBody$ {
257
- /** @deprecated use `GetDeploymentEventsResponseBody$inboundSchema` instead. */
258
- const inboundSchema: z.ZodType<GetDeploymentEventsResponseBody, z.ZodTypeDef, unknown>;
259
- /** @deprecated use `GetDeploymentEventsResponseBody$outboundSchema` instead. */
260
- const outboundSchema: z.ZodType<GetDeploymentEventsResponseBody$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody>;
261
- /** @deprecated use `GetDeploymentEventsResponseBody$Outbound` instead. */
262
- type Outbound = GetDeploymentEventsResponseBody$Outbound;
834
+ export declare namespace GetDeploymentEventsResponseBody2$ {
835
+ /** @deprecated use `GetDeploymentEventsResponseBody2$inboundSchema` instead. */
836
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBody2, z.ZodTypeDef, unknown>;
837
+ /** @deprecated use `GetDeploymentEventsResponseBody2$outboundSchema` instead. */
838
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBody2$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody2>;
839
+ /** @deprecated use `GetDeploymentEventsResponseBody2$Outbound` instead. */
840
+ type Outbound = GetDeploymentEventsResponseBody2$Outbound;
263
841
  }
264
- export declare function getDeploymentEventsResponseBodyToJSON(getDeploymentEventsResponseBody: GetDeploymentEventsResponseBody): string;
265
- export declare function getDeploymentEventsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBody, SDKValidationError>;
842
+ export declare function getDeploymentEventsResponseBody2ToJSON(getDeploymentEventsResponseBody2: GetDeploymentEventsResponseBody2): string;
843
+ export declare function getDeploymentEventsResponseBody2FromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBody2, SDKValidationError>;
844
+ /** @internal */
845
+ export declare const ResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyType>;
846
+ /** @internal */
847
+ export declare const ResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyType>;
848
+ /**
849
+ * @internal
850
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
851
+ */
852
+ export declare namespace ResponseBodyType$ {
853
+ /** @deprecated use `ResponseBodyType$inboundSchema` instead. */
854
+ const inboundSchema: z.ZodNativeEnum<{
855
+ readonly Delimiter: "delimiter";
856
+ readonly Command: "command";
857
+ readonly Stdout: "stdout";
858
+ readonly Stderr: "stderr";
859
+ readonly Exit: "exit";
860
+ readonly DeploymentState: "deployment-state";
861
+ readonly Middleware: "middleware";
862
+ readonly MiddlewareInvocation: "middleware-invocation";
863
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
864
+ readonly Metric: "metric";
865
+ readonly Report: "report";
866
+ readonly Fatal: "fatal";
867
+ }>;
868
+ /** @deprecated use `ResponseBodyType$outboundSchema` instead. */
869
+ const outboundSchema: z.ZodNativeEnum<{
870
+ readonly Delimiter: "delimiter";
871
+ readonly Command: "command";
872
+ readonly Stdout: "stdout";
873
+ readonly Stderr: "stderr";
874
+ readonly Exit: "exit";
875
+ readonly DeploymentState: "deployment-state";
876
+ readonly Middleware: "middleware";
877
+ readonly MiddlewareInvocation: "middleware-invocation";
878
+ readonly EdgeFunctionInvocation: "edge-function-invocation";
879
+ readonly Metric: "metric";
880
+ readonly Report: "report";
881
+ readonly Fatal: "fatal";
882
+ }>;
883
+ }
884
+ /** @internal */
885
+ export declare const GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeploymentsInfo, z.ZodTypeDef, unknown>;
886
+ /** @internal */
887
+ export type GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound = {
888
+ type: string;
889
+ name: string;
890
+ entrypoint?: string | undefined;
891
+ path?: string | undefined;
892
+ step?: string | undefined;
893
+ readyState?: string | undefined;
894
+ };
895
+ /** @internal */
896
+ export declare const GetDeploymentEventsResponseBodyDeploymentsInfo$outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyDeploymentsInfo>;
897
+ /**
898
+ * @internal
899
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
900
+ */
901
+ export declare namespace GetDeploymentEventsResponseBodyDeploymentsInfo$ {
902
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema` instead. */
903
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeploymentsInfo, z.ZodTypeDef, unknown>;
904
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsInfo$outboundSchema` instead. */
905
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyDeploymentsInfo>;
906
+ /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound` instead. */
907
+ type Outbound = GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound;
908
+ }
909
+ export declare function getDeploymentEventsResponseBodyDeploymentsInfoToJSON(getDeploymentEventsResponseBodyDeploymentsInfo: GetDeploymentEventsResponseBodyDeploymentsInfo): string;
910
+ export declare function getDeploymentEventsResponseBodyDeploymentsInfoFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBodyDeploymentsInfo, SDKValidationError>;
911
+ /** @internal */
912
+ export declare const VercelCache$inboundSchema: z.ZodNativeEnum<typeof VercelCache>;
913
+ /** @internal */
914
+ export declare const VercelCache$outboundSchema: z.ZodNativeEnum<typeof VercelCache>;
915
+ /**
916
+ * @internal
917
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
918
+ */
919
+ export declare namespace VercelCache$ {
920
+ /** @deprecated use `VercelCache$inboundSchema` instead. */
921
+ const inboundSchema: z.ZodNativeEnum<{
922
+ readonly Miss: "MISS";
923
+ readonly Hit: "HIT";
924
+ readonly Stale: "STALE";
925
+ readonly Bypass: "BYPASS";
926
+ readonly Prerender: "PRERENDER";
927
+ readonly Revalidated: "REVALIDATED";
928
+ }>;
929
+ /** @deprecated use `VercelCache$outboundSchema` instead. */
930
+ const outboundSchema: z.ZodNativeEnum<{
931
+ readonly Miss: "MISS";
932
+ readonly Hit: "HIT";
933
+ readonly Stale: "STALE";
934
+ readonly Bypass: "BYPASS";
935
+ readonly Prerender: "PRERENDER";
936
+ readonly Revalidated: "REVALIDATED";
937
+ }>;
938
+ }
939
+ /** @internal */
940
+ export declare const WafAction$inboundSchema: z.ZodNativeEnum<typeof WafAction>;
941
+ /** @internal */
942
+ export declare const WafAction$outboundSchema: z.ZodNativeEnum<typeof WafAction>;
943
+ /**
944
+ * @internal
945
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
946
+ */
947
+ export declare namespace WafAction$ {
948
+ /** @deprecated use `WafAction$inboundSchema` instead. */
949
+ const inboundSchema: z.ZodNativeEnum<{
950
+ readonly Log: "log";
951
+ readonly Challenge: "challenge";
952
+ readonly Deny: "deny";
953
+ readonly Bypass: "bypass";
954
+ readonly RateLimit: "rate_limit";
955
+ }>;
956
+ /** @deprecated use `WafAction$outboundSchema` instead. */
957
+ const outboundSchema: z.ZodNativeEnum<{
958
+ readonly Log: "log";
959
+ readonly Challenge: "challenge";
960
+ readonly Deny: "deny";
961
+ readonly Bypass: "bypass";
962
+ readonly RateLimit: "rate_limit";
963
+ }>;
964
+ }
965
+ /** @internal */
966
+ export declare const Proxy$inboundSchema: z.ZodType<Proxy, z.ZodTypeDef, unknown>;
967
+ /** @internal */
968
+ export type Proxy$Outbound = {
969
+ timestamp: number;
970
+ method: string;
971
+ host: string;
972
+ path: string;
973
+ statusCode?: number | undefined;
974
+ userAgent: Array<string>;
975
+ referer: string;
976
+ clientIp?: string | undefined;
977
+ region: string;
978
+ scheme?: string | undefined;
979
+ responseByteSize?: number | undefined;
980
+ cacheId?: string | undefined;
981
+ pathType?: string | undefined;
982
+ pathTypeVariant?: string | undefined;
983
+ vercelId?: string | undefined;
984
+ vercelCache?: string | undefined;
985
+ lambdaRegion?: string | undefined;
986
+ wafAction?: string | undefined;
987
+ wafRuleId?: string | undefined;
988
+ };
989
+ /** @internal */
990
+ export declare const Proxy$outboundSchema: z.ZodType<Proxy$Outbound, z.ZodTypeDef, Proxy>;
991
+ /**
992
+ * @internal
993
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
994
+ */
995
+ export declare namespace Proxy$ {
996
+ /** @deprecated use `Proxy$inboundSchema` instead. */
997
+ const inboundSchema: z.ZodType<Proxy, z.ZodTypeDef, unknown>;
998
+ /** @deprecated use `Proxy$outboundSchema` instead. */
999
+ const outboundSchema: z.ZodType<Proxy$Outbound, z.ZodTypeDef, Proxy>;
1000
+ /** @deprecated use `Proxy$Outbound` instead. */
1001
+ type Outbound = Proxy$Outbound;
1002
+ }
1003
+ export declare function proxyToJSON(proxy: Proxy): string;
1004
+ export declare function proxyFromJSON(jsonString: string): SafeParseResult<Proxy, SDKValidationError>;
1005
+ /** @internal */
1006
+ export declare const GetDeploymentEventsResponseBodyPayload$inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyPayload, z.ZodTypeDef, unknown>;
1007
+ /** @internal */
1008
+ export type GetDeploymentEventsResponseBodyPayload$Outbound = {
1009
+ deploymentId: string;
1010
+ info?: GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound | undefined;
1011
+ text?: string | undefined;
1012
+ id: string;
1013
+ date: number;
1014
+ serial: string;
1015
+ created?: number | undefined;
1016
+ statusCode?: number | undefined;
1017
+ requestId?: string | undefined;
1018
+ proxy?: Proxy$Outbound | undefined;
1019
+ };
1020
+ /** @internal */
1021
+ export declare const GetDeploymentEventsResponseBodyPayload$outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyPayload$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyPayload>;
1022
+ /**
1023
+ * @internal
1024
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1025
+ */
1026
+ export declare namespace GetDeploymentEventsResponseBodyPayload$ {
1027
+ /** @deprecated use `GetDeploymentEventsResponseBodyPayload$inboundSchema` instead. */
1028
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBodyPayload, z.ZodTypeDef, unknown>;
1029
+ /** @deprecated use `GetDeploymentEventsResponseBodyPayload$outboundSchema` instead. */
1030
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBodyPayload$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBodyPayload>;
1031
+ /** @deprecated use `GetDeploymentEventsResponseBodyPayload$Outbound` instead. */
1032
+ type Outbound = GetDeploymentEventsResponseBodyPayload$Outbound;
1033
+ }
1034
+ export declare function getDeploymentEventsResponseBodyPayloadToJSON(getDeploymentEventsResponseBodyPayload: GetDeploymentEventsResponseBodyPayload): string;
1035
+ export declare function getDeploymentEventsResponseBodyPayloadFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBodyPayload, SDKValidationError>;
1036
+ /** @internal */
1037
+ export declare const GetDeploymentEventsResponseBody1$inboundSchema: z.ZodType<GetDeploymentEventsResponseBody1, z.ZodTypeDef, unknown>;
1038
+ /** @internal */
1039
+ export type GetDeploymentEventsResponseBody1$Outbound = {
1040
+ type: string;
1041
+ created: number;
1042
+ payload: GetDeploymentEventsResponseBodyPayload$Outbound;
1043
+ };
1044
+ /** @internal */
1045
+ export declare const GetDeploymentEventsResponseBody1$outboundSchema: z.ZodType<GetDeploymentEventsResponseBody1$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody1>;
1046
+ /**
1047
+ * @internal
1048
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1049
+ */
1050
+ export declare namespace GetDeploymentEventsResponseBody1$ {
1051
+ /** @deprecated use `GetDeploymentEventsResponseBody1$inboundSchema` instead. */
1052
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponseBody1, z.ZodTypeDef, unknown>;
1053
+ /** @deprecated use `GetDeploymentEventsResponseBody1$outboundSchema` instead. */
1054
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponseBody1$Outbound, z.ZodTypeDef, GetDeploymentEventsResponseBody1>;
1055
+ /** @deprecated use `GetDeploymentEventsResponseBody1$Outbound` instead. */
1056
+ type Outbound = GetDeploymentEventsResponseBody1$Outbound;
1057
+ }
1058
+ export declare function getDeploymentEventsResponseBody1ToJSON(getDeploymentEventsResponseBody1: GetDeploymentEventsResponseBody1): string;
1059
+ export declare function getDeploymentEventsResponseBody1FromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponseBody1, SDKValidationError>;
1060
+ /** @internal */
1061
+ export declare const GetDeploymentEventsDeploymentsResponseBody$inboundSchema: z.ZodType<GetDeploymentEventsDeploymentsResponseBody, z.ZodTypeDef, unknown>;
1062
+ /** @internal */
1063
+ export type GetDeploymentEventsDeploymentsResponseBody$Outbound = GetDeploymentEventsResponseBody1$Outbound | GetDeploymentEventsResponseBody2$Outbound;
1064
+ /** @internal */
1065
+ export declare const GetDeploymentEventsDeploymentsResponseBody$outboundSchema: z.ZodType<GetDeploymentEventsDeploymentsResponseBody$Outbound, z.ZodTypeDef, GetDeploymentEventsDeploymentsResponseBody>;
1066
+ /**
1067
+ * @internal
1068
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1069
+ */
1070
+ export declare namespace GetDeploymentEventsDeploymentsResponseBody$ {
1071
+ /** @deprecated use `GetDeploymentEventsDeploymentsResponseBody$inboundSchema` instead. */
1072
+ const inboundSchema: z.ZodType<GetDeploymentEventsDeploymentsResponseBody, z.ZodTypeDef, unknown>;
1073
+ /** @deprecated use `GetDeploymentEventsDeploymentsResponseBody$outboundSchema` instead. */
1074
+ const outboundSchema: z.ZodType<GetDeploymentEventsDeploymentsResponseBody$Outbound, z.ZodTypeDef, GetDeploymentEventsDeploymentsResponseBody>;
1075
+ /** @deprecated use `GetDeploymentEventsDeploymentsResponseBody$Outbound` instead. */
1076
+ type Outbound = GetDeploymentEventsDeploymentsResponseBody$Outbound;
1077
+ }
1078
+ export declare function getDeploymentEventsDeploymentsResponseBodyToJSON(getDeploymentEventsDeploymentsResponseBody: GetDeploymentEventsDeploymentsResponseBody): string;
1079
+ export declare function getDeploymentEventsDeploymentsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsDeploymentsResponseBody, SDKValidationError>;
1080
+ /** @internal */
1081
+ export declare const GetDeploymentEventsResponse$inboundSchema: z.ZodType<GetDeploymentEventsResponse, z.ZodTypeDef, unknown>;
1082
+ /** @internal */
1083
+ export type GetDeploymentEventsResponse$Outbound = Array<GetDeploymentEventsResponseBody1$Outbound | GetDeploymentEventsResponseBody2$Outbound | null> | GetDeploymentEventsResponseBodyDeployments1$Outbound | GetDeploymentEventsResponseBodyDeployments2$Outbound;
1084
+ /** @internal */
1085
+ export declare const GetDeploymentEventsResponse$outboundSchema: z.ZodType<GetDeploymentEventsResponse$Outbound, z.ZodTypeDef, GetDeploymentEventsResponse>;
1086
+ /**
1087
+ * @internal
1088
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1089
+ */
1090
+ export declare namespace GetDeploymentEventsResponse$ {
1091
+ /** @deprecated use `GetDeploymentEventsResponse$inboundSchema` instead. */
1092
+ const inboundSchema: z.ZodType<GetDeploymentEventsResponse, z.ZodTypeDef, unknown>;
1093
+ /** @deprecated use `GetDeploymentEventsResponse$outboundSchema` instead. */
1094
+ const outboundSchema: z.ZodType<GetDeploymentEventsResponse$Outbound, z.ZodTypeDef, GetDeploymentEventsResponse>;
1095
+ /** @deprecated use `GetDeploymentEventsResponse$Outbound` instead. */
1096
+ type Outbound = GetDeploymentEventsResponse$Outbound;
1097
+ }
1098
+ export declare function getDeploymentEventsResponseToJSON(getDeploymentEventsResponse: GetDeploymentEventsResponse): string;
1099
+ export declare function getDeploymentEventsResponseFromJSON(jsonString: string): SafeParseResult<GetDeploymentEventsResponse, SDKValidationError>;
266
1100
  //# sourceMappingURL=getdeploymenteventsop.d.ts.map