@vercel/sdk 1.8.4 → 1.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/bin/mcp-server.js +1009 -313
  2. package/bin/mcp-server.js.map +13 -13
  3. package/esm/__tests__/projects.test.js +15 -13
  4. package/esm/__tests__/projects.test.js.map +1 -1
  5. package/esm/lib/config.d.ts +3 -3
  6. package/esm/lib/config.js +3 -3
  7. package/esm/mcp-server/mcp-server.js +1 -1
  8. package/esm/mcp-server/server.js +1 -1
  9. package/esm/models/canceldeploymentop.d.ts +408 -8
  10. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  11. package/esm/models/canceldeploymentop.js +446 -8
  12. package/esm/models/canceldeploymentop.js.map +1 -1
  13. package/esm/models/createdeploymentop.d.ts +408 -8
  14. package/esm/models/createdeploymentop.d.ts.map +1 -1
  15. package/esm/models/createdeploymentop.js +448 -8
  16. package/esm/models/createdeploymentop.js.map +1 -1
  17. package/esm/models/createprojectenvop.d.ts +6 -6
  18. package/esm/models/createprojectenvop.js +2 -2
  19. package/esm/models/createprojectenvop.js.map +1 -1
  20. package/esm/models/createprojectop.d.ts +137 -137
  21. package/esm/models/createprojectop.d.ts.map +1 -1
  22. package/esm/models/createprojectop.js +135 -135
  23. package/esm/models/createprojectop.js.map +1 -1
  24. package/esm/models/editprojectenvop.d.ts +3 -3
  25. package/esm/models/editprojectenvop.js +1 -1
  26. package/esm/models/editprojectenvop.js.map +1 -1
  27. package/esm/models/getdeploymentop.d.ts +408 -8
  28. package/esm/models/getdeploymentop.d.ts.map +1 -1
  29. package/esm/models/getdeploymentop.js +441 -8
  30. package/esm/models/getdeploymentop.js.map +1 -1
  31. package/esm/models/removeprojectenvop.d.ts +9 -9
  32. package/esm/models/removeprojectenvop.js +3 -3
  33. package/esm/models/removeprojectenvop.js.map +1 -1
  34. package/esm/models/updateprojectop.d.ts +137 -137
  35. package/esm/models/updateprojectop.d.ts.map +1 -1
  36. package/esm/models/updateprojectop.js +135 -135
  37. package/esm/models/updateprojectop.js.map +1 -1
  38. package/esm/types/constdatetime.js +1 -1
  39. package/jsr.json +1 -1
  40. package/package.json +1 -1
  41. package/src/__tests__/projects.test.ts +15 -13
  42. package/src/lib/config.ts +3 -3
  43. package/src/mcp-server/mcp-server.ts +1 -1
  44. package/src/mcp-server/server.ts +1 -1
  45. package/src/models/canceldeploymentop.ts +1039 -16
  46. package/src/models/createdeploymentop.ts +957 -16
  47. package/src/models/createprojectenvop.ts +2 -2
  48. package/src/models/createprojectop.ts +263 -263
  49. package/src/models/editprojectenvop.ts +1 -1
  50. package/src/models/getdeploymentop.ts +1007 -16
  51. package/src/models/removeprojectenvop.ts +3 -3
  52. package/src/models/updateprojectop.ts +263 -263
  53. package/src/types/constdatetime.ts +1 -1
  54. package/vercel-spec.json +1328 -623
@@ -333,6 +333,10 @@ export const CreateDeploymentMissingType = {
333
333
  export const MissingType = {
334
334
  Host: "host",
335
335
  };
336
+ export const RoutesAction = {
337
+ Challenge: "challenge",
338
+ Deny: "deny",
339
+ };
336
340
  export const CreateDeploymentState = {
337
341
  Succeeded: "succeeded",
338
342
  Failed: "failed",
@@ -3057,17 +3061,116 @@ export var CreateDeploymentHasType$;
3057
3061
  CreateDeploymentHasType$.outboundSchema = CreateDeploymentHasType$outboundSchema;
3058
3062
  })(CreateDeploymentHasType$ || (CreateDeploymentHasType$ = {}));
3059
3063
  /** @internal */
3064
+ export const ValueEq$inboundSchema = z.union([z.string(), z.number()]);
3065
+ /** @internal */
3066
+ export const ValueEq$outboundSchema = z.union([z.string(), z.number()]);
3067
+ /**
3068
+ * @internal
3069
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3070
+ */
3071
+ export var ValueEq$;
3072
+ (function (ValueEq$) {
3073
+ /** @deprecated use `ValueEq$inboundSchema` instead. */
3074
+ ValueEq$.inboundSchema = ValueEq$inboundSchema;
3075
+ /** @deprecated use `ValueEq$outboundSchema` instead. */
3076
+ ValueEq$.outboundSchema = ValueEq$outboundSchema;
3077
+ })(ValueEq$ || (ValueEq$ = {}));
3078
+ export function valueEqToJSON(valueEq) {
3079
+ return JSON.stringify(ValueEq$outboundSchema.parse(valueEq));
3080
+ }
3081
+ export function valueEqFromJSON(jsonString) {
3082
+ return safeParse(jsonString, (x) => ValueEq$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ValueEq' from JSON`);
3083
+ }
3084
+ /** @internal */
3085
+ export const CreateDeploymentValueDeployments2$inboundSchema = z.object({
3086
+ eq: z.union([z.string(), z.number()]).optional(),
3087
+ neq: z.string().optional(),
3088
+ inc: z.array(z.string()).optional(),
3089
+ ninc: z.array(z.string()).optional(),
3090
+ pre: z.string().optional(),
3091
+ suf: z.string().optional(),
3092
+ re: z.string().optional(),
3093
+ gt: z.number().optional(),
3094
+ gte: z.number().optional(),
3095
+ lt: z.number().optional(),
3096
+ lte: z.number().optional(),
3097
+ });
3098
+ /** @internal */
3099
+ export const CreateDeploymentValueDeployments2$outboundSchema = z.object({
3100
+ eq: z.union([z.string(), z.number()]).optional(),
3101
+ neq: z.string().optional(),
3102
+ inc: z.array(z.string()).optional(),
3103
+ ninc: z.array(z.string()).optional(),
3104
+ pre: z.string().optional(),
3105
+ suf: z.string().optional(),
3106
+ re: z.string().optional(),
3107
+ gt: z.number().optional(),
3108
+ gte: z.number().optional(),
3109
+ lt: z.number().optional(),
3110
+ lte: z.number().optional(),
3111
+ });
3112
+ /**
3113
+ * @internal
3114
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3115
+ */
3116
+ export var CreateDeploymentValueDeployments2$;
3117
+ (function (CreateDeploymentValueDeployments2$) {
3118
+ /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
3119
+ CreateDeploymentValueDeployments2$.inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
3120
+ /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
3121
+ CreateDeploymentValueDeployments2$.outboundSchema = CreateDeploymentValueDeployments2$outboundSchema;
3122
+ })(CreateDeploymentValueDeployments2$ || (CreateDeploymentValueDeployments2$ = {}));
3123
+ export function createDeploymentValueDeployments2ToJSON(createDeploymentValueDeployments2) {
3124
+ return JSON.stringify(CreateDeploymentValueDeployments2$outboundSchema.parse(createDeploymentValueDeployments2));
3125
+ }
3126
+ export function createDeploymentValueDeployments2FromJSON(jsonString) {
3127
+ return safeParse(jsonString, (x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentValueDeployments2' from JSON`);
3128
+ }
3129
+ /** @internal */
3130
+ export const CreateDeploymentHasValue$inboundSchema = z.union([
3131
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
3132
+ z.string(),
3133
+ ]);
3134
+ /** @internal */
3135
+ export const CreateDeploymentHasValue$outboundSchema = z.union([
3136
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
3137
+ z.string(),
3138
+ ]);
3139
+ /**
3140
+ * @internal
3141
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3142
+ */
3143
+ export var CreateDeploymentHasValue$;
3144
+ (function (CreateDeploymentHasValue$) {
3145
+ /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
3146
+ CreateDeploymentHasValue$.inboundSchema = CreateDeploymentHasValue$inboundSchema;
3147
+ /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
3148
+ CreateDeploymentHasValue$.outboundSchema = CreateDeploymentHasValue$outboundSchema;
3149
+ })(CreateDeploymentHasValue$ || (CreateDeploymentHasValue$ = {}));
3150
+ export function createDeploymentHasValueToJSON(createDeploymentHasValue) {
3151
+ return JSON.stringify(CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue));
3152
+ }
3153
+ export function createDeploymentHasValueFromJSON(jsonString) {
3154
+ return safeParse(jsonString, (x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentHasValue' from JSON`);
3155
+ }
3156
+ /** @internal */
3060
3157
  export const Has2$inboundSchema = z
3061
3158
  .object({
3062
3159
  type: CreateDeploymentHasType$inboundSchema,
3063
3160
  key: z.string(),
3064
- value: z.string().optional(),
3161
+ value: z.union([
3162
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
3163
+ z.string(),
3164
+ ]).optional(),
3065
3165
  });
3066
3166
  /** @internal */
3067
3167
  export const Has2$outboundSchema = z.object({
3068
3168
  type: CreateDeploymentHasType$outboundSchema,
3069
3169
  key: z.string(),
3070
- value: z.string().optional(),
3170
+ value: z.union([
3171
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
3172
+ z.string(),
3173
+ ]).optional(),
3071
3174
  });
3072
3175
  /**
3073
3176
  * @internal
@@ -3103,15 +3206,112 @@ export var HasType$;
3103
3206
  HasType$.outboundSchema = HasType$outboundSchema;
3104
3207
  })(HasType$ || (HasType$ = {}));
3105
3208
  /** @internal */
3209
+ export const Eq$inboundSchema = z.union([
3210
+ z.string(),
3211
+ z.number(),
3212
+ ]);
3213
+ /** @internal */
3214
+ export const Eq$outboundSchema = z
3215
+ .union([z.string(), z.number()]);
3216
+ /**
3217
+ * @internal
3218
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3219
+ */
3220
+ export var Eq$;
3221
+ (function (Eq$) {
3222
+ /** @deprecated use `Eq$inboundSchema` instead. */
3223
+ Eq$.inboundSchema = Eq$inboundSchema;
3224
+ /** @deprecated use `Eq$outboundSchema` instead. */
3225
+ Eq$.outboundSchema = Eq$outboundSchema;
3226
+ })(Eq$ || (Eq$ = {}));
3227
+ export function eqToJSON(eq) {
3228
+ return JSON.stringify(Eq$outboundSchema.parse(eq));
3229
+ }
3230
+ export function eqFromJSON(jsonString) {
3231
+ return safeParse(jsonString, (x) => Eq$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Eq' from JSON`);
3232
+ }
3233
+ /** @internal */
3234
+ export const CreateDeploymentValue2$inboundSchema = z.object({
3235
+ eq: z.union([z.string(), z.number()]).optional(),
3236
+ neq: z.string().optional(),
3237
+ inc: z.array(z.string()).optional(),
3238
+ ninc: z.array(z.string()).optional(),
3239
+ pre: z.string().optional(),
3240
+ suf: z.string().optional(),
3241
+ re: z.string().optional(),
3242
+ gt: z.number().optional(),
3243
+ gte: z.number().optional(),
3244
+ lt: z.number().optional(),
3245
+ lte: z.number().optional(),
3246
+ });
3247
+ /** @internal */
3248
+ export const CreateDeploymentValue2$outboundSchema = z.object({
3249
+ eq: z.union([z.string(), z.number()]).optional(),
3250
+ neq: z.string().optional(),
3251
+ inc: z.array(z.string()).optional(),
3252
+ ninc: z.array(z.string()).optional(),
3253
+ pre: z.string().optional(),
3254
+ suf: z.string().optional(),
3255
+ re: z.string().optional(),
3256
+ gt: z.number().optional(),
3257
+ gte: z.number().optional(),
3258
+ lt: z.number().optional(),
3259
+ lte: z.number().optional(),
3260
+ });
3261
+ /**
3262
+ * @internal
3263
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3264
+ */
3265
+ export var CreateDeploymentValue2$;
3266
+ (function (CreateDeploymentValue2$) {
3267
+ /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
3268
+ CreateDeploymentValue2$.inboundSchema = CreateDeploymentValue2$inboundSchema;
3269
+ /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
3270
+ CreateDeploymentValue2$.outboundSchema = CreateDeploymentValue2$outboundSchema;
3271
+ })(CreateDeploymentValue2$ || (CreateDeploymentValue2$ = {}));
3272
+ export function createDeploymentValue2ToJSON(createDeploymentValue2) {
3273
+ return JSON.stringify(CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2));
3274
+ }
3275
+ export function createDeploymentValue2FromJSON(jsonString) {
3276
+ return safeParse(jsonString, (x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentValue2' from JSON`);
3277
+ }
3278
+ /** @internal */
3279
+ export const HasValue$inboundSchema = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
3280
+ /** @internal */
3281
+ export const HasValue$outboundSchema = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
3282
+ /**
3283
+ * @internal
3284
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3285
+ */
3286
+ export var HasValue$;
3287
+ (function (HasValue$) {
3288
+ /** @deprecated use `HasValue$inboundSchema` instead. */
3289
+ HasValue$.inboundSchema = HasValue$inboundSchema;
3290
+ /** @deprecated use `HasValue$outboundSchema` instead. */
3291
+ HasValue$.outboundSchema = HasValue$outboundSchema;
3292
+ })(HasValue$ || (HasValue$ = {}));
3293
+ export function hasValueToJSON(hasValue) {
3294
+ return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
3295
+ }
3296
+ export function hasValueFromJSON(jsonString) {
3297
+ return safeParse(jsonString, (x) => HasValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HasValue' from JSON`);
3298
+ }
3299
+ /** @internal */
3106
3300
  export const Has1$inboundSchema = z
3107
3301
  .object({
3108
3302
  type: HasType$inboundSchema,
3109
- value: z.string(),
3303
+ value: z.union([
3304
+ z.lazy(() => CreateDeploymentValue2$inboundSchema),
3305
+ z.string(),
3306
+ ]),
3110
3307
  });
3111
3308
  /** @internal */
3112
3309
  export const Has1$outboundSchema = z.object({
3113
3310
  type: HasType$outboundSchema,
3114
- value: z.string(),
3311
+ value: z.union([
3312
+ z.lazy(() => CreateDeploymentValue2$outboundSchema),
3313
+ z.string(),
3314
+ ]),
3115
3315
  });
3116
3316
  /**
3117
3317
  * @internal
@@ -3173,16 +3373,115 @@ export var CreateDeploymentMissingType$;
3173
3373
  CreateDeploymentMissingType$.outboundSchema = CreateDeploymentMissingType$outboundSchema;
3174
3374
  })(CreateDeploymentMissingType$ || (CreateDeploymentMissingType$ = {}));
3175
3375
  /** @internal */
3376
+ export const CreateDeploymentValueDeploymentsEq$inboundSchema = z.union([z.string(), z.number()]);
3377
+ /** @internal */
3378
+ export const CreateDeploymentValueDeploymentsEq$outboundSchema = z.union([z.string(), z.number()]);
3379
+ /**
3380
+ * @internal
3381
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3382
+ */
3383
+ export var CreateDeploymentValueDeploymentsEq$;
3384
+ (function (CreateDeploymentValueDeploymentsEq$) {
3385
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$inboundSchema` instead. */
3386
+ CreateDeploymentValueDeploymentsEq$.inboundSchema = CreateDeploymentValueDeploymentsEq$inboundSchema;
3387
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$outboundSchema` instead. */
3388
+ CreateDeploymentValueDeploymentsEq$.outboundSchema = CreateDeploymentValueDeploymentsEq$outboundSchema;
3389
+ })(CreateDeploymentValueDeploymentsEq$ || (CreateDeploymentValueDeploymentsEq$ = {}));
3390
+ export function createDeploymentValueDeploymentsEqToJSON(createDeploymentValueDeploymentsEq) {
3391
+ return JSON.stringify(CreateDeploymentValueDeploymentsEq$outboundSchema.parse(createDeploymentValueDeploymentsEq));
3392
+ }
3393
+ export function createDeploymentValueDeploymentsEqFromJSON(jsonString) {
3394
+ return safeParse(jsonString, (x) => CreateDeploymentValueDeploymentsEq$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentValueDeploymentsEq' from JSON`);
3395
+ }
3396
+ /** @internal */
3397
+ export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema = z.object({
3398
+ eq: z.union([z.string(), z.number()]).optional(),
3399
+ neq: z.string().optional(),
3400
+ inc: z.array(z.string()).optional(),
3401
+ ninc: z.array(z.string()).optional(),
3402
+ pre: z.string().optional(),
3403
+ suf: z.string().optional(),
3404
+ re: z.string().optional(),
3405
+ gt: z.number().optional(),
3406
+ gte: z.number().optional(),
3407
+ lt: z.number().optional(),
3408
+ lte: z.number().optional(),
3409
+ });
3410
+ /** @internal */
3411
+ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema = z.object({
3412
+ eq: z.union([z.string(), z.number()]).optional(),
3413
+ neq: z.string().optional(),
3414
+ inc: z.array(z.string()).optional(),
3415
+ ninc: z.array(z.string()).optional(),
3416
+ pre: z.string().optional(),
3417
+ suf: z.string().optional(),
3418
+ re: z.string().optional(),
3419
+ gt: z.number().optional(),
3420
+ gte: z.number().optional(),
3421
+ lt: z.number().optional(),
3422
+ lte: z.number().optional(),
3423
+ });
3424
+ /**
3425
+ * @internal
3426
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3427
+ */
3428
+ export var CreateDeploymentValueDeploymentsResponse2002$;
3429
+ (function (CreateDeploymentValueDeploymentsResponse2002$) {
3430
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
3431
+ CreateDeploymentValueDeploymentsResponse2002$.inboundSchema = CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
3432
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
3433
+ CreateDeploymentValueDeploymentsResponse2002$.outboundSchema = CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
3434
+ })(CreateDeploymentValueDeploymentsResponse2002$ || (CreateDeploymentValueDeploymentsResponse2002$ = {}));
3435
+ export function createDeploymentValueDeploymentsResponse2002ToJSON(createDeploymentValueDeploymentsResponse2002) {
3436
+ return JSON.stringify(CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(createDeploymentValueDeploymentsResponse2002));
3437
+ }
3438
+ export function createDeploymentValueDeploymentsResponse2002FromJSON(jsonString) {
3439
+ return safeParse(jsonString, (x) => CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`);
3440
+ }
3441
+ /** @internal */
3442
+ export const CreateDeploymentMissingValue$inboundSchema = z.union([
3443
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
3444
+ z.string(),
3445
+ ]);
3446
+ /** @internal */
3447
+ export const CreateDeploymentMissingValue$outboundSchema = z.union([
3448
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
3449
+ z.string(),
3450
+ ]);
3451
+ /**
3452
+ * @internal
3453
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3454
+ */
3455
+ export var CreateDeploymentMissingValue$;
3456
+ (function (CreateDeploymentMissingValue$) {
3457
+ /** @deprecated use `CreateDeploymentMissingValue$inboundSchema` instead. */
3458
+ CreateDeploymentMissingValue$.inboundSchema = CreateDeploymentMissingValue$inboundSchema;
3459
+ /** @deprecated use `CreateDeploymentMissingValue$outboundSchema` instead. */
3460
+ CreateDeploymentMissingValue$.outboundSchema = CreateDeploymentMissingValue$outboundSchema;
3461
+ })(CreateDeploymentMissingValue$ || (CreateDeploymentMissingValue$ = {}));
3462
+ export function createDeploymentMissingValueToJSON(createDeploymentMissingValue) {
3463
+ return JSON.stringify(CreateDeploymentMissingValue$outboundSchema.parse(createDeploymentMissingValue));
3464
+ }
3465
+ export function createDeploymentMissingValueFromJSON(jsonString) {
3466
+ return safeParse(jsonString, (x) => CreateDeploymentMissingValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentMissingValue' from JSON`);
3467
+ }
3468
+ /** @internal */
3176
3469
  export const Missing2$inboundSchema = z.object({
3177
3470
  type: CreateDeploymentMissingType$inboundSchema,
3178
3471
  key: z.string(),
3179
- value: z.string().optional(),
3472
+ value: z.union([
3473
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
3474
+ z.string(),
3475
+ ]).optional(),
3180
3476
  });
3181
3477
  /** @internal */
3182
3478
  export const Missing2$outboundSchema = z.object({
3183
3479
  type: CreateDeploymentMissingType$outboundSchema,
3184
3480
  key: z.string(),
3185
- value: z.string().optional(),
3481
+ value: z.union([
3482
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
3483
+ z.string(),
3484
+ ]).optional(),
3186
3485
  });
3187
3486
  /**
3188
3487
  * @internal
@@ -3218,14 +3517,113 @@ export var MissingType$;
3218
3517
  MissingType$.outboundSchema = MissingType$outboundSchema;
3219
3518
  })(MissingType$ || (MissingType$ = {}));
3220
3519
  /** @internal */
3520
+ export const CreateDeploymentValueEq$inboundSchema = z.union([z.string(), z.number()]);
3521
+ /** @internal */
3522
+ export const CreateDeploymentValueEq$outboundSchema = z.union([z.string(), z.number()]);
3523
+ /**
3524
+ * @internal
3525
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3526
+ */
3527
+ export var CreateDeploymentValueEq$;
3528
+ (function (CreateDeploymentValueEq$) {
3529
+ /** @deprecated use `CreateDeploymentValueEq$inboundSchema` instead. */
3530
+ CreateDeploymentValueEq$.inboundSchema = CreateDeploymentValueEq$inboundSchema;
3531
+ /** @deprecated use `CreateDeploymentValueEq$outboundSchema` instead. */
3532
+ CreateDeploymentValueEq$.outboundSchema = CreateDeploymentValueEq$outboundSchema;
3533
+ })(CreateDeploymentValueEq$ || (CreateDeploymentValueEq$ = {}));
3534
+ export function createDeploymentValueEqToJSON(createDeploymentValueEq) {
3535
+ return JSON.stringify(CreateDeploymentValueEq$outboundSchema.parse(createDeploymentValueEq));
3536
+ }
3537
+ export function createDeploymentValueEqFromJSON(jsonString) {
3538
+ return safeParse(jsonString, (x) => CreateDeploymentValueEq$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentValueEq' from JSON`);
3539
+ }
3540
+ /** @internal */
3541
+ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema = z.object({
3542
+ eq: z.union([z.string(), z.number()]).optional(),
3543
+ neq: z.string().optional(),
3544
+ inc: z.array(z.string()).optional(),
3545
+ ninc: z.array(z.string()).optional(),
3546
+ pre: z.string().optional(),
3547
+ suf: z.string().optional(),
3548
+ re: z.string().optional(),
3549
+ gt: z.number().optional(),
3550
+ gte: z.number().optional(),
3551
+ lt: z.number().optional(),
3552
+ lte: z.number().optional(),
3553
+ });
3554
+ /** @internal */
3555
+ export const CreateDeploymentValueDeploymentsResponse2$outboundSchema = z.object({
3556
+ eq: z.union([z.string(), z.number()]).optional(),
3557
+ neq: z.string().optional(),
3558
+ inc: z.array(z.string()).optional(),
3559
+ ninc: z.array(z.string()).optional(),
3560
+ pre: z.string().optional(),
3561
+ suf: z.string().optional(),
3562
+ re: z.string().optional(),
3563
+ gt: z.number().optional(),
3564
+ gte: z.number().optional(),
3565
+ lt: z.number().optional(),
3566
+ lte: z.number().optional(),
3567
+ });
3568
+ /**
3569
+ * @internal
3570
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3571
+ */
3572
+ export var CreateDeploymentValueDeploymentsResponse2$;
3573
+ (function (CreateDeploymentValueDeploymentsResponse2$) {
3574
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
3575
+ CreateDeploymentValueDeploymentsResponse2$.inboundSchema = CreateDeploymentValueDeploymentsResponse2$inboundSchema;
3576
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
3577
+ CreateDeploymentValueDeploymentsResponse2$.outboundSchema = CreateDeploymentValueDeploymentsResponse2$outboundSchema;
3578
+ })(CreateDeploymentValueDeploymentsResponse2$ || (CreateDeploymentValueDeploymentsResponse2$ = {}));
3579
+ export function createDeploymentValueDeploymentsResponse2ToJSON(createDeploymentValueDeploymentsResponse2) {
3580
+ return JSON.stringify(CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(createDeploymentValueDeploymentsResponse2));
3581
+ }
3582
+ export function createDeploymentValueDeploymentsResponse2FromJSON(jsonString) {
3583
+ return safeParse(jsonString, (x) => CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`);
3584
+ }
3585
+ /** @internal */
3586
+ export const MissingValue$inboundSchema = z.union([
3587
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
3588
+ z.string(),
3589
+ ]);
3590
+ /** @internal */
3591
+ export const MissingValue$outboundSchema = z.union([
3592
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
3593
+ z.string(),
3594
+ ]);
3595
+ /**
3596
+ * @internal
3597
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3598
+ */
3599
+ export var MissingValue$;
3600
+ (function (MissingValue$) {
3601
+ /** @deprecated use `MissingValue$inboundSchema` instead. */
3602
+ MissingValue$.inboundSchema = MissingValue$inboundSchema;
3603
+ /** @deprecated use `MissingValue$outboundSchema` instead. */
3604
+ MissingValue$.outboundSchema = MissingValue$outboundSchema;
3605
+ })(MissingValue$ || (MissingValue$ = {}));
3606
+ export function missingValueToJSON(missingValue) {
3607
+ return JSON.stringify(MissingValue$outboundSchema.parse(missingValue));
3608
+ }
3609
+ export function missingValueFromJSON(jsonString) {
3610
+ return safeParse(jsonString, (x) => MissingValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MissingValue' from JSON`);
3611
+ }
3612
+ /** @internal */
3221
3613
  export const Missing1$inboundSchema = z.object({
3222
3614
  type: MissingType$inboundSchema,
3223
- value: z.string(),
3615
+ value: z.union([
3616
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
3617
+ z.string(),
3618
+ ]),
3224
3619
  });
3225
3620
  /** @internal */
3226
3621
  export const Missing1$outboundSchema = z.object({
3227
3622
  type: MissingType$outboundSchema,
3228
- value: z.string(),
3623
+ value: z.union([
3624
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
3625
+ z.string(),
3626
+ ]),
3229
3627
  });
3230
3628
  /**
3231
3629
  * @internal
@@ -3272,6 +3670,46 @@ export function routesMissingFromJSON(jsonString) {
3272
3670
  return safeParse(jsonString, (x) => RoutesMissing$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RoutesMissing' from JSON`);
3273
3671
  }
3274
3672
  /** @internal */
3673
+ export const RoutesAction$inboundSchema = z.nativeEnum(RoutesAction);
3674
+ /** @internal */
3675
+ export const RoutesAction$outboundSchema = RoutesAction$inboundSchema;
3676
+ /**
3677
+ * @internal
3678
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3679
+ */
3680
+ export var RoutesAction$;
3681
+ (function (RoutesAction$) {
3682
+ /** @deprecated use `RoutesAction$inboundSchema` instead. */
3683
+ RoutesAction$.inboundSchema = RoutesAction$inboundSchema;
3684
+ /** @deprecated use `RoutesAction$outboundSchema` instead. */
3685
+ RoutesAction$.outboundSchema = RoutesAction$outboundSchema;
3686
+ })(RoutesAction$ || (RoutesAction$ = {}));
3687
+ /** @internal */
3688
+ export const RoutesMitigate$inboundSchema = z.object({
3689
+ action: RoutesAction$inboundSchema,
3690
+ });
3691
+ /** @internal */
3692
+ export const RoutesMitigate$outboundSchema = z.object({
3693
+ action: RoutesAction$outboundSchema,
3694
+ });
3695
+ /**
3696
+ * @internal
3697
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3698
+ */
3699
+ export var RoutesMitigate$;
3700
+ (function (RoutesMitigate$) {
3701
+ /** @deprecated use `RoutesMitigate$inboundSchema` instead. */
3702
+ RoutesMitigate$.inboundSchema = RoutesMitigate$inboundSchema;
3703
+ /** @deprecated use `RoutesMitigate$outboundSchema` instead. */
3704
+ RoutesMitigate$.outboundSchema = RoutesMitigate$outboundSchema;
3705
+ })(RoutesMitigate$ || (RoutesMitigate$ = {}));
3706
+ export function routesMitigateToJSON(routesMitigate) {
3707
+ return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
3708
+ }
3709
+ export function routesMitigateFromJSON(jsonString) {
3710
+ return safeParse(jsonString, (x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RoutesMitigate' from JSON`);
3711
+ }
3712
+ /** @internal */
3275
3713
  export const Locale$inboundSchema = z
3276
3714
  .object({
3277
3715
  redirect: z.record(z.string()).optional(),
@@ -3319,6 +3757,7 @@ export const Routes1$inboundSchema = z.object({
3319
3757
  z.lazy(() => Missing1$inboundSchema),
3320
3758
  z.lazy(() => Missing2$inboundSchema),
3321
3759
  ])).optional(),
3760
+ mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
3322
3761
  locale: z.lazy(() => Locale$inboundSchema).optional(),
3323
3762
  middlewarePath: z.string().optional(),
3324
3763
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -3344,6 +3783,7 @@ export const Routes1$outboundSchema = z.object({
3344
3783
  z.lazy(() => Missing1$outboundSchema),
3345
3784
  z.lazy(() => Missing2$outboundSchema),
3346
3785
  ])).optional(),
3786
+ mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
3347
3787
  locale: z.lazy(() => Locale$outboundSchema).optional(),
3348
3788
  middlewarePath: z.string().optional(),
3349
3789
  middlewareRawSrc: z.array(z.string()).optional(),