@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
@@ -1428,10 +1428,28 @@ export const GetDeploymentHasType = {
1428
1428
  } as const;
1429
1429
  export type GetDeploymentHasType = ClosedEnum<typeof GetDeploymentHasType>;
1430
1430
 
1431
+ export type GetDeploymentValueDeploymentsResponse200Eq = string | number;
1432
+
1433
+ export type GetDeploymentValueDeployments2 = {
1434
+ eq?: string | number | undefined;
1435
+ neq?: string | undefined;
1436
+ inc?: Array<string> | undefined;
1437
+ ninc?: Array<string> | undefined;
1438
+ pre?: string | undefined;
1439
+ suf?: string | undefined;
1440
+ re?: string | undefined;
1441
+ gt?: number | undefined;
1442
+ gte?: number | undefined;
1443
+ lt?: number | undefined;
1444
+ lte?: number | undefined;
1445
+ };
1446
+
1447
+ export type GetDeploymentHasValue = GetDeploymentValueDeployments2 | string;
1448
+
1431
1449
  export type GetDeploymentHas2 = {
1432
1450
  type: GetDeploymentHasType;
1433
1451
  key: string;
1434
- value?: string | undefined;
1452
+ value?: GetDeploymentValueDeployments2 | string | undefined;
1435
1453
  };
1436
1454
 
1437
1455
  export const GetDeploymentHasDeploymentsType = {
@@ -1441,9 +1459,27 @@ export type GetDeploymentHasDeploymentsType = ClosedEnum<
1441
1459
  typeof GetDeploymentHasDeploymentsType
1442
1460
  >;
1443
1461
 
1462
+ export type GetDeploymentValueDeploymentsResponseEq = string | number;
1463
+
1464
+ export type GetDeploymentValue2 = {
1465
+ eq?: string | number | undefined;
1466
+ neq?: string | undefined;
1467
+ inc?: Array<string> | undefined;
1468
+ ninc?: Array<string> | undefined;
1469
+ pre?: string | undefined;
1470
+ suf?: string | undefined;
1471
+ re?: string | undefined;
1472
+ gt?: number | undefined;
1473
+ gte?: number | undefined;
1474
+ lt?: number | undefined;
1475
+ lte?: number | undefined;
1476
+ };
1477
+
1478
+ export type GetDeploymentHasDeploymentsValue = GetDeploymentValue2 | string;
1479
+
1444
1480
  export type GetDeploymentHas1 = {
1445
1481
  type: GetDeploymentHasDeploymentsType;
1446
- value: string;
1482
+ value: GetDeploymentValue2 | string;
1447
1483
  };
1448
1484
 
1449
1485
  export type GetDeploymentRoutesHas = GetDeploymentHas1 | GetDeploymentHas2;
@@ -1457,10 +1493,30 @@ export type GetDeploymentMissingType = ClosedEnum<
1457
1493
  typeof GetDeploymentMissingType
1458
1494
  >;
1459
1495
 
1496
+ export type GetDeploymentValueDeploymentsEq = string | number;
1497
+
1498
+ export type GetDeploymentValueDeploymentsResponse2002 = {
1499
+ eq?: string | number | undefined;
1500
+ neq?: string | undefined;
1501
+ inc?: Array<string> | undefined;
1502
+ ninc?: Array<string> | undefined;
1503
+ pre?: string | undefined;
1504
+ suf?: string | undefined;
1505
+ re?: string | undefined;
1506
+ gt?: number | undefined;
1507
+ gte?: number | undefined;
1508
+ lt?: number | undefined;
1509
+ lte?: number | undefined;
1510
+ };
1511
+
1512
+ export type GetDeploymentMissingValue =
1513
+ | GetDeploymentValueDeploymentsResponse2002
1514
+ | string;
1515
+
1460
1516
  export type GetDeploymentMissing2 = {
1461
1517
  type: GetDeploymentMissingType;
1462
1518
  key: string;
1463
- value?: string | undefined;
1519
+ value?: GetDeploymentValueDeploymentsResponse2002 | string | undefined;
1464
1520
  };
1465
1521
 
1466
1522
  export const GetDeploymentMissingDeploymentsType = {
@@ -1470,15 +1526,47 @@ export type GetDeploymentMissingDeploymentsType = ClosedEnum<
1470
1526
  typeof GetDeploymentMissingDeploymentsType
1471
1527
  >;
1472
1528
 
1529
+ export type GetDeploymentValueEq = string | number;
1530
+
1531
+ export type GetDeploymentValueDeploymentsResponse2 = {
1532
+ eq?: string | number | undefined;
1533
+ neq?: string | undefined;
1534
+ inc?: Array<string> | undefined;
1535
+ ninc?: Array<string> | undefined;
1536
+ pre?: string | undefined;
1537
+ suf?: string | undefined;
1538
+ re?: string | undefined;
1539
+ gt?: number | undefined;
1540
+ gte?: number | undefined;
1541
+ lt?: number | undefined;
1542
+ lte?: number | undefined;
1543
+ };
1544
+
1545
+ export type GetDeploymentMissingDeploymentsValue =
1546
+ | GetDeploymentValueDeploymentsResponse2
1547
+ | string;
1548
+
1473
1549
  export type GetDeploymentMissing1 = {
1474
1550
  type: GetDeploymentMissingDeploymentsType;
1475
- value: string;
1551
+ value: GetDeploymentValueDeploymentsResponse2 | string;
1476
1552
  };
1477
1553
 
1478
1554
  export type GetDeploymentRoutesMissing =
1479
1555
  | GetDeploymentMissing1
1480
1556
  | GetDeploymentMissing2;
1481
1557
 
1558
+ export const GetDeploymentRoutesAction = {
1559
+ Challenge: "challenge",
1560
+ Deny: "deny",
1561
+ } as const;
1562
+ export type GetDeploymentRoutesAction = ClosedEnum<
1563
+ typeof GetDeploymentRoutesAction
1564
+ >;
1565
+
1566
+ export type GetDeploymentRoutesMitigate = {
1567
+ action: GetDeploymentRoutesAction;
1568
+ };
1569
+
1482
1570
  export type GetDeploymentRoutesLocale = {
1483
1571
  redirect?: { [k: string]: string } | undefined;
1484
1572
  cookie?: string | undefined;
@@ -1497,6 +1585,7 @@ export type GetDeploymentRoutes1 = {
1497
1585
  status?: number | undefined;
1498
1586
  has?: Array<GetDeploymentHas1 | GetDeploymentHas2> | undefined;
1499
1587
  missing?: Array<GetDeploymentMissing1 | GetDeploymentMissing2> | undefined;
1588
+ mitigate?: GetDeploymentRoutesMitigate | undefined;
1500
1589
  locale?: GetDeploymentRoutesLocale | undefined;
1501
1590
  /**
1502
1591
  * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
@@ -8771,6 +8860,208 @@ export namespace GetDeploymentHasType$ {
8771
8860
  export const outboundSchema = GetDeploymentHasType$outboundSchema;
8772
8861
  }
8773
8862
 
8863
+ /** @internal */
8864
+ export const GetDeploymentValueDeploymentsResponse200Eq$inboundSchema:
8865
+ z.ZodType<GetDeploymentValueDeploymentsResponse200Eq, z.ZodTypeDef, unknown> =
8866
+ z.union([z.string(), z.number()]);
8867
+
8868
+ /** @internal */
8869
+ export type GetDeploymentValueDeploymentsResponse200Eq$Outbound =
8870
+ | string
8871
+ | number;
8872
+
8873
+ /** @internal */
8874
+ export const GetDeploymentValueDeploymentsResponse200Eq$outboundSchema:
8875
+ z.ZodType<
8876
+ GetDeploymentValueDeploymentsResponse200Eq$Outbound,
8877
+ z.ZodTypeDef,
8878
+ GetDeploymentValueDeploymentsResponse200Eq
8879
+ > = z.union([z.string(), z.number()]);
8880
+
8881
+ /**
8882
+ * @internal
8883
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8884
+ */
8885
+ export namespace GetDeploymentValueDeploymentsResponse200Eq$ {
8886
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse200Eq$inboundSchema` instead. */
8887
+ export const inboundSchema =
8888
+ GetDeploymentValueDeploymentsResponse200Eq$inboundSchema;
8889
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse200Eq$outboundSchema` instead. */
8890
+ export const outboundSchema =
8891
+ GetDeploymentValueDeploymentsResponse200Eq$outboundSchema;
8892
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse200Eq$Outbound` instead. */
8893
+ export type Outbound = GetDeploymentValueDeploymentsResponse200Eq$Outbound;
8894
+ }
8895
+
8896
+ export function getDeploymentValueDeploymentsResponse200EqToJSON(
8897
+ getDeploymentValueDeploymentsResponse200Eq:
8898
+ GetDeploymentValueDeploymentsResponse200Eq,
8899
+ ): string {
8900
+ return JSON.stringify(
8901
+ GetDeploymentValueDeploymentsResponse200Eq$outboundSchema.parse(
8902
+ getDeploymentValueDeploymentsResponse200Eq,
8903
+ ),
8904
+ );
8905
+ }
8906
+
8907
+ export function getDeploymentValueDeploymentsResponse200EqFromJSON(
8908
+ jsonString: string,
8909
+ ): SafeParseResult<
8910
+ GetDeploymentValueDeploymentsResponse200Eq,
8911
+ SDKValidationError
8912
+ > {
8913
+ return safeParse(
8914
+ jsonString,
8915
+ (x) =>
8916
+ GetDeploymentValueDeploymentsResponse200Eq$inboundSchema.parse(
8917
+ JSON.parse(x),
8918
+ ),
8919
+ `Failed to parse 'GetDeploymentValueDeploymentsResponse200Eq' from JSON`,
8920
+ );
8921
+ }
8922
+
8923
+ /** @internal */
8924
+ export const GetDeploymentValueDeployments2$inboundSchema: z.ZodType<
8925
+ GetDeploymentValueDeployments2,
8926
+ z.ZodTypeDef,
8927
+ unknown
8928
+ > = z.object({
8929
+ eq: z.union([z.string(), z.number()]).optional(),
8930
+ neq: z.string().optional(),
8931
+ inc: z.array(z.string()).optional(),
8932
+ ninc: z.array(z.string()).optional(),
8933
+ pre: z.string().optional(),
8934
+ suf: z.string().optional(),
8935
+ re: z.string().optional(),
8936
+ gt: z.number().optional(),
8937
+ gte: z.number().optional(),
8938
+ lt: z.number().optional(),
8939
+ lte: z.number().optional(),
8940
+ });
8941
+
8942
+ /** @internal */
8943
+ export type GetDeploymentValueDeployments2$Outbound = {
8944
+ eq?: string | number | undefined;
8945
+ neq?: string | undefined;
8946
+ inc?: Array<string> | undefined;
8947
+ ninc?: Array<string> | undefined;
8948
+ pre?: string | undefined;
8949
+ suf?: string | undefined;
8950
+ re?: string | undefined;
8951
+ gt?: number | undefined;
8952
+ gte?: number | undefined;
8953
+ lt?: number | undefined;
8954
+ lte?: number | undefined;
8955
+ };
8956
+
8957
+ /** @internal */
8958
+ export const GetDeploymentValueDeployments2$outboundSchema: z.ZodType<
8959
+ GetDeploymentValueDeployments2$Outbound,
8960
+ z.ZodTypeDef,
8961
+ GetDeploymentValueDeployments2
8962
+ > = z.object({
8963
+ eq: z.union([z.string(), z.number()]).optional(),
8964
+ neq: z.string().optional(),
8965
+ inc: z.array(z.string()).optional(),
8966
+ ninc: z.array(z.string()).optional(),
8967
+ pre: z.string().optional(),
8968
+ suf: z.string().optional(),
8969
+ re: z.string().optional(),
8970
+ gt: z.number().optional(),
8971
+ gte: z.number().optional(),
8972
+ lt: z.number().optional(),
8973
+ lte: z.number().optional(),
8974
+ });
8975
+
8976
+ /**
8977
+ * @internal
8978
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8979
+ */
8980
+ export namespace GetDeploymentValueDeployments2$ {
8981
+ /** @deprecated use `GetDeploymentValueDeployments2$inboundSchema` instead. */
8982
+ export const inboundSchema = GetDeploymentValueDeployments2$inboundSchema;
8983
+ /** @deprecated use `GetDeploymentValueDeployments2$outboundSchema` instead. */
8984
+ export const outboundSchema = GetDeploymentValueDeployments2$outboundSchema;
8985
+ /** @deprecated use `GetDeploymentValueDeployments2$Outbound` instead. */
8986
+ export type Outbound = GetDeploymentValueDeployments2$Outbound;
8987
+ }
8988
+
8989
+ export function getDeploymentValueDeployments2ToJSON(
8990
+ getDeploymentValueDeployments2: GetDeploymentValueDeployments2,
8991
+ ): string {
8992
+ return JSON.stringify(
8993
+ GetDeploymentValueDeployments2$outboundSchema.parse(
8994
+ getDeploymentValueDeployments2,
8995
+ ),
8996
+ );
8997
+ }
8998
+
8999
+ export function getDeploymentValueDeployments2FromJSON(
9000
+ jsonString: string,
9001
+ ): SafeParseResult<GetDeploymentValueDeployments2, SDKValidationError> {
9002
+ return safeParse(
9003
+ jsonString,
9004
+ (x) => GetDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
9005
+ `Failed to parse 'GetDeploymentValueDeployments2' from JSON`,
9006
+ );
9007
+ }
9008
+
9009
+ /** @internal */
9010
+ export const GetDeploymentHasValue$inboundSchema: z.ZodType<
9011
+ GetDeploymentHasValue,
9012
+ z.ZodTypeDef,
9013
+ unknown
9014
+ > = z.union([
9015
+ z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
9016
+ z.string(),
9017
+ ]);
9018
+
9019
+ /** @internal */
9020
+ export type GetDeploymentHasValue$Outbound =
9021
+ | GetDeploymentValueDeployments2$Outbound
9022
+ | string;
9023
+
9024
+ /** @internal */
9025
+ export const GetDeploymentHasValue$outboundSchema: z.ZodType<
9026
+ GetDeploymentHasValue$Outbound,
9027
+ z.ZodTypeDef,
9028
+ GetDeploymentHasValue
9029
+ > = z.union([
9030
+ z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
9031
+ z.string(),
9032
+ ]);
9033
+
9034
+ /**
9035
+ * @internal
9036
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9037
+ */
9038
+ export namespace GetDeploymentHasValue$ {
9039
+ /** @deprecated use `GetDeploymentHasValue$inboundSchema` instead. */
9040
+ export const inboundSchema = GetDeploymentHasValue$inboundSchema;
9041
+ /** @deprecated use `GetDeploymentHasValue$outboundSchema` instead. */
9042
+ export const outboundSchema = GetDeploymentHasValue$outboundSchema;
9043
+ /** @deprecated use `GetDeploymentHasValue$Outbound` instead. */
9044
+ export type Outbound = GetDeploymentHasValue$Outbound;
9045
+ }
9046
+
9047
+ export function getDeploymentHasValueToJSON(
9048
+ getDeploymentHasValue: GetDeploymentHasValue,
9049
+ ): string {
9050
+ return JSON.stringify(
9051
+ GetDeploymentHasValue$outboundSchema.parse(getDeploymentHasValue),
9052
+ );
9053
+ }
9054
+
9055
+ export function getDeploymentHasValueFromJSON(
9056
+ jsonString: string,
9057
+ ): SafeParseResult<GetDeploymentHasValue, SDKValidationError> {
9058
+ return safeParse(
9059
+ jsonString,
9060
+ (x) => GetDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
9061
+ `Failed to parse 'GetDeploymentHasValue' from JSON`,
9062
+ );
9063
+ }
9064
+
8774
9065
  /** @internal */
8775
9066
  export const GetDeploymentHas2$inboundSchema: z.ZodType<
8776
9067
  GetDeploymentHas2,
@@ -8779,14 +9070,17 @@ export const GetDeploymentHas2$inboundSchema: z.ZodType<
8779
9070
  > = z.object({
8780
9071
  type: GetDeploymentHasType$inboundSchema,
8781
9072
  key: z.string(),
8782
- value: z.string().optional(),
9073
+ value: z.union([
9074
+ z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
9075
+ z.string(),
9076
+ ]).optional(),
8783
9077
  });
8784
9078
 
8785
9079
  /** @internal */
8786
9080
  export type GetDeploymentHas2$Outbound = {
8787
9081
  type: string;
8788
9082
  key: string;
8789
- value?: string | undefined;
9083
+ value?: GetDeploymentValueDeployments2$Outbound | string | undefined;
8790
9084
  };
8791
9085
 
8792
9086
  /** @internal */
@@ -8797,7 +9091,10 @@ export const GetDeploymentHas2$outboundSchema: z.ZodType<
8797
9091
  > = z.object({
8798
9092
  type: GetDeploymentHasType$outboundSchema,
8799
9093
  key: z.string(),
8800
- value: z.string().optional(),
9094
+ value: z.union([
9095
+ z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
9096
+ z.string(),
9097
+ ]).optional(),
8801
9098
  });
8802
9099
 
8803
9100
  /**
@@ -8852,6 +9149,201 @@ export namespace GetDeploymentHasDeploymentsType$ {
8852
9149
  export const outboundSchema = GetDeploymentHasDeploymentsType$outboundSchema;
8853
9150
  }
8854
9151
 
9152
+ /** @internal */
9153
+ export const GetDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType<
9154
+ GetDeploymentValueDeploymentsResponseEq,
9155
+ z.ZodTypeDef,
9156
+ unknown
9157
+ > = z.union([z.string(), z.number()]);
9158
+
9159
+ /** @internal */
9160
+ export type GetDeploymentValueDeploymentsResponseEq$Outbound = string | number;
9161
+
9162
+ /** @internal */
9163
+ export const GetDeploymentValueDeploymentsResponseEq$outboundSchema: z.ZodType<
9164
+ GetDeploymentValueDeploymentsResponseEq$Outbound,
9165
+ z.ZodTypeDef,
9166
+ GetDeploymentValueDeploymentsResponseEq
9167
+ > = z.union([z.string(), z.number()]);
9168
+
9169
+ /**
9170
+ * @internal
9171
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9172
+ */
9173
+ export namespace GetDeploymentValueDeploymentsResponseEq$ {
9174
+ /** @deprecated use `GetDeploymentValueDeploymentsResponseEq$inboundSchema` instead. */
9175
+ export const inboundSchema =
9176
+ GetDeploymentValueDeploymentsResponseEq$inboundSchema;
9177
+ /** @deprecated use `GetDeploymentValueDeploymentsResponseEq$outboundSchema` instead. */
9178
+ export const outboundSchema =
9179
+ GetDeploymentValueDeploymentsResponseEq$outboundSchema;
9180
+ /** @deprecated use `GetDeploymentValueDeploymentsResponseEq$Outbound` instead. */
9181
+ export type Outbound = GetDeploymentValueDeploymentsResponseEq$Outbound;
9182
+ }
9183
+
9184
+ export function getDeploymentValueDeploymentsResponseEqToJSON(
9185
+ getDeploymentValueDeploymentsResponseEq:
9186
+ GetDeploymentValueDeploymentsResponseEq,
9187
+ ): string {
9188
+ return JSON.stringify(
9189
+ GetDeploymentValueDeploymentsResponseEq$outboundSchema.parse(
9190
+ getDeploymentValueDeploymentsResponseEq,
9191
+ ),
9192
+ );
9193
+ }
9194
+
9195
+ export function getDeploymentValueDeploymentsResponseEqFromJSON(
9196
+ jsonString: string,
9197
+ ): SafeParseResult<
9198
+ GetDeploymentValueDeploymentsResponseEq,
9199
+ SDKValidationError
9200
+ > {
9201
+ return safeParse(
9202
+ jsonString,
9203
+ (x) =>
9204
+ GetDeploymentValueDeploymentsResponseEq$inboundSchema.parse(
9205
+ JSON.parse(x),
9206
+ ),
9207
+ `Failed to parse 'GetDeploymentValueDeploymentsResponseEq' from JSON`,
9208
+ );
9209
+ }
9210
+
9211
+ /** @internal */
9212
+ export const GetDeploymentValue2$inboundSchema: z.ZodType<
9213
+ GetDeploymentValue2,
9214
+ z.ZodTypeDef,
9215
+ unknown
9216
+ > = z.object({
9217
+ eq: z.union([z.string(), z.number()]).optional(),
9218
+ neq: z.string().optional(),
9219
+ inc: z.array(z.string()).optional(),
9220
+ ninc: z.array(z.string()).optional(),
9221
+ pre: z.string().optional(),
9222
+ suf: z.string().optional(),
9223
+ re: z.string().optional(),
9224
+ gt: z.number().optional(),
9225
+ gte: z.number().optional(),
9226
+ lt: z.number().optional(),
9227
+ lte: z.number().optional(),
9228
+ });
9229
+
9230
+ /** @internal */
9231
+ export type GetDeploymentValue2$Outbound = {
9232
+ eq?: string | number | undefined;
9233
+ neq?: string | undefined;
9234
+ inc?: Array<string> | undefined;
9235
+ ninc?: Array<string> | undefined;
9236
+ pre?: string | undefined;
9237
+ suf?: string | undefined;
9238
+ re?: string | undefined;
9239
+ gt?: number | undefined;
9240
+ gte?: number | undefined;
9241
+ lt?: number | undefined;
9242
+ lte?: number | undefined;
9243
+ };
9244
+
9245
+ /** @internal */
9246
+ export const GetDeploymentValue2$outboundSchema: z.ZodType<
9247
+ GetDeploymentValue2$Outbound,
9248
+ z.ZodTypeDef,
9249
+ GetDeploymentValue2
9250
+ > = z.object({
9251
+ eq: z.union([z.string(), z.number()]).optional(),
9252
+ neq: z.string().optional(),
9253
+ inc: z.array(z.string()).optional(),
9254
+ ninc: z.array(z.string()).optional(),
9255
+ pre: z.string().optional(),
9256
+ suf: z.string().optional(),
9257
+ re: z.string().optional(),
9258
+ gt: z.number().optional(),
9259
+ gte: z.number().optional(),
9260
+ lt: z.number().optional(),
9261
+ lte: z.number().optional(),
9262
+ });
9263
+
9264
+ /**
9265
+ * @internal
9266
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9267
+ */
9268
+ export namespace GetDeploymentValue2$ {
9269
+ /** @deprecated use `GetDeploymentValue2$inboundSchema` instead. */
9270
+ export const inboundSchema = GetDeploymentValue2$inboundSchema;
9271
+ /** @deprecated use `GetDeploymentValue2$outboundSchema` instead. */
9272
+ export const outboundSchema = GetDeploymentValue2$outboundSchema;
9273
+ /** @deprecated use `GetDeploymentValue2$Outbound` instead. */
9274
+ export type Outbound = GetDeploymentValue2$Outbound;
9275
+ }
9276
+
9277
+ export function getDeploymentValue2ToJSON(
9278
+ getDeploymentValue2: GetDeploymentValue2,
9279
+ ): string {
9280
+ return JSON.stringify(
9281
+ GetDeploymentValue2$outboundSchema.parse(getDeploymentValue2),
9282
+ );
9283
+ }
9284
+
9285
+ export function getDeploymentValue2FromJSON(
9286
+ jsonString: string,
9287
+ ): SafeParseResult<GetDeploymentValue2, SDKValidationError> {
9288
+ return safeParse(
9289
+ jsonString,
9290
+ (x) => GetDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
9291
+ `Failed to parse 'GetDeploymentValue2' from JSON`,
9292
+ );
9293
+ }
9294
+
9295
+ /** @internal */
9296
+ export const GetDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<
9297
+ GetDeploymentHasDeploymentsValue,
9298
+ z.ZodTypeDef,
9299
+ unknown
9300
+ > = z.union([z.lazy(() => GetDeploymentValue2$inboundSchema), z.string()]);
9301
+
9302
+ /** @internal */
9303
+ export type GetDeploymentHasDeploymentsValue$Outbound =
9304
+ | GetDeploymentValue2$Outbound
9305
+ | string;
9306
+
9307
+ /** @internal */
9308
+ export const GetDeploymentHasDeploymentsValue$outboundSchema: z.ZodType<
9309
+ GetDeploymentHasDeploymentsValue$Outbound,
9310
+ z.ZodTypeDef,
9311
+ GetDeploymentHasDeploymentsValue
9312
+ > = z.union([z.lazy(() => GetDeploymentValue2$outboundSchema), z.string()]);
9313
+
9314
+ /**
9315
+ * @internal
9316
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9317
+ */
9318
+ export namespace GetDeploymentHasDeploymentsValue$ {
9319
+ /** @deprecated use `GetDeploymentHasDeploymentsValue$inboundSchema` instead. */
9320
+ export const inboundSchema = GetDeploymentHasDeploymentsValue$inboundSchema;
9321
+ /** @deprecated use `GetDeploymentHasDeploymentsValue$outboundSchema` instead. */
9322
+ export const outboundSchema = GetDeploymentHasDeploymentsValue$outboundSchema;
9323
+ /** @deprecated use `GetDeploymentHasDeploymentsValue$Outbound` instead. */
9324
+ export type Outbound = GetDeploymentHasDeploymentsValue$Outbound;
9325
+ }
9326
+
9327
+ export function getDeploymentHasDeploymentsValueToJSON(
9328
+ getDeploymentHasDeploymentsValue: GetDeploymentHasDeploymentsValue,
9329
+ ): string {
9330
+ return JSON.stringify(
9331
+ GetDeploymentHasDeploymentsValue$outboundSchema.parse(
9332
+ getDeploymentHasDeploymentsValue,
9333
+ ),
9334
+ );
9335
+ }
9336
+
9337
+ export function getDeploymentHasDeploymentsValueFromJSON(
9338
+ jsonString: string,
9339
+ ): SafeParseResult<GetDeploymentHasDeploymentsValue, SDKValidationError> {
9340
+ return safeParse(
9341
+ jsonString,
9342
+ (x) => GetDeploymentHasDeploymentsValue$inboundSchema.parse(JSON.parse(x)),
9343
+ `Failed to parse 'GetDeploymentHasDeploymentsValue' from JSON`,
9344
+ );
9345
+ }
9346
+
8855
9347
  /** @internal */
8856
9348
  export const GetDeploymentHas1$inboundSchema: z.ZodType<
8857
9349
  GetDeploymentHas1,
@@ -8859,13 +9351,13 @@ export const GetDeploymentHas1$inboundSchema: z.ZodType<
8859
9351
  unknown
8860
9352
  > = z.object({
8861
9353
  type: GetDeploymentHasDeploymentsType$inboundSchema,
8862
- value: z.string(),
9354
+ value: z.union([z.lazy(() => GetDeploymentValue2$inboundSchema), z.string()]),
8863
9355
  });
8864
9356
 
8865
9357
  /** @internal */
8866
9358
  export type GetDeploymentHas1$Outbound = {
8867
9359
  type: string;
8868
- value: string;
9360
+ value: GetDeploymentValue2$Outbound | string;
8869
9361
  };
8870
9362
 
8871
9363
  /** @internal */
@@ -8875,7 +9367,10 @@ export const GetDeploymentHas1$outboundSchema: z.ZodType<
8875
9367
  GetDeploymentHas1
8876
9368
  > = z.object({
8877
9369
  type: GetDeploymentHasDeploymentsType$outboundSchema,
8878
- value: z.string(),
9370
+ value: z.union([
9371
+ z.lazy(() => GetDeploymentValue2$outboundSchema),
9372
+ z.string(),
9373
+ ]),
8879
9374
  });
8880
9375
 
8881
9376
  /**
@@ -8986,6 +9481,208 @@ export namespace GetDeploymentMissingType$ {
8986
9481
  export const outboundSchema = GetDeploymentMissingType$outboundSchema;
8987
9482
  }
8988
9483
 
9484
+ /** @internal */
9485
+ export const GetDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<
9486
+ GetDeploymentValueDeploymentsEq,
9487
+ z.ZodTypeDef,
9488
+ unknown
9489
+ > = z.union([z.string(), z.number()]);
9490
+
9491
+ /** @internal */
9492
+ export type GetDeploymentValueDeploymentsEq$Outbound = string | number;
9493
+
9494
+ /** @internal */
9495
+ export const GetDeploymentValueDeploymentsEq$outboundSchema: z.ZodType<
9496
+ GetDeploymentValueDeploymentsEq$Outbound,
9497
+ z.ZodTypeDef,
9498
+ GetDeploymentValueDeploymentsEq
9499
+ > = z.union([z.string(), z.number()]);
9500
+
9501
+ /**
9502
+ * @internal
9503
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9504
+ */
9505
+ export namespace GetDeploymentValueDeploymentsEq$ {
9506
+ /** @deprecated use `GetDeploymentValueDeploymentsEq$inboundSchema` instead. */
9507
+ export const inboundSchema = GetDeploymentValueDeploymentsEq$inboundSchema;
9508
+ /** @deprecated use `GetDeploymentValueDeploymentsEq$outboundSchema` instead. */
9509
+ export const outboundSchema = GetDeploymentValueDeploymentsEq$outboundSchema;
9510
+ /** @deprecated use `GetDeploymentValueDeploymentsEq$Outbound` instead. */
9511
+ export type Outbound = GetDeploymentValueDeploymentsEq$Outbound;
9512
+ }
9513
+
9514
+ export function getDeploymentValueDeploymentsEqToJSON(
9515
+ getDeploymentValueDeploymentsEq: GetDeploymentValueDeploymentsEq,
9516
+ ): string {
9517
+ return JSON.stringify(
9518
+ GetDeploymentValueDeploymentsEq$outboundSchema.parse(
9519
+ getDeploymentValueDeploymentsEq,
9520
+ ),
9521
+ );
9522
+ }
9523
+
9524
+ export function getDeploymentValueDeploymentsEqFromJSON(
9525
+ jsonString: string,
9526
+ ): SafeParseResult<GetDeploymentValueDeploymentsEq, SDKValidationError> {
9527
+ return safeParse(
9528
+ jsonString,
9529
+ (x) => GetDeploymentValueDeploymentsEq$inboundSchema.parse(JSON.parse(x)),
9530
+ `Failed to parse 'GetDeploymentValueDeploymentsEq' from JSON`,
9531
+ );
9532
+ }
9533
+
9534
+ /** @internal */
9535
+ export const GetDeploymentValueDeploymentsResponse2002$inboundSchema: z.ZodType<
9536
+ GetDeploymentValueDeploymentsResponse2002,
9537
+ z.ZodTypeDef,
9538
+ unknown
9539
+ > = z.object({
9540
+ eq: z.union([z.string(), z.number()]).optional(),
9541
+ neq: z.string().optional(),
9542
+ inc: z.array(z.string()).optional(),
9543
+ ninc: z.array(z.string()).optional(),
9544
+ pre: z.string().optional(),
9545
+ suf: z.string().optional(),
9546
+ re: z.string().optional(),
9547
+ gt: z.number().optional(),
9548
+ gte: z.number().optional(),
9549
+ lt: z.number().optional(),
9550
+ lte: z.number().optional(),
9551
+ });
9552
+
9553
+ /** @internal */
9554
+ export type GetDeploymentValueDeploymentsResponse2002$Outbound = {
9555
+ eq?: string | number | undefined;
9556
+ neq?: string | undefined;
9557
+ inc?: Array<string> | undefined;
9558
+ ninc?: Array<string> | undefined;
9559
+ pre?: string | undefined;
9560
+ suf?: string | undefined;
9561
+ re?: string | undefined;
9562
+ gt?: number | undefined;
9563
+ gte?: number | undefined;
9564
+ lt?: number | undefined;
9565
+ lte?: number | undefined;
9566
+ };
9567
+
9568
+ /** @internal */
9569
+ export const GetDeploymentValueDeploymentsResponse2002$outboundSchema:
9570
+ z.ZodType<
9571
+ GetDeploymentValueDeploymentsResponse2002$Outbound,
9572
+ z.ZodTypeDef,
9573
+ GetDeploymentValueDeploymentsResponse2002
9574
+ > = z.object({
9575
+ eq: z.union([z.string(), z.number()]).optional(),
9576
+ neq: z.string().optional(),
9577
+ inc: z.array(z.string()).optional(),
9578
+ ninc: z.array(z.string()).optional(),
9579
+ pre: z.string().optional(),
9580
+ suf: z.string().optional(),
9581
+ re: z.string().optional(),
9582
+ gt: z.number().optional(),
9583
+ gte: z.number().optional(),
9584
+ lt: z.number().optional(),
9585
+ lte: z.number().optional(),
9586
+ });
9587
+
9588
+ /**
9589
+ * @internal
9590
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9591
+ */
9592
+ export namespace GetDeploymentValueDeploymentsResponse2002$ {
9593
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
9594
+ export const inboundSchema =
9595
+ GetDeploymentValueDeploymentsResponse2002$inboundSchema;
9596
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
9597
+ export const outboundSchema =
9598
+ GetDeploymentValueDeploymentsResponse2002$outboundSchema;
9599
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse2002$Outbound` instead. */
9600
+ export type Outbound = GetDeploymentValueDeploymentsResponse2002$Outbound;
9601
+ }
9602
+
9603
+ export function getDeploymentValueDeploymentsResponse2002ToJSON(
9604
+ getDeploymentValueDeploymentsResponse2002:
9605
+ GetDeploymentValueDeploymentsResponse2002,
9606
+ ): string {
9607
+ return JSON.stringify(
9608
+ GetDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
9609
+ getDeploymentValueDeploymentsResponse2002,
9610
+ ),
9611
+ );
9612
+ }
9613
+
9614
+ export function getDeploymentValueDeploymentsResponse2002FromJSON(
9615
+ jsonString: string,
9616
+ ): SafeParseResult<
9617
+ GetDeploymentValueDeploymentsResponse2002,
9618
+ SDKValidationError
9619
+ > {
9620
+ return safeParse(
9621
+ jsonString,
9622
+ (x) =>
9623
+ GetDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
9624
+ JSON.parse(x),
9625
+ ),
9626
+ `Failed to parse 'GetDeploymentValueDeploymentsResponse2002' from JSON`,
9627
+ );
9628
+ }
9629
+
9630
+ /** @internal */
9631
+ export const GetDeploymentMissingValue$inboundSchema: z.ZodType<
9632
+ GetDeploymentMissingValue,
9633
+ z.ZodTypeDef,
9634
+ unknown
9635
+ > = z.union([
9636
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
9637
+ z.string(),
9638
+ ]);
9639
+
9640
+ /** @internal */
9641
+ export type GetDeploymentMissingValue$Outbound =
9642
+ | GetDeploymentValueDeploymentsResponse2002$Outbound
9643
+ | string;
9644
+
9645
+ /** @internal */
9646
+ export const GetDeploymentMissingValue$outboundSchema: z.ZodType<
9647
+ GetDeploymentMissingValue$Outbound,
9648
+ z.ZodTypeDef,
9649
+ GetDeploymentMissingValue
9650
+ > = z.union([
9651
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
9652
+ z.string(),
9653
+ ]);
9654
+
9655
+ /**
9656
+ * @internal
9657
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9658
+ */
9659
+ export namespace GetDeploymentMissingValue$ {
9660
+ /** @deprecated use `GetDeploymentMissingValue$inboundSchema` instead. */
9661
+ export const inboundSchema = GetDeploymentMissingValue$inboundSchema;
9662
+ /** @deprecated use `GetDeploymentMissingValue$outboundSchema` instead. */
9663
+ export const outboundSchema = GetDeploymentMissingValue$outboundSchema;
9664
+ /** @deprecated use `GetDeploymentMissingValue$Outbound` instead. */
9665
+ export type Outbound = GetDeploymentMissingValue$Outbound;
9666
+ }
9667
+
9668
+ export function getDeploymentMissingValueToJSON(
9669
+ getDeploymentMissingValue: GetDeploymentMissingValue,
9670
+ ): string {
9671
+ return JSON.stringify(
9672
+ GetDeploymentMissingValue$outboundSchema.parse(getDeploymentMissingValue),
9673
+ );
9674
+ }
9675
+
9676
+ export function getDeploymentMissingValueFromJSON(
9677
+ jsonString: string,
9678
+ ): SafeParseResult<GetDeploymentMissingValue, SDKValidationError> {
9679
+ return safeParse(
9680
+ jsonString,
9681
+ (x) => GetDeploymentMissingValue$inboundSchema.parse(JSON.parse(x)),
9682
+ `Failed to parse 'GetDeploymentMissingValue' from JSON`,
9683
+ );
9684
+ }
9685
+
8989
9686
  /** @internal */
8990
9687
  export const GetDeploymentMissing2$inboundSchema: z.ZodType<
8991
9688
  GetDeploymentMissing2,
@@ -8994,14 +9691,20 @@ export const GetDeploymentMissing2$inboundSchema: z.ZodType<
8994
9691
  > = z.object({
8995
9692
  type: GetDeploymentMissingType$inboundSchema,
8996
9693
  key: z.string(),
8997
- value: z.string().optional(),
9694
+ value: z.union([
9695
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
9696
+ z.string(),
9697
+ ]).optional(),
8998
9698
  });
8999
9699
 
9000
9700
  /** @internal */
9001
9701
  export type GetDeploymentMissing2$Outbound = {
9002
9702
  type: string;
9003
9703
  key: string;
9004
- value?: string | undefined;
9704
+ value?:
9705
+ | GetDeploymentValueDeploymentsResponse2002$Outbound
9706
+ | string
9707
+ | undefined;
9005
9708
  };
9006
9709
 
9007
9710
  /** @internal */
@@ -9012,7 +9715,10 @@ export const GetDeploymentMissing2$outboundSchema: z.ZodType<
9012
9715
  > = z.object({
9013
9716
  type: GetDeploymentMissingType$outboundSchema,
9014
9717
  key: z.string(),
9015
- value: z.string().optional(),
9718
+ value: z.union([
9719
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
9720
+ z.string(),
9721
+ ]).optional(),
9016
9722
  });
9017
9723
 
9018
9724
  /**
@@ -9069,6 +9775,205 @@ export namespace GetDeploymentMissingDeploymentsType$ {
9069
9775
  GetDeploymentMissingDeploymentsType$outboundSchema;
9070
9776
  }
9071
9777
 
9778
+ /** @internal */
9779
+ export const GetDeploymentValueEq$inboundSchema: z.ZodType<
9780
+ GetDeploymentValueEq,
9781
+ z.ZodTypeDef,
9782
+ unknown
9783
+ > = z.union([z.string(), z.number()]);
9784
+
9785
+ /** @internal */
9786
+ export type GetDeploymentValueEq$Outbound = string | number;
9787
+
9788
+ /** @internal */
9789
+ export const GetDeploymentValueEq$outboundSchema: z.ZodType<
9790
+ GetDeploymentValueEq$Outbound,
9791
+ z.ZodTypeDef,
9792
+ GetDeploymentValueEq
9793
+ > = z.union([z.string(), z.number()]);
9794
+
9795
+ /**
9796
+ * @internal
9797
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9798
+ */
9799
+ export namespace GetDeploymentValueEq$ {
9800
+ /** @deprecated use `GetDeploymentValueEq$inboundSchema` instead. */
9801
+ export const inboundSchema = GetDeploymentValueEq$inboundSchema;
9802
+ /** @deprecated use `GetDeploymentValueEq$outboundSchema` instead. */
9803
+ export const outboundSchema = GetDeploymentValueEq$outboundSchema;
9804
+ /** @deprecated use `GetDeploymentValueEq$Outbound` instead. */
9805
+ export type Outbound = GetDeploymentValueEq$Outbound;
9806
+ }
9807
+
9808
+ export function getDeploymentValueEqToJSON(
9809
+ getDeploymentValueEq: GetDeploymentValueEq,
9810
+ ): string {
9811
+ return JSON.stringify(
9812
+ GetDeploymentValueEq$outboundSchema.parse(getDeploymentValueEq),
9813
+ );
9814
+ }
9815
+
9816
+ export function getDeploymentValueEqFromJSON(
9817
+ jsonString: string,
9818
+ ): SafeParseResult<GetDeploymentValueEq, SDKValidationError> {
9819
+ return safeParse(
9820
+ jsonString,
9821
+ (x) => GetDeploymentValueEq$inboundSchema.parse(JSON.parse(x)),
9822
+ `Failed to parse 'GetDeploymentValueEq' from JSON`,
9823
+ );
9824
+ }
9825
+
9826
+ /** @internal */
9827
+ export const GetDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
9828
+ GetDeploymentValueDeploymentsResponse2,
9829
+ z.ZodTypeDef,
9830
+ unknown
9831
+ > = z.object({
9832
+ eq: z.union([z.string(), z.number()]).optional(),
9833
+ neq: z.string().optional(),
9834
+ inc: z.array(z.string()).optional(),
9835
+ ninc: z.array(z.string()).optional(),
9836
+ pre: z.string().optional(),
9837
+ suf: z.string().optional(),
9838
+ re: z.string().optional(),
9839
+ gt: z.number().optional(),
9840
+ gte: z.number().optional(),
9841
+ lt: z.number().optional(),
9842
+ lte: z.number().optional(),
9843
+ });
9844
+
9845
+ /** @internal */
9846
+ export type GetDeploymentValueDeploymentsResponse2$Outbound = {
9847
+ eq?: string | number | undefined;
9848
+ neq?: string | undefined;
9849
+ inc?: Array<string> | undefined;
9850
+ ninc?: Array<string> | undefined;
9851
+ pre?: string | undefined;
9852
+ suf?: string | undefined;
9853
+ re?: string | undefined;
9854
+ gt?: number | undefined;
9855
+ gte?: number | undefined;
9856
+ lt?: number | undefined;
9857
+ lte?: number | undefined;
9858
+ };
9859
+
9860
+ /** @internal */
9861
+ export const GetDeploymentValueDeploymentsResponse2$outboundSchema: z.ZodType<
9862
+ GetDeploymentValueDeploymentsResponse2$Outbound,
9863
+ z.ZodTypeDef,
9864
+ GetDeploymentValueDeploymentsResponse2
9865
+ > = z.object({
9866
+ eq: z.union([z.string(), z.number()]).optional(),
9867
+ neq: z.string().optional(),
9868
+ inc: z.array(z.string()).optional(),
9869
+ ninc: z.array(z.string()).optional(),
9870
+ pre: z.string().optional(),
9871
+ suf: z.string().optional(),
9872
+ re: z.string().optional(),
9873
+ gt: z.number().optional(),
9874
+ gte: z.number().optional(),
9875
+ lt: z.number().optional(),
9876
+ lte: z.number().optional(),
9877
+ });
9878
+
9879
+ /**
9880
+ * @internal
9881
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9882
+ */
9883
+ export namespace GetDeploymentValueDeploymentsResponse2$ {
9884
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
9885
+ export const inboundSchema =
9886
+ GetDeploymentValueDeploymentsResponse2$inboundSchema;
9887
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
9888
+ export const outboundSchema =
9889
+ GetDeploymentValueDeploymentsResponse2$outboundSchema;
9890
+ /** @deprecated use `GetDeploymentValueDeploymentsResponse2$Outbound` instead. */
9891
+ export type Outbound = GetDeploymentValueDeploymentsResponse2$Outbound;
9892
+ }
9893
+
9894
+ export function getDeploymentValueDeploymentsResponse2ToJSON(
9895
+ getDeploymentValueDeploymentsResponse2:
9896
+ GetDeploymentValueDeploymentsResponse2,
9897
+ ): string {
9898
+ return JSON.stringify(
9899
+ GetDeploymentValueDeploymentsResponse2$outboundSchema.parse(
9900
+ getDeploymentValueDeploymentsResponse2,
9901
+ ),
9902
+ );
9903
+ }
9904
+
9905
+ export function getDeploymentValueDeploymentsResponse2FromJSON(
9906
+ jsonString: string,
9907
+ ): SafeParseResult<GetDeploymentValueDeploymentsResponse2, SDKValidationError> {
9908
+ return safeParse(
9909
+ jsonString,
9910
+ (x) =>
9911
+ GetDeploymentValueDeploymentsResponse2$inboundSchema.parse(JSON.parse(x)),
9912
+ `Failed to parse 'GetDeploymentValueDeploymentsResponse2' from JSON`,
9913
+ );
9914
+ }
9915
+
9916
+ /** @internal */
9917
+ export const GetDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType<
9918
+ GetDeploymentMissingDeploymentsValue,
9919
+ z.ZodTypeDef,
9920
+ unknown
9921
+ > = z.union([
9922
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
9923
+ z.string(),
9924
+ ]);
9925
+
9926
+ /** @internal */
9927
+ export type GetDeploymentMissingDeploymentsValue$Outbound =
9928
+ | GetDeploymentValueDeploymentsResponse2$Outbound
9929
+ | string;
9930
+
9931
+ /** @internal */
9932
+ export const GetDeploymentMissingDeploymentsValue$outboundSchema: z.ZodType<
9933
+ GetDeploymentMissingDeploymentsValue$Outbound,
9934
+ z.ZodTypeDef,
9935
+ GetDeploymentMissingDeploymentsValue
9936
+ > = z.union([
9937
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
9938
+ z.string(),
9939
+ ]);
9940
+
9941
+ /**
9942
+ * @internal
9943
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9944
+ */
9945
+ export namespace GetDeploymentMissingDeploymentsValue$ {
9946
+ /** @deprecated use `GetDeploymentMissingDeploymentsValue$inboundSchema` instead. */
9947
+ export const inboundSchema =
9948
+ GetDeploymentMissingDeploymentsValue$inboundSchema;
9949
+ /** @deprecated use `GetDeploymentMissingDeploymentsValue$outboundSchema` instead. */
9950
+ export const outboundSchema =
9951
+ GetDeploymentMissingDeploymentsValue$outboundSchema;
9952
+ /** @deprecated use `GetDeploymentMissingDeploymentsValue$Outbound` instead. */
9953
+ export type Outbound = GetDeploymentMissingDeploymentsValue$Outbound;
9954
+ }
9955
+
9956
+ export function getDeploymentMissingDeploymentsValueToJSON(
9957
+ getDeploymentMissingDeploymentsValue: GetDeploymentMissingDeploymentsValue,
9958
+ ): string {
9959
+ return JSON.stringify(
9960
+ GetDeploymentMissingDeploymentsValue$outboundSchema.parse(
9961
+ getDeploymentMissingDeploymentsValue,
9962
+ ),
9963
+ );
9964
+ }
9965
+
9966
+ export function getDeploymentMissingDeploymentsValueFromJSON(
9967
+ jsonString: string,
9968
+ ): SafeParseResult<GetDeploymentMissingDeploymentsValue, SDKValidationError> {
9969
+ return safeParse(
9970
+ jsonString,
9971
+ (x) =>
9972
+ GetDeploymentMissingDeploymentsValue$inboundSchema.parse(JSON.parse(x)),
9973
+ `Failed to parse 'GetDeploymentMissingDeploymentsValue' from JSON`,
9974
+ );
9975
+ }
9976
+
9072
9977
  /** @internal */
9073
9978
  export const GetDeploymentMissing1$inboundSchema: z.ZodType<
9074
9979
  GetDeploymentMissing1,
@@ -9076,13 +9981,16 @@ export const GetDeploymentMissing1$inboundSchema: z.ZodType<
9076
9981
  unknown
9077
9982
  > = z.object({
9078
9983
  type: GetDeploymentMissingDeploymentsType$inboundSchema,
9079
- value: z.string(),
9984
+ value: z.union([
9985
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
9986
+ z.string(),
9987
+ ]),
9080
9988
  });
9081
9989
 
9082
9990
  /** @internal */
9083
9991
  export type GetDeploymentMissing1$Outbound = {
9084
9992
  type: string;
9085
- value: string;
9993
+ value: GetDeploymentValueDeploymentsResponse2$Outbound | string;
9086
9994
  };
9087
9995
 
9088
9996
  /** @internal */
@@ -9092,7 +10000,10 @@ export const GetDeploymentMissing1$outboundSchema: z.ZodType<
9092
10000
  GetDeploymentMissing1
9093
10001
  > = z.object({
9094
10002
  type: GetDeploymentMissingDeploymentsType$outboundSchema,
9095
- value: z.string(),
10003
+ value: z.union([
10004
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10005
+ z.string(),
10006
+ ]),
9096
10007
  });
9097
10008
 
9098
10009
  /**
@@ -9182,6 +10093,83 @@ export function getDeploymentRoutesMissingFromJSON(
9182
10093
  );
9183
10094
  }
9184
10095
 
10096
+ /** @internal */
10097
+ export const GetDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum<
10098
+ typeof GetDeploymentRoutesAction
10099
+ > = z.nativeEnum(GetDeploymentRoutesAction);
10100
+
10101
+ /** @internal */
10102
+ export const GetDeploymentRoutesAction$outboundSchema: z.ZodNativeEnum<
10103
+ typeof GetDeploymentRoutesAction
10104
+ > = GetDeploymentRoutesAction$inboundSchema;
10105
+
10106
+ /**
10107
+ * @internal
10108
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10109
+ */
10110
+ export namespace GetDeploymentRoutesAction$ {
10111
+ /** @deprecated use `GetDeploymentRoutesAction$inboundSchema` instead. */
10112
+ export const inboundSchema = GetDeploymentRoutesAction$inboundSchema;
10113
+ /** @deprecated use `GetDeploymentRoutesAction$outboundSchema` instead. */
10114
+ export const outboundSchema = GetDeploymentRoutesAction$outboundSchema;
10115
+ }
10116
+
10117
+ /** @internal */
10118
+ export const GetDeploymentRoutesMitigate$inboundSchema: z.ZodType<
10119
+ GetDeploymentRoutesMitigate,
10120
+ z.ZodTypeDef,
10121
+ unknown
10122
+ > = z.object({
10123
+ action: GetDeploymentRoutesAction$inboundSchema,
10124
+ });
10125
+
10126
+ /** @internal */
10127
+ export type GetDeploymentRoutesMitigate$Outbound = {
10128
+ action: string;
10129
+ };
10130
+
10131
+ /** @internal */
10132
+ export const GetDeploymentRoutesMitigate$outboundSchema: z.ZodType<
10133
+ GetDeploymentRoutesMitigate$Outbound,
10134
+ z.ZodTypeDef,
10135
+ GetDeploymentRoutesMitigate
10136
+ > = z.object({
10137
+ action: GetDeploymentRoutesAction$outboundSchema,
10138
+ });
10139
+
10140
+ /**
10141
+ * @internal
10142
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10143
+ */
10144
+ export namespace GetDeploymentRoutesMitigate$ {
10145
+ /** @deprecated use `GetDeploymentRoutesMitigate$inboundSchema` instead. */
10146
+ export const inboundSchema = GetDeploymentRoutesMitigate$inboundSchema;
10147
+ /** @deprecated use `GetDeploymentRoutesMitigate$outboundSchema` instead. */
10148
+ export const outboundSchema = GetDeploymentRoutesMitigate$outboundSchema;
10149
+ /** @deprecated use `GetDeploymentRoutesMitigate$Outbound` instead. */
10150
+ export type Outbound = GetDeploymentRoutesMitigate$Outbound;
10151
+ }
10152
+
10153
+ export function getDeploymentRoutesMitigateToJSON(
10154
+ getDeploymentRoutesMitigate: GetDeploymentRoutesMitigate,
10155
+ ): string {
10156
+ return JSON.stringify(
10157
+ GetDeploymentRoutesMitigate$outboundSchema.parse(
10158
+ getDeploymentRoutesMitigate,
10159
+ ),
10160
+ );
10161
+ }
10162
+
10163
+ export function getDeploymentRoutesMitigateFromJSON(
10164
+ jsonString: string,
10165
+ ): SafeParseResult<GetDeploymentRoutesMitigate, SDKValidationError> {
10166
+ return safeParse(
10167
+ jsonString,
10168
+ (x) => GetDeploymentRoutesMitigate$inboundSchema.parse(JSON.parse(x)),
10169
+ `Failed to parse 'GetDeploymentRoutesMitigate' from JSON`,
10170
+ );
10171
+ }
10172
+
9185
10173
  /** @internal */
9186
10174
  export const GetDeploymentRoutesLocale$inboundSchema: z.ZodType<
9187
10175
  GetDeploymentRoutesLocale,
@@ -9267,6 +10255,7 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType<
9267
10255
  z.lazy(() => GetDeploymentMissing2$inboundSchema),
9268
10256
  ]),
9269
10257
  ).optional(),
10258
+ mitigate: z.lazy(() => GetDeploymentRoutesMitigate$inboundSchema).optional(),
9270
10259
  locale: z.lazy(() => GetDeploymentRoutesLocale$inboundSchema).optional(),
9271
10260
  middlewarePath: z.string().optional(),
9272
10261
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -9291,6 +10280,7 @@ export type GetDeploymentRoutes1$Outbound = {
9291
10280
  missing?:
9292
10281
  | Array<GetDeploymentMissing1$Outbound | GetDeploymentMissing2$Outbound>
9293
10282
  | undefined;
10283
+ mitigate?: GetDeploymentRoutesMitigate$Outbound | undefined;
9294
10284
  locale?: GetDeploymentRoutesLocale$Outbound | undefined;
9295
10285
  middlewarePath?: string | undefined;
9296
10286
  middlewareRawSrc?: Array<string> | undefined;
@@ -9325,6 +10315,7 @@ export const GetDeploymentRoutes1$outboundSchema: z.ZodType<
9325
10315
  z.lazy(() => GetDeploymentMissing2$outboundSchema),
9326
10316
  ]),
9327
10317
  ).optional(),
10318
+ mitigate: z.lazy(() => GetDeploymentRoutesMitigate$outboundSchema).optional(),
9328
10319
  locale: z.lazy(() => GetDeploymentRoutesLocale$outboundSchema).optional(),
9329
10320
  middlewarePath: z.string().optional(),
9330
10321
  middlewareRawSrc: z.array(z.string()).optional(),