@vercel/sdk 1.10.1 → 1.10.2

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 (93) hide show
  1. package/bin/mcp-server.js +816 -1951
  2. package/bin/mcp-server.js.map +22 -22
  3. package/esm/__tests__/teams.test.js +2 -2
  4. package/esm/__tests__/teams.test.js.map +1 -1
  5. package/esm/funcs/domainsBuyDomain.js +2 -2
  6. package/esm/funcs/domainsBuyDomain.js.map +1 -1
  7. package/esm/funcs/domainsPatchDomain.js +2 -2
  8. package/esm/funcs/domainsPatchDomain.js.map +1 -1
  9. package/esm/lib/config.d.ts +3 -3
  10. package/esm/lib/config.js +3 -3
  11. package/esm/mcp-server/mcp-server.js +1 -1
  12. package/esm/mcp-server/server.js +1 -1
  13. package/esm/models/canceldeploymentop.d.ts +49 -49
  14. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  15. package/esm/models/canceldeploymentop.js +53 -55
  16. package/esm/models/canceldeploymentop.js.map +1 -1
  17. package/esm/models/createdeploymentop.d.ts +139 -139
  18. package/esm/models/createdeploymentop.d.ts.map +1 -1
  19. package/esm/models/createdeploymentop.js +153 -152
  20. package/esm/models/createdeploymentop.js.map +1 -1
  21. package/esm/models/createprojectenvop.d.ts +6 -6
  22. package/esm/models/createprojectenvop.js +2 -2
  23. package/esm/models/createprojectenvop.js.map +1 -1
  24. package/esm/models/createprojectop.d.ts +189 -741
  25. package/esm/models/createprojectop.d.ts.map +1 -1
  26. package/esm/models/createprojectop.js +179 -678
  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/getdeploymentop.d.ts +90 -90
  35. package/esm/models/getdeploymentop.d.ts.map +1 -1
  36. package/esm/models/getdeploymentop.js +101 -102
  37. package/esm/models/getdeploymentop.js.map +1 -1
  38. package/esm/models/getfirewallconfigop.d.ts +3 -0
  39. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  40. package/esm/models/getfirewallconfigop.js +1 -0
  41. package/esm/models/getfirewallconfigop.js.map +1 -1
  42. package/esm/models/getprojectsop.d.ts +33 -585
  43. package/esm/models/getprojectsop.d.ts.map +1 -1
  44. package/esm/models/getprojectsop.js +31 -530
  45. package/esm/models/getprojectsop.js.map +1 -1
  46. package/esm/models/putfirewallconfigop.d.ts +3 -0
  47. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  48. package/esm/models/putfirewallconfigop.js +1 -0
  49. package/esm/models/putfirewallconfigop.js.map +1 -1
  50. package/esm/models/removeprojectenvop.d.ts +9 -9
  51. package/esm/models/removeprojectenvop.js +3 -3
  52. package/esm/models/removeprojectenvop.js.map +1 -1
  53. package/esm/models/team.d.ts +13 -10
  54. package/esm/models/team.d.ts.map +1 -1
  55. package/esm/models/team.js +6 -5
  56. package/esm/models/team.js.map +1 -1
  57. package/esm/models/updateprojectdatacacheop.d.ts +41 -593
  58. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  59. package/esm/models/updateprojectdatacacheop.js +43 -561
  60. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  61. package/esm/models/updateprojectop.d.ts +33 -585
  62. package/esm/models/updateprojectop.d.ts.map +1 -1
  63. package/esm/models/updateprojectop.js +31 -530
  64. package/esm/models/updateprojectop.js.map +1 -1
  65. package/esm/models/userevent.d.ts +154 -124
  66. package/esm/models/userevent.d.ts.map +1 -1
  67. package/esm/models/userevent.js +166 -135
  68. package/esm/models/userevent.js.map +1 -1
  69. package/examples/package-lock.json +1 -1
  70. package/jsr.json +1 -1
  71. package/package.json +1 -1
  72. package/src/__tests__/teams.test.ts +2 -2
  73. package/src/funcs/domainsBuyDomain.ts +2 -2
  74. package/src/funcs/domainsPatchDomain.ts +2 -2
  75. package/src/lib/config.ts +3 -3
  76. package/src/mcp-server/mcp-server.ts +1 -1
  77. package/src/mcp-server/server.ts +1 -1
  78. package/src/models/canceldeploymentop.ts +78 -104
  79. package/src/models/createdeploymentop.ts +332 -335
  80. package/src/models/createprojectenvop.ts +2 -2
  81. package/src/models/createprojectop.ts +448 -1472
  82. package/src/models/editprojectenvop.ts +1 -1
  83. package/src/models/filterprojectenvsop.ts +3 -3
  84. package/src/models/getdeploymentop.ts +214 -216
  85. package/src/models/getfirewallconfigop.ts +1 -0
  86. package/src/models/getprojectsop.ts +202 -1207
  87. package/src/models/putfirewallconfigop.ts +1 -0
  88. package/src/models/removeprojectenvop.ts +3 -3
  89. package/src/models/team.ts +13 -12
  90. package/src/models/updateprojectdatacacheop.ts +171 -1168
  91. package/src/models/updateprojectop.ts +197 -1221
  92. package/src/models/userevent.ts +309 -236
  93. package/vercel-spec.json +429 -1834
@@ -1300,7 +1300,7 @@ export type Routes3 = {
1300
1300
  middleware: number;
1301
1301
  };
1302
1302
 
1303
- export const RoutesHandle = {
1303
+ export const Handle = {
1304
1304
  Filesystem: "filesystem",
1305
1305
  Error: "error",
1306
1306
  Hit: "hit",
@@ -1308,10 +1308,10 @@ export const RoutesHandle = {
1308
1308
  Resource: "resource",
1309
1309
  Rewrite: "rewrite",
1310
1310
  } as const;
1311
- export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
1311
+ export type Handle = ClosedEnum<typeof Handle>;
1312
1312
 
1313
1313
  export type Routes2 = {
1314
- handle: RoutesHandle;
1314
+ handle: Handle;
1315
1315
  src?: string | undefined;
1316
1316
  dest?: string | undefined;
1317
1317
  status?: number | undefined;
@@ -1328,7 +1328,7 @@ export type CreateDeploymentHasType = ClosedEnum<
1328
1328
 
1329
1329
  export type ValueEq = string | number;
1330
1330
 
1331
- export type CreateDeploymentValueDeployments2 = {
1331
+ export type CreateDeploymentValue2 = {
1332
1332
  eq?: string | number | undefined;
1333
1333
  neq?: string | undefined;
1334
1334
  inc?: Array<string> | undefined;
@@ -1342,14 +1342,12 @@ export type CreateDeploymentValueDeployments2 = {
1342
1342
  lte?: number | undefined;
1343
1343
  };
1344
1344
 
1345
- export type CreateDeploymentHasValue =
1346
- | CreateDeploymentValueDeployments2
1347
- | string;
1345
+ export type HasValue = CreateDeploymentValue2 | string;
1348
1346
 
1349
1347
  export type Has2 = {
1350
1348
  type: CreateDeploymentHasType;
1351
1349
  key: string;
1352
- value?: CreateDeploymentValueDeployments2 | string | undefined;
1350
+ value?: CreateDeploymentValue2 | string | undefined;
1353
1351
  };
1354
1352
 
1355
1353
  export const HasType = {
@@ -1359,7 +1357,7 @@ export type HasType = ClosedEnum<typeof HasType>;
1359
1357
 
1360
1358
  export type Eq = string | number;
1361
1359
 
1362
- export type CreateDeploymentValue2 = {
1360
+ export type CreateDeploymentValueDeploymentsResponse2002 = {
1363
1361
  eq?: string | number | undefined;
1364
1362
  neq?: string | undefined;
1365
1363
  inc?: Array<string> | undefined;
@@ -1373,14 +1371,16 @@ export type CreateDeploymentValue2 = {
1373
1371
  lte?: number | undefined;
1374
1372
  };
1375
1373
 
1376
- export type HasValue = CreateDeploymentValue2 | string;
1374
+ export type CreateDeploymentHasValue =
1375
+ | CreateDeploymentValueDeploymentsResponse2002
1376
+ | string;
1377
1377
 
1378
1378
  export type Has1 = {
1379
1379
  type: HasType;
1380
- value: CreateDeploymentValue2 | string;
1380
+ value: CreateDeploymentValueDeploymentsResponse2002 | string;
1381
1381
  };
1382
1382
 
1383
- export type RoutesHas = Has1 | Has2;
1383
+ export type Has = Has1 | Has2;
1384
1384
 
1385
1385
  export const CreateDeploymentMissingType = {
1386
1386
  Header: "header",
@@ -1393,7 +1393,7 @@ export type CreateDeploymentMissingType = ClosedEnum<
1393
1393
 
1394
1394
  export type CreateDeploymentValueDeploymentsEq = string | number;
1395
1395
 
1396
- export type CreateDeploymentValueDeploymentsResponse2002 = {
1396
+ export type CreateDeploymentValueDeploymentsResponse2 = {
1397
1397
  eq?: string | number | undefined;
1398
1398
  neq?: string | undefined;
1399
1399
  inc?: Array<string> | undefined;
@@ -1408,13 +1408,13 @@ export type CreateDeploymentValueDeploymentsResponse2002 = {
1408
1408
  };
1409
1409
 
1410
1410
  export type CreateDeploymentMissingValue =
1411
- | CreateDeploymentValueDeploymentsResponse2002
1411
+ | CreateDeploymentValueDeploymentsResponse2
1412
1412
  | string;
1413
1413
 
1414
1414
  export type Missing2 = {
1415
1415
  type: CreateDeploymentMissingType;
1416
1416
  key: string;
1417
- value?: CreateDeploymentValueDeploymentsResponse2002 | string | undefined;
1417
+ value?: CreateDeploymentValueDeploymentsResponse2 | string | undefined;
1418
1418
  };
1419
1419
 
1420
1420
  export const MissingType = {
@@ -1424,7 +1424,7 @@ export type MissingType = ClosedEnum<typeof MissingType>;
1424
1424
 
1425
1425
  export type CreateDeploymentValueEq = string | number;
1426
1426
 
1427
- export type CreateDeploymentValueDeploymentsResponse2 = {
1427
+ export type CreateDeploymentValueDeployments2 = {
1428
1428
  eq?: string | number | undefined;
1429
1429
  neq?: string | undefined;
1430
1430
  inc?: Array<string> | undefined;
@@ -1438,14 +1438,14 @@ export type CreateDeploymentValueDeploymentsResponse2 = {
1438
1438
  lte?: number | undefined;
1439
1439
  };
1440
1440
 
1441
- export type MissingValue = CreateDeploymentValueDeploymentsResponse2 | string;
1441
+ export type MissingValue = CreateDeploymentValueDeployments2 | string;
1442
1442
 
1443
1443
  export type Missing1 = {
1444
1444
  type: MissingType;
1445
- value: CreateDeploymentValueDeploymentsResponse2 | string;
1445
+ value: CreateDeploymentValueDeployments2 | string;
1446
1446
  };
1447
1447
 
1448
- export type RoutesMissing = Missing1 | Missing2;
1448
+ export type Missing = Missing1 | Missing2;
1449
1449
 
1450
1450
  export const RoutesAction = {
1451
1451
  Challenge: "challenge",
@@ -1453,7 +1453,7 @@ export const RoutesAction = {
1453
1453
  } as const;
1454
1454
  export type RoutesAction = ClosedEnum<typeof RoutesAction>;
1455
1455
 
1456
- export type RoutesMitigate = {
1456
+ export type CreateDeploymentRoutesMitigate = {
1457
1457
  action: RoutesAction;
1458
1458
  };
1459
1459
 
@@ -1521,7 +1521,7 @@ export type Routes1 = {
1521
1521
  status?: number | undefined;
1522
1522
  has?: Array<Has1 | Has2> | undefined;
1523
1523
  missing?: Array<Missing1 | Missing2> | undefined;
1524
- mitigate?: RoutesMitigate | undefined;
1524
+ mitigate?: CreateDeploymentRoutesMitigate | undefined;
1525
1525
  transforms?: Array<Transforms> | undefined;
1526
1526
  locale?: Locale | undefined;
1527
1527
  /**
@@ -7067,28 +7067,28 @@ export function routes3FromJSON(
7067
7067
  }
7068
7068
 
7069
7069
  /** @internal */
7070
- export const RoutesHandle$inboundSchema: z.ZodNativeEnum<typeof RoutesHandle> =
7071
- z.nativeEnum(RoutesHandle);
7070
+ export const Handle$inboundSchema: z.ZodNativeEnum<typeof Handle> = z
7071
+ .nativeEnum(Handle);
7072
7072
 
7073
7073
  /** @internal */
7074
- export const RoutesHandle$outboundSchema: z.ZodNativeEnum<typeof RoutesHandle> =
7075
- RoutesHandle$inboundSchema;
7074
+ export const Handle$outboundSchema: z.ZodNativeEnum<typeof Handle> =
7075
+ Handle$inboundSchema;
7076
7076
 
7077
7077
  /**
7078
7078
  * @internal
7079
7079
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7080
7080
  */
7081
- export namespace RoutesHandle$ {
7082
- /** @deprecated use `RoutesHandle$inboundSchema` instead. */
7083
- export const inboundSchema = RoutesHandle$inboundSchema;
7084
- /** @deprecated use `RoutesHandle$outboundSchema` instead. */
7085
- export const outboundSchema = RoutesHandle$outboundSchema;
7081
+ export namespace Handle$ {
7082
+ /** @deprecated use `Handle$inboundSchema` instead. */
7083
+ export const inboundSchema = Handle$inboundSchema;
7084
+ /** @deprecated use `Handle$outboundSchema` instead. */
7085
+ export const outboundSchema = Handle$outboundSchema;
7086
7086
  }
7087
7087
 
7088
7088
  /** @internal */
7089
7089
  export const Routes2$inboundSchema: z.ZodType<Routes2, z.ZodTypeDef, unknown> =
7090
7090
  z.object({
7091
- handle: RoutesHandle$inboundSchema,
7091
+ handle: Handle$inboundSchema,
7092
7092
  src: z.string().optional(),
7093
7093
  dest: z.string().optional(),
7094
7094
  status: z.number().optional(),
@@ -7108,7 +7108,7 @@ export const Routes2$outboundSchema: z.ZodType<
7108
7108
  z.ZodTypeDef,
7109
7109
  Routes2
7110
7110
  > = z.object({
7111
- handle: RoutesHandle$outboundSchema,
7111
+ handle: Handle$outboundSchema,
7112
7112
  src: z.string().optional(),
7113
7113
  dest: z.string().optional(),
7114
7114
  status: z.number().optional(),
@@ -7204,8 +7204,8 @@ export function valueEqFromJSON(
7204
7204
  }
7205
7205
 
7206
7206
  /** @internal */
7207
- export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
7208
- CreateDeploymentValueDeployments2,
7207
+ export const CreateDeploymentValue2$inboundSchema: z.ZodType<
7208
+ CreateDeploymentValue2,
7209
7209
  z.ZodTypeDef,
7210
7210
  unknown
7211
7211
  > = z.object({
@@ -7223,7 +7223,7 @@ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
7223
7223
  });
7224
7224
 
7225
7225
  /** @internal */
7226
- export type CreateDeploymentValueDeployments2$Outbound = {
7226
+ export type CreateDeploymentValue2$Outbound = {
7227
7227
  eq?: string | number | undefined;
7228
7228
  neq?: string | undefined;
7229
7229
  inc?: Array<string> | undefined;
@@ -7238,10 +7238,10 @@ export type CreateDeploymentValueDeployments2$Outbound = {
7238
7238
  };
7239
7239
 
7240
7240
  /** @internal */
7241
- export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
7242
- CreateDeploymentValueDeployments2$Outbound,
7241
+ export const CreateDeploymentValue2$outboundSchema: z.ZodType<
7242
+ CreateDeploymentValue2$Outbound,
7243
7243
  z.ZodTypeDef,
7244
- CreateDeploymentValueDeployments2
7244
+ CreateDeploymentValue2
7245
7245
  > = z.object({
7246
7246
  eq: z.union([z.string(), z.number()]).optional(),
7247
7247
  neq: z.string().optional(),
@@ -7260,89 +7260,74 @@ export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
7260
7260
  * @internal
7261
7261
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7262
7262
  */
7263
- export namespace CreateDeploymentValueDeployments2$ {
7264
- /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
7265
- export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
7266
- /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
7267
- export const outboundSchema =
7268
- CreateDeploymentValueDeployments2$outboundSchema;
7269
- /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
7270
- export type Outbound = CreateDeploymentValueDeployments2$Outbound;
7263
+ export namespace CreateDeploymentValue2$ {
7264
+ /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
7265
+ export const inboundSchema = CreateDeploymentValue2$inboundSchema;
7266
+ /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
7267
+ export const outboundSchema = CreateDeploymentValue2$outboundSchema;
7268
+ /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
7269
+ export type Outbound = CreateDeploymentValue2$Outbound;
7271
7270
  }
7272
7271
 
7273
- export function createDeploymentValueDeployments2ToJSON(
7274
- createDeploymentValueDeployments2: CreateDeploymentValueDeployments2,
7272
+ export function createDeploymentValue2ToJSON(
7273
+ createDeploymentValue2: CreateDeploymentValue2,
7275
7274
  ): string {
7276
7275
  return JSON.stringify(
7277
- CreateDeploymentValueDeployments2$outboundSchema.parse(
7278
- createDeploymentValueDeployments2,
7279
- ),
7276
+ CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2),
7280
7277
  );
7281
7278
  }
7282
7279
 
7283
- export function createDeploymentValueDeployments2FromJSON(
7280
+ export function createDeploymentValue2FromJSON(
7284
7281
  jsonString: string,
7285
- ): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError> {
7282
+ ): SafeParseResult<CreateDeploymentValue2, SDKValidationError> {
7286
7283
  return safeParse(
7287
7284
  jsonString,
7288
- (x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
7289
- `Failed to parse 'CreateDeploymentValueDeployments2' from JSON`,
7285
+ (x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
7286
+ `Failed to parse 'CreateDeploymentValue2' from JSON`,
7290
7287
  );
7291
7288
  }
7292
7289
 
7293
7290
  /** @internal */
7294
- export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
7295
- CreateDeploymentHasValue,
7291
+ export const HasValue$inboundSchema: z.ZodType<
7292
+ HasValue,
7296
7293
  z.ZodTypeDef,
7297
7294
  unknown
7298
- > = z.union([
7299
- z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
7300
- z.string(),
7301
- ]);
7295
+ > = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
7302
7296
 
7303
7297
  /** @internal */
7304
- export type CreateDeploymentHasValue$Outbound =
7305
- | CreateDeploymentValueDeployments2$Outbound
7306
- | string;
7298
+ export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
7307
7299
 
7308
7300
  /** @internal */
7309
- export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
7310
- CreateDeploymentHasValue$Outbound,
7301
+ export const HasValue$outboundSchema: z.ZodType<
7302
+ HasValue$Outbound,
7311
7303
  z.ZodTypeDef,
7312
- CreateDeploymentHasValue
7313
- > = z.union([
7314
- z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
7315
- z.string(),
7316
- ]);
7304
+ HasValue
7305
+ > = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
7317
7306
 
7318
7307
  /**
7319
7308
  * @internal
7320
7309
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7321
7310
  */
7322
- export namespace CreateDeploymentHasValue$ {
7323
- /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
7324
- export const inboundSchema = CreateDeploymentHasValue$inboundSchema;
7325
- /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
7326
- export const outboundSchema = CreateDeploymentHasValue$outboundSchema;
7327
- /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
7328
- export type Outbound = CreateDeploymentHasValue$Outbound;
7311
+ export namespace HasValue$ {
7312
+ /** @deprecated use `HasValue$inboundSchema` instead. */
7313
+ export const inboundSchema = HasValue$inboundSchema;
7314
+ /** @deprecated use `HasValue$outboundSchema` instead. */
7315
+ export const outboundSchema = HasValue$outboundSchema;
7316
+ /** @deprecated use `HasValue$Outbound` instead. */
7317
+ export type Outbound = HasValue$Outbound;
7329
7318
  }
7330
7319
 
7331
- export function createDeploymentHasValueToJSON(
7332
- createDeploymentHasValue: CreateDeploymentHasValue,
7333
- ): string {
7334
- return JSON.stringify(
7335
- CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue),
7336
- );
7320
+ export function hasValueToJSON(hasValue: HasValue): string {
7321
+ return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
7337
7322
  }
7338
7323
 
7339
- export function createDeploymentHasValueFromJSON(
7324
+ export function hasValueFromJSON(
7340
7325
  jsonString: string,
7341
- ): SafeParseResult<CreateDeploymentHasValue, SDKValidationError> {
7326
+ ): SafeParseResult<HasValue, SDKValidationError> {
7342
7327
  return safeParse(
7343
7328
  jsonString,
7344
- (x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
7345
- `Failed to parse 'CreateDeploymentHasValue' from JSON`,
7329
+ (x) => HasValue$inboundSchema.parse(JSON.parse(x)),
7330
+ `Failed to parse 'HasValue' from JSON`,
7346
7331
  );
7347
7332
  }
7348
7333
 
@@ -7352,7 +7337,7 @@ export const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown> = z
7352
7337
  type: CreateDeploymentHasType$inboundSchema,
7353
7338
  key: z.string(),
7354
7339
  value: z.union([
7355
- z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
7340
+ z.lazy(() => CreateDeploymentValue2$inboundSchema),
7356
7341
  z.string(),
7357
7342
  ]).optional(),
7358
7343
  });
@@ -7361,7 +7346,7 @@ export const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown> = z
7361
7346
  export type Has2$Outbound = {
7362
7347
  type: string;
7363
7348
  key: string;
7364
- value?: CreateDeploymentValueDeployments2$Outbound | string | undefined;
7349
+ value?: CreateDeploymentValue2$Outbound | string | undefined;
7365
7350
  };
7366
7351
 
7367
7352
  /** @internal */
@@ -7370,7 +7355,7 @@ export const Has2$outboundSchema: z.ZodType<Has2$Outbound, z.ZodTypeDef, Has2> =
7370
7355
  type: CreateDeploymentHasType$outboundSchema,
7371
7356
  key: z.string(),
7372
7357
  value: z.union([
7373
- z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
7358
+ z.lazy(() => CreateDeploymentValue2$outboundSchema),
7374
7359
  z.string(),
7375
7360
  ]).optional(),
7376
7361
  });
@@ -7462,26 +7447,27 @@ export function eqFromJSON(
7462
7447
  }
7463
7448
 
7464
7449
  /** @internal */
7465
- export const CreateDeploymentValue2$inboundSchema: z.ZodType<
7466
- CreateDeploymentValue2,
7467
- z.ZodTypeDef,
7468
- unknown
7469
- > = z.object({
7470
- eq: z.union([z.string(), z.number()]).optional(),
7471
- neq: z.string().optional(),
7472
- inc: z.array(z.string()).optional(),
7473
- ninc: z.array(z.string()).optional(),
7474
- pre: z.string().optional(),
7475
- suf: z.string().optional(),
7476
- re: z.string().optional(),
7477
- gt: z.number().optional(),
7478
- gte: z.number().optional(),
7479
- lt: z.number().optional(),
7480
- lte: z.number().optional(),
7481
- });
7450
+ export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema:
7451
+ z.ZodType<
7452
+ CreateDeploymentValueDeploymentsResponse2002,
7453
+ z.ZodTypeDef,
7454
+ unknown
7455
+ > = z.object({
7456
+ eq: z.union([z.string(), z.number()]).optional(),
7457
+ neq: z.string().optional(),
7458
+ inc: z.array(z.string()).optional(),
7459
+ ninc: z.array(z.string()).optional(),
7460
+ pre: z.string().optional(),
7461
+ suf: z.string().optional(),
7462
+ re: z.string().optional(),
7463
+ gt: z.number().optional(),
7464
+ gte: z.number().optional(),
7465
+ lt: z.number().optional(),
7466
+ lte: z.number().optional(),
7467
+ });
7482
7468
 
7483
7469
  /** @internal */
7484
- export type CreateDeploymentValue2$Outbound = {
7470
+ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
7485
7471
  eq?: string | number | undefined;
7486
7472
  neq?: string | undefined;
7487
7473
  inc?: Array<string> | undefined;
@@ -7496,96 +7482,120 @@ export type CreateDeploymentValue2$Outbound = {
7496
7482
  };
7497
7483
 
7498
7484
  /** @internal */
7499
- export const CreateDeploymentValue2$outboundSchema: z.ZodType<
7500
- CreateDeploymentValue2$Outbound,
7501
- z.ZodTypeDef,
7502
- CreateDeploymentValue2
7503
- > = z.object({
7504
- eq: z.union([z.string(), z.number()]).optional(),
7505
- neq: z.string().optional(),
7506
- inc: z.array(z.string()).optional(),
7507
- ninc: z.array(z.string()).optional(),
7508
- pre: z.string().optional(),
7509
- suf: z.string().optional(),
7510
- re: z.string().optional(),
7511
- gt: z.number().optional(),
7512
- gte: z.number().optional(),
7513
- lt: z.number().optional(),
7514
- lte: z.number().optional(),
7515
- });
7485
+ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7486
+ z.ZodType<
7487
+ CreateDeploymentValueDeploymentsResponse2002$Outbound,
7488
+ z.ZodTypeDef,
7489
+ CreateDeploymentValueDeploymentsResponse2002
7490
+ > = z.object({
7491
+ eq: z.union([z.string(), z.number()]).optional(),
7492
+ neq: z.string().optional(),
7493
+ inc: z.array(z.string()).optional(),
7494
+ ninc: z.array(z.string()).optional(),
7495
+ pre: z.string().optional(),
7496
+ suf: z.string().optional(),
7497
+ re: z.string().optional(),
7498
+ gt: z.number().optional(),
7499
+ gte: z.number().optional(),
7500
+ lt: z.number().optional(),
7501
+ lte: z.number().optional(),
7502
+ });
7516
7503
 
7517
7504
  /**
7518
7505
  * @internal
7519
7506
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7520
7507
  */
7521
- export namespace CreateDeploymentValue2$ {
7522
- /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
7523
- export const inboundSchema = CreateDeploymentValue2$inboundSchema;
7524
- /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
7525
- export const outboundSchema = CreateDeploymentValue2$outboundSchema;
7526
- /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
7527
- export type Outbound = CreateDeploymentValue2$Outbound;
7508
+ export namespace CreateDeploymentValueDeploymentsResponse2002$ {
7509
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
7510
+ export const inboundSchema =
7511
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
7512
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
7513
+ export const outboundSchema =
7514
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
7515
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
7516
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
7528
7517
  }
7529
7518
 
7530
- export function createDeploymentValue2ToJSON(
7531
- createDeploymentValue2: CreateDeploymentValue2,
7519
+ export function createDeploymentValueDeploymentsResponse2002ToJSON(
7520
+ createDeploymentValueDeploymentsResponse2002:
7521
+ CreateDeploymentValueDeploymentsResponse2002,
7532
7522
  ): string {
7533
7523
  return JSON.stringify(
7534
- CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2),
7524
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
7525
+ createDeploymentValueDeploymentsResponse2002,
7526
+ ),
7535
7527
  );
7536
7528
  }
7537
7529
 
7538
- export function createDeploymentValue2FromJSON(
7530
+ export function createDeploymentValueDeploymentsResponse2002FromJSON(
7539
7531
  jsonString: string,
7540
- ): SafeParseResult<CreateDeploymentValue2, SDKValidationError> {
7532
+ ): SafeParseResult<
7533
+ CreateDeploymentValueDeploymentsResponse2002,
7534
+ SDKValidationError
7535
+ > {
7541
7536
  return safeParse(
7542
7537
  jsonString,
7543
- (x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
7544
- `Failed to parse 'CreateDeploymentValue2' from JSON`,
7538
+ (x) =>
7539
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
7540
+ JSON.parse(x),
7541
+ ),
7542
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`,
7545
7543
  );
7546
7544
  }
7547
7545
 
7548
7546
  /** @internal */
7549
- export const HasValue$inboundSchema: z.ZodType<
7550
- HasValue,
7547
+ export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
7548
+ CreateDeploymentHasValue,
7551
7549
  z.ZodTypeDef,
7552
7550
  unknown
7553
- > = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
7551
+ > = z.union([
7552
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7553
+ z.string(),
7554
+ ]);
7554
7555
 
7555
7556
  /** @internal */
7556
- export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
7557
+ export type CreateDeploymentHasValue$Outbound =
7558
+ | CreateDeploymentValueDeploymentsResponse2002$Outbound
7559
+ | string;
7557
7560
 
7558
7561
  /** @internal */
7559
- export const HasValue$outboundSchema: z.ZodType<
7560
- HasValue$Outbound,
7562
+ export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
7563
+ CreateDeploymentHasValue$Outbound,
7561
7564
  z.ZodTypeDef,
7562
- HasValue
7563
- > = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
7565
+ CreateDeploymentHasValue
7566
+ > = z.union([
7567
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7568
+ z.string(),
7569
+ ]);
7564
7570
 
7565
7571
  /**
7566
7572
  * @internal
7567
7573
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7568
7574
  */
7569
- export namespace HasValue$ {
7570
- /** @deprecated use `HasValue$inboundSchema` instead. */
7571
- export const inboundSchema = HasValue$inboundSchema;
7572
- /** @deprecated use `HasValue$outboundSchema` instead. */
7573
- export const outboundSchema = HasValue$outboundSchema;
7574
- /** @deprecated use `HasValue$Outbound` instead. */
7575
- export type Outbound = HasValue$Outbound;
7575
+ export namespace CreateDeploymentHasValue$ {
7576
+ /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
7577
+ export const inboundSchema = CreateDeploymentHasValue$inboundSchema;
7578
+ /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
7579
+ export const outboundSchema = CreateDeploymentHasValue$outboundSchema;
7580
+ /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
7581
+ export type Outbound = CreateDeploymentHasValue$Outbound;
7576
7582
  }
7577
7583
 
7578
- export function hasValueToJSON(hasValue: HasValue): string {
7579
- return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
7584
+ export function createDeploymentHasValueToJSON(
7585
+ createDeploymentHasValue: CreateDeploymentHasValue,
7586
+ ): string {
7587
+ return JSON.stringify(
7588
+ CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue),
7589
+ );
7580
7590
  }
7581
7591
 
7582
- export function hasValueFromJSON(
7592
+ export function createDeploymentHasValueFromJSON(
7583
7593
  jsonString: string,
7584
- ): SafeParseResult<HasValue, SDKValidationError> {
7594
+ ): SafeParseResult<CreateDeploymentHasValue, SDKValidationError> {
7585
7595
  return safeParse(
7586
7596
  jsonString,
7587
- (x) => HasValue$inboundSchema.parse(JSON.parse(x)),
7588
- `Failed to parse 'HasValue' from JSON`,
7597
+ (x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
7598
+ `Failed to parse 'CreateDeploymentHasValue' from JSON`,
7589
7599
  );
7590
7600
  }
7591
7601
 
@@ -7594,7 +7604,7 @@ export const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown> = z
7594
7604
  .object({
7595
7605
  type: HasType$inboundSchema,
7596
7606
  value: z.union([
7597
- z.lazy(() => CreateDeploymentValue2$inboundSchema),
7607
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7598
7608
  z.string(),
7599
7609
  ]),
7600
7610
  });
@@ -7602,7 +7612,7 @@ export const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown> = z
7602
7612
  /** @internal */
7603
7613
  export type Has1$Outbound = {
7604
7614
  type: string;
7605
- value: CreateDeploymentValue2$Outbound | string;
7615
+ value: CreateDeploymentValueDeploymentsResponse2002$Outbound | string;
7606
7616
  };
7607
7617
 
7608
7618
  /** @internal */
@@ -7610,7 +7620,7 @@ export const Has1$outboundSchema: z.ZodType<Has1$Outbound, z.ZodTypeDef, Has1> =
7610
7620
  z.object({
7611
7621
  type: HasType$outboundSchema,
7612
7622
  value: z.union([
7613
- z.lazy(() => CreateDeploymentValue2$outboundSchema),
7623
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7614
7624
  z.string(),
7615
7625
  ]),
7616
7626
  });
@@ -7643,52 +7653,44 @@ export function has1FromJSON(
7643
7653
  }
7644
7654
 
7645
7655
  /** @internal */
7646
- export const RoutesHas$inboundSchema: z.ZodType<
7647
- RoutesHas,
7648
- z.ZodTypeDef,
7649
- unknown
7650
- > = z.union([
7651
- z.lazy(() => Has1$inboundSchema),
7652
- z.lazy(() => Has2$inboundSchema),
7653
- ]);
7656
+ export const Has$inboundSchema: z.ZodType<Has, z.ZodTypeDef, unknown> = z.union(
7657
+ [z.lazy(() => Has1$inboundSchema), z.lazy(() => Has2$inboundSchema)],
7658
+ );
7654
7659
 
7655
7660
  /** @internal */
7656
- export type RoutesHas$Outbound = Has1$Outbound | Has2$Outbound;
7661
+ export type Has$Outbound = Has1$Outbound | Has2$Outbound;
7657
7662
 
7658
7663
  /** @internal */
7659
- export const RoutesHas$outboundSchema: z.ZodType<
7660
- RoutesHas$Outbound,
7661
- z.ZodTypeDef,
7662
- RoutesHas
7663
- > = z.union([
7664
- z.lazy(() => Has1$outboundSchema),
7665
- z.lazy(() => Has2$outboundSchema),
7666
- ]);
7664
+ export const Has$outboundSchema: z.ZodType<Has$Outbound, z.ZodTypeDef, Has> = z
7665
+ .union([
7666
+ z.lazy(() => Has1$outboundSchema),
7667
+ z.lazy(() => Has2$outboundSchema),
7668
+ ]);
7667
7669
 
7668
7670
  /**
7669
7671
  * @internal
7670
7672
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7671
7673
  */
7672
- export namespace RoutesHas$ {
7673
- /** @deprecated use `RoutesHas$inboundSchema` instead. */
7674
- export const inboundSchema = RoutesHas$inboundSchema;
7675
- /** @deprecated use `RoutesHas$outboundSchema` instead. */
7676
- export const outboundSchema = RoutesHas$outboundSchema;
7677
- /** @deprecated use `RoutesHas$Outbound` instead. */
7678
- export type Outbound = RoutesHas$Outbound;
7674
+ export namespace Has$ {
7675
+ /** @deprecated use `Has$inboundSchema` instead. */
7676
+ export const inboundSchema = Has$inboundSchema;
7677
+ /** @deprecated use `Has$outboundSchema` instead. */
7678
+ export const outboundSchema = Has$outboundSchema;
7679
+ /** @deprecated use `Has$Outbound` instead. */
7680
+ export type Outbound = Has$Outbound;
7679
7681
  }
7680
7682
 
7681
- export function routesHasToJSON(routesHas: RoutesHas): string {
7682
- return JSON.stringify(RoutesHas$outboundSchema.parse(routesHas));
7683
+ export function hasToJSON(has: Has): string {
7684
+ return JSON.stringify(Has$outboundSchema.parse(has));
7683
7685
  }
7684
7686
 
7685
- export function routesHasFromJSON(
7687
+ export function hasFromJSON(
7686
7688
  jsonString: string,
7687
- ): SafeParseResult<RoutesHas, SDKValidationError> {
7689
+ ): SafeParseResult<Has, SDKValidationError> {
7688
7690
  return safeParse(
7689
7691
  jsonString,
7690
- (x) => RoutesHas$inboundSchema.parse(JSON.parse(x)),
7691
- `Failed to parse 'RoutesHas' from JSON`,
7692
+ (x) => Has$inboundSchema.parse(JSON.parse(x)),
7693
+ `Failed to parse 'Has' from JSON`,
7692
7694
  );
7693
7695
  }
7694
7696
 
@@ -7766,27 +7768,26 @@ export function createDeploymentValueDeploymentsEqFromJSON(
7766
7768
  }
7767
7769
 
7768
7770
  /** @internal */
7769
- export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema:
7770
- z.ZodType<
7771
- CreateDeploymentValueDeploymentsResponse2002,
7772
- z.ZodTypeDef,
7773
- unknown
7774
- > = z.object({
7775
- eq: z.union([z.string(), z.number()]).optional(),
7776
- neq: z.string().optional(),
7777
- inc: z.array(z.string()).optional(),
7778
- ninc: z.array(z.string()).optional(),
7779
- pre: z.string().optional(),
7780
- suf: z.string().optional(),
7781
- re: z.string().optional(),
7782
- gt: z.number().optional(),
7783
- gte: z.number().optional(),
7784
- lt: z.number().optional(),
7785
- lte: z.number().optional(),
7786
- });
7771
+ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
7772
+ CreateDeploymentValueDeploymentsResponse2,
7773
+ z.ZodTypeDef,
7774
+ unknown
7775
+ > = z.object({
7776
+ eq: z.union([z.string(), z.number()]).optional(),
7777
+ neq: z.string().optional(),
7778
+ inc: z.array(z.string()).optional(),
7779
+ ninc: z.array(z.string()).optional(),
7780
+ pre: z.string().optional(),
7781
+ suf: z.string().optional(),
7782
+ re: z.string().optional(),
7783
+ gt: z.number().optional(),
7784
+ gte: z.number().optional(),
7785
+ lt: z.number().optional(),
7786
+ lte: z.number().optional(),
7787
+ });
7787
7788
 
7788
7789
  /** @internal */
7789
- export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
7790
+ export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
7790
7791
  eq?: string | number | undefined;
7791
7792
  neq?: string | undefined;
7792
7793
  inc?: Array<string> | undefined;
@@ -7801,11 +7802,11 @@ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
7801
7802
  };
7802
7803
 
7803
7804
  /** @internal */
7804
- export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7805
+ export const CreateDeploymentValueDeploymentsResponse2$outboundSchema:
7805
7806
  z.ZodType<
7806
- CreateDeploymentValueDeploymentsResponse2002$Outbound,
7807
+ CreateDeploymentValueDeploymentsResponse2$Outbound,
7807
7808
  z.ZodTypeDef,
7808
- CreateDeploymentValueDeploymentsResponse2002
7809
+ CreateDeploymentValueDeploymentsResponse2
7809
7810
  > = z.object({
7810
7811
  eq: z.union([z.string(), z.number()]).optional(),
7811
7812
  neq: z.string().optional(),
@@ -7824,41 +7825,41 @@ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7824
7825
  * @internal
7825
7826
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7826
7827
  */
7827
- export namespace CreateDeploymentValueDeploymentsResponse2002$ {
7828
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
7828
+ export namespace CreateDeploymentValueDeploymentsResponse2$ {
7829
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
7829
7830
  export const inboundSchema =
7830
- CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
7831
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
7831
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema;
7832
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
7832
7833
  export const outboundSchema =
7833
- CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
7834
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
7835
- export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
7834
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema;
7835
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
7836
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
7836
7837
  }
7837
7838
 
7838
- export function createDeploymentValueDeploymentsResponse2002ToJSON(
7839
- createDeploymentValueDeploymentsResponse2002:
7840
- CreateDeploymentValueDeploymentsResponse2002,
7839
+ export function createDeploymentValueDeploymentsResponse2ToJSON(
7840
+ createDeploymentValueDeploymentsResponse2:
7841
+ CreateDeploymentValueDeploymentsResponse2,
7841
7842
  ): string {
7842
7843
  return JSON.stringify(
7843
- CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
7844
- createDeploymentValueDeploymentsResponse2002,
7844
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(
7845
+ createDeploymentValueDeploymentsResponse2,
7845
7846
  ),
7846
7847
  );
7847
7848
  }
7848
7849
 
7849
- export function createDeploymentValueDeploymentsResponse2002FromJSON(
7850
+ export function createDeploymentValueDeploymentsResponse2FromJSON(
7850
7851
  jsonString: string,
7851
7852
  ): SafeParseResult<
7852
- CreateDeploymentValueDeploymentsResponse2002,
7853
+ CreateDeploymentValueDeploymentsResponse2,
7853
7854
  SDKValidationError
7854
7855
  > {
7855
7856
  return safeParse(
7856
7857
  jsonString,
7857
7858
  (x) =>
7858
- CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
7859
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(
7859
7860
  JSON.parse(x),
7860
7861
  ),
7861
- `Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`,
7862
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`,
7862
7863
  );
7863
7864
  }
7864
7865
 
@@ -7868,13 +7869,13 @@ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType<
7868
7869
  z.ZodTypeDef,
7869
7870
  unknown
7870
7871
  > = z.union([
7871
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7872
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7872
7873
  z.string(),
7873
7874
  ]);
7874
7875
 
7875
7876
  /** @internal */
7876
7877
  export type CreateDeploymentMissingValue$Outbound =
7877
- | CreateDeploymentValueDeploymentsResponse2002$Outbound
7878
+ | CreateDeploymentValueDeploymentsResponse2$Outbound
7878
7879
  | string;
7879
7880
 
7880
7881
  /** @internal */
@@ -7883,7 +7884,7 @@ export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
7883
7884
  z.ZodTypeDef,
7884
7885
  CreateDeploymentMissingValue
7885
7886
  > = z.union([
7886
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7887
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7887
7888
  z.string(),
7888
7889
  ]);
7889
7890
 
@@ -7929,7 +7930,7 @@ export const Missing2$inboundSchema: z.ZodType<
7929
7930
  type: CreateDeploymentMissingType$inboundSchema,
7930
7931
  key: z.string(),
7931
7932
  value: z.union([
7932
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7933
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7933
7934
  z.string(),
7934
7935
  ]).optional(),
7935
7936
  });
@@ -7939,7 +7940,7 @@ export type Missing2$Outbound = {
7939
7940
  type: string;
7940
7941
  key: string;
7941
7942
  value?:
7942
- | CreateDeploymentValueDeploymentsResponse2002$Outbound
7943
+ | CreateDeploymentValueDeploymentsResponse2$Outbound
7943
7944
  | string
7944
7945
  | undefined;
7945
7946
  };
@@ -7953,7 +7954,7 @@ export const Missing2$outboundSchema: z.ZodType<
7953
7954
  type: CreateDeploymentMissingType$outboundSchema,
7954
7955
  key: z.string(),
7955
7956
  value: z.union([
7956
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7957
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7957
7958
  z.string(),
7958
7959
  ]).optional(),
7959
7960
  });
@@ -8053,8 +8054,8 @@ export function createDeploymentValueEqFromJSON(
8053
8054
  }
8054
8055
 
8055
8056
  /** @internal */
8056
- export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
8057
- CreateDeploymentValueDeploymentsResponse2,
8057
+ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
8058
+ CreateDeploymentValueDeployments2,
8058
8059
  z.ZodTypeDef,
8059
8060
  unknown
8060
8061
  > = z.object({
@@ -8072,7 +8073,7 @@ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
8072
8073
  });
8073
8074
 
8074
8075
  /** @internal */
8075
- export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
8076
+ export type CreateDeploymentValueDeployments2$Outbound = {
8076
8077
  eq?: string | number | undefined;
8077
8078
  neq?: string | undefined;
8078
8079
  inc?: Array<string> | undefined;
@@ -8087,64 +8088,55 @@ export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
8087
8088
  };
8088
8089
 
8089
8090
  /** @internal */
8090
- export const CreateDeploymentValueDeploymentsResponse2$outboundSchema:
8091
- z.ZodType<
8092
- CreateDeploymentValueDeploymentsResponse2$Outbound,
8093
- z.ZodTypeDef,
8094
- CreateDeploymentValueDeploymentsResponse2
8095
- > = z.object({
8096
- eq: z.union([z.string(), z.number()]).optional(),
8097
- neq: z.string().optional(),
8098
- inc: z.array(z.string()).optional(),
8099
- ninc: z.array(z.string()).optional(),
8100
- pre: z.string().optional(),
8101
- suf: z.string().optional(),
8102
- re: z.string().optional(),
8103
- gt: z.number().optional(),
8104
- gte: z.number().optional(),
8105
- lt: z.number().optional(),
8106
- lte: z.number().optional(),
8107
- });
8091
+ export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
8092
+ CreateDeploymentValueDeployments2$Outbound,
8093
+ z.ZodTypeDef,
8094
+ CreateDeploymentValueDeployments2
8095
+ > = z.object({
8096
+ eq: z.union([z.string(), z.number()]).optional(),
8097
+ neq: z.string().optional(),
8098
+ inc: z.array(z.string()).optional(),
8099
+ ninc: z.array(z.string()).optional(),
8100
+ pre: z.string().optional(),
8101
+ suf: z.string().optional(),
8102
+ re: z.string().optional(),
8103
+ gt: z.number().optional(),
8104
+ gte: z.number().optional(),
8105
+ lt: z.number().optional(),
8106
+ lte: z.number().optional(),
8107
+ });
8108
8108
 
8109
8109
  /**
8110
8110
  * @internal
8111
8111
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8112
8112
  */
8113
- export namespace CreateDeploymentValueDeploymentsResponse2$ {
8114
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
8115
- export const inboundSchema =
8116
- CreateDeploymentValueDeploymentsResponse2$inboundSchema;
8117
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
8113
+ export namespace CreateDeploymentValueDeployments2$ {
8114
+ /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
8115
+ export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
8116
+ /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
8118
8117
  export const outboundSchema =
8119
- CreateDeploymentValueDeploymentsResponse2$outboundSchema;
8120
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
8121
- export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
8118
+ CreateDeploymentValueDeployments2$outboundSchema;
8119
+ /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
8120
+ export type Outbound = CreateDeploymentValueDeployments2$Outbound;
8122
8121
  }
8123
8122
 
8124
- export function createDeploymentValueDeploymentsResponse2ToJSON(
8125
- createDeploymentValueDeploymentsResponse2:
8126
- CreateDeploymentValueDeploymentsResponse2,
8123
+ export function createDeploymentValueDeployments2ToJSON(
8124
+ createDeploymentValueDeployments2: CreateDeploymentValueDeployments2,
8127
8125
  ): string {
8128
8126
  return JSON.stringify(
8129
- CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(
8130
- createDeploymentValueDeploymentsResponse2,
8127
+ CreateDeploymentValueDeployments2$outboundSchema.parse(
8128
+ createDeploymentValueDeployments2,
8131
8129
  ),
8132
8130
  );
8133
8131
  }
8134
8132
 
8135
- export function createDeploymentValueDeploymentsResponse2FromJSON(
8133
+ export function createDeploymentValueDeployments2FromJSON(
8136
8134
  jsonString: string,
8137
- ): SafeParseResult<
8138
- CreateDeploymentValueDeploymentsResponse2,
8139
- SDKValidationError
8140
- > {
8135
+ ): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError> {
8141
8136
  return safeParse(
8142
8137
  jsonString,
8143
- (x) =>
8144
- CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(
8145
- JSON.parse(x),
8146
- ),
8147
- `Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`,
8138
+ (x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
8139
+ `Failed to parse 'CreateDeploymentValueDeployments2' from JSON`,
8148
8140
  );
8149
8141
  }
8150
8142
 
@@ -8154,13 +8146,13 @@ export const MissingValue$inboundSchema: z.ZodType<
8154
8146
  z.ZodTypeDef,
8155
8147
  unknown
8156
8148
  > = z.union([
8157
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
8149
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
8158
8150
  z.string(),
8159
8151
  ]);
8160
8152
 
8161
8153
  /** @internal */
8162
8154
  export type MissingValue$Outbound =
8163
- | CreateDeploymentValueDeploymentsResponse2$Outbound
8155
+ | CreateDeploymentValueDeployments2$Outbound
8164
8156
  | string;
8165
8157
 
8166
8158
  /** @internal */
@@ -8169,7 +8161,7 @@ export const MissingValue$outboundSchema: z.ZodType<
8169
8161
  z.ZodTypeDef,
8170
8162
  MissingValue
8171
8163
  > = z.union([
8172
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
8164
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
8173
8165
  z.string(),
8174
8166
  ]);
8175
8167
 
@@ -8208,7 +8200,7 @@ export const Missing1$inboundSchema: z.ZodType<
8208
8200
  > = z.object({
8209
8201
  type: MissingType$inboundSchema,
8210
8202
  value: z.union([
8211
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
8203
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
8212
8204
  z.string(),
8213
8205
  ]),
8214
8206
  });
@@ -8216,7 +8208,7 @@ export const Missing1$inboundSchema: z.ZodType<
8216
8208
  /** @internal */
8217
8209
  export type Missing1$Outbound = {
8218
8210
  type: string;
8219
- value: CreateDeploymentValueDeploymentsResponse2$Outbound | string;
8211
+ value: CreateDeploymentValueDeployments2$Outbound | string;
8220
8212
  };
8221
8213
 
8222
8214
  /** @internal */
@@ -8227,7 +8219,7 @@ export const Missing1$outboundSchema: z.ZodType<
8227
8219
  > = z.object({
8228
8220
  type: MissingType$outboundSchema,
8229
8221
  value: z.union([
8230
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
8222
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
8231
8223
  z.string(),
8232
8224
  ]),
8233
8225
  });
@@ -8260,23 +8252,20 @@ export function missing1FromJSON(
8260
8252
  }
8261
8253
 
8262
8254
  /** @internal */
8263
- export const RoutesMissing$inboundSchema: z.ZodType<
8264
- RoutesMissing,
8265
- z.ZodTypeDef,
8266
- unknown
8267
- > = z.union([
8268
- z.lazy(() => Missing1$inboundSchema),
8269
- z.lazy(() => Missing2$inboundSchema),
8270
- ]);
8255
+ export const Missing$inboundSchema: z.ZodType<Missing, z.ZodTypeDef, unknown> =
8256
+ z.union([
8257
+ z.lazy(() => Missing1$inboundSchema),
8258
+ z.lazy(() => Missing2$inboundSchema),
8259
+ ]);
8271
8260
 
8272
8261
  /** @internal */
8273
- export type RoutesMissing$Outbound = Missing1$Outbound | Missing2$Outbound;
8262
+ export type Missing$Outbound = Missing1$Outbound | Missing2$Outbound;
8274
8263
 
8275
8264
  /** @internal */
8276
- export const RoutesMissing$outboundSchema: z.ZodType<
8277
- RoutesMissing$Outbound,
8265
+ export const Missing$outboundSchema: z.ZodType<
8266
+ Missing$Outbound,
8278
8267
  z.ZodTypeDef,
8279
- RoutesMissing
8268
+ Missing
8280
8269
  > = z.union([
8281
8270
  z.lazy(() => Missing1$outboundSchema),
8282
8271
  z.lazy(() => Missing2$outboundSchema),
@@ -8286,26 +8275,26 @@ export const RoutesMissing$outboundSchema: z.ZodType<
8286
8275
  * @internal
8287
8276
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8288
8277
  */
8289
- export namespace RoutesMissing$ {
8290
- /** @deprecated use `RoutesMissing$inboundSchema` instead. */
8291
- export const inboundSchema = RoutesMissing$inboundSchema;
8292
- /** @deprecated use `RoutesMissing$outboundSchema` instead. */
8293
- export const outboundSchema = RoutesMissing$outboundSchema;
8294
- /** @deprecated use `RoutesMissing$Outbound` instead. */
8295
- export type Outbound = RoutesMissing$Outbound;
8278
+ export namespace Missing$ {
8279
+ /** @deprecated use `Missing$inboundSchema` instead. */
8280
+ export const inboundSchema = Missing$inboundSchema;
8281
+ /** @deprecated use `Missing$outboundSchema` instead. */
8282
+ export const outboundSchema = Missing$outboundSchema;
8283
+ /** @deprecated use `Missing$Outbound` instead. */
8284
+ export type Outbound = Missing$Outbound;
8296
8285
  }
8297
8286
 
8298
- export function routesMissingToJSON(routesMissing: RoutesMissing): string {
8299
- return JSON.stringify(RoutesMissing$outboundSchema.parse(routesMissing));
8287
+ export function missingToJSON(missing: Missing): string {
8288
+ return JSON.stringify(Missing$outboundSchema.parse(missing));
8300
8289
  }
8301
8290
 
8302
- export function routesMissingFromJSON(
8291
+ export function missingFromJSON(
8303
8292
  jsonString: string,
8304
- ): SafeParseResult<RoutesMissing, SDKValidationError> {
8293
+ ): SafeParseResult<Missing, SDKValidationError> {
8305
8294
  return safeParse(
8306
8295
  jsonString,
8307
- (x) => RoutesMissing$inboundSchema.parse(JSON.parse(x)),
8308
- `Failed to parse 'RoutesMissing' from JSON`,
8296
+ (x) => Missing$inboundSchema.parse(JSON.parse(x)),
8297
+ `Failed to parse 'Missing' from JSON`,
8309
8298
  );
8310
8299
  }
8311
8300
 
@@ -8329,8 +8318,8 @@ export namespace RoutesAction$ {
8329
8318
  }
8330
8319
 
8331
8320
  /** @internal */
8332
- export const RoutesMitigate$inboundSchema: z.ZodType<
8333
- RoutesMitigate,
8321
+ export const CreateDeploymentRoutesMitigate$inboundSchema: z.ZodType<
8322
+ CreateDeploymentRoutesMitigate,
8334
8323
  z.ZodTypeDef,
8335
8324
  unknown
8336
8325
  > = z.object({
@@ -8338,15 +8327,15 @@ export const RoutesMitigate$inboundSchema: z.ZodType<
8338
8327
  });
8339
8328
 
8340
8329
  /** @internal */
8341
- export type RoutesMitigate$Outbound = {
8330
+ export type CreateDeploymentRoutesMitigate$Outbound = {
8342
8331
  action: string;
8343
8332
  };
8344
8333
 
8345
8334
  /** @internal */
8346
- export const RoutesMitigate$outboundSchema: z.ZodType<
8347
- RoutesMitigate$Outbound,
8335
+ export const CreateDeploymentRoutesMitigate$outboundSchema: z.ZodType<
8336
+ CreateDeploymentRoutesMitigate$Outbound,
8348
8337
  z.ZodTypeDef,
8349
- RoutesMitigate
8338
+ CreateDeploymentRoutesMitigate
8350
8339
  > = z.object({
8351
8340
  action: RoutesAction$outboundSchema,
8352
8341
  });
@@ -8355,26 +8344,32 @@ export const RoutesMitigate$outboundSchema: z.ZodType<
8355
8344
  * @internal
8356
8345
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8357
8346
  */
8358
- export namespace RoutesMitigate$ {
8359
- /** @deprecated use `RoutesMitigate$inboundSchema` instead. */
8360
- export const inboundSchema = RoutesMitigate$inboundSchema;
8361
- /** @deprecated use `RoutesMitigate$outboundSchema` instead. */
8362
- export const outboundSchema = RoutesMitigate$outboundSchema;
8363
- /** @deprecated use `RoutesMitigate$Outbound` instead. */
8364
- export type Outbound = RoutesMitigate$Outbound;
8347
+ export namespace CreateDeploymentRoutesMitigate$ {
8348
+ /** @deprecated use `CreateDeploymentRoutesMitigate$inboundSchema` instead. */
8349
+ export const inboundSchema = CreateDeploymentRoutesMitigate$inboundSchema;
8350
+ /** @deprecated use `CreateDeploymentRoutesMitigate$outboundSchema` instead. */
8351
+ export const outboundSchema = CreateDeploymentRoutesMitigate$outboundSchema;
8352
+ /** @deprecated use `CreateDeploymentRoutesMitigate$Outbound` instead. */
8353
+ export type Outbound = CreateDeploymentRoutesMitigate$Outbound;
8365
8354
  }
8366
8355
 
8367
- export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string {
8368
- return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
8356
+ export function createDeploymentRoutesMitigateToJSON(
8357
+ createDeploymentRoutesMitigate: CreateDeploymentRoutesMitigate,
8358
+ ): string {
8359
+ return JSON.stringify(
8360
+ CreateDeploymentRoutesMitigate$outboundSchema.parse(
8361
+ createDeploymentRoutesMitigate,
8362
+ ),
8363
+ );
8369
8364
  }
8370
8365
 
8371
- export function routesMitigateFromJSON(
8366
+ export function createDeploymentRoutesMitigateFromJSON(
8372
8367
  jsonString: string,
8373
- ): SafeParseResult<RoutesMitigate, SDKValidationError> {
8368
+ ): SafeParseResult<CreateDeploymentRoutesMitigate, SDKValidationError> {
8374
8369
  return safeParse(
8375
8370
  jsonString,
8376
- (x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)),
8377
- `Failed to parse 'RoutesMitigate' from JSON`,
8371
+ (x) => CreateDeploymentRoutesMitigate$inboundSchema.parse(JSON.parse(x)),
8372
+ `Failed to parse 'CreateDeploymentRoutesMitigate' from JSON`,
8378
8373
  );
8379
8374
  }
8380
8375
 
@@ -8791,7 +8786,8 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
8791
8786
  z.lazy(() => Missing2$inboundSchema),
8792
8787
  ]),
8793
8788
  ).optional(),
8794
- mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
8789
+ mitigate: z.lazy(() => CreateDeploymentRoutesMitigate$inboundSchema)
8790
+ .optional(),
8795
8791
  transforms: z.array(z.lazy(() => Transforms$inboundSchema)).optional(),
8796
8792
  locale: z.lazy(() => Locale$inboundSchema).optional(),
8797
8793
  middlewarePath: z.string().optional(),
@@ -8813,7 +8809,7 @@ export type Routes1$Outbound = {
8813
8809
  status?: number | undefined;
8814
8810
  has?: Array<Has1$Outbound | Has2$Outbound> | undefined;
8815
8811
  missing?: Array<Missing1$Outbound | Missing2$Outbound> | undefined;
8816
- mitigate?: RoutesMitigate$Outbound | undefined;
8812
+ mitigate?: CreateDeploymentRoutesMitigate$Outbound | undefined;
8817
8813
  transforms?: Array<Transforms$Outbound> | undefined;
8818
8814
  locale?: Locale$Outbound | undefined;
8819
8815
  middlewarePath?: string | undefined;
@@ -8849,7 +8845,8 @@ export const Routes1$outboundSchema: z.ZodType<
8849
8845
  z.lazy(() => Missing2$outboundSchema),
8850
8846
  ]),
8851
8847
  ).optional(),
8852
- mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
8848
+ mitigate: z.lazy(() => CreateDeploymentRoutesMitigate$outboundSchema)
8849
+ .optional(),
8853
8850
  transforms: z.array(z.lazy(() => Transforms$outboundSchema)).optional(),
8854
8851
  locale: z.lazy(() => Locale$outboundSchema).optional(),
8855
8852
  middlewarePath: z.string().optional(),