@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.
- package/bin/mcp-server.js +1009 -313
- package/bin/mcp-server.js.map +13 -13
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +408 -8
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +446 -8
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +408 -8
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +448 -8
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +137 -137
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +135 -135
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +408 -8
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +441 -8
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +137 -137
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +135 -135
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/types/constdatetime.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/projects.test.ts +15 -13
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +1039 -16
- package/src/models/createdeploymentop.ts +957 -16
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +263 -263
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/getdeploymentop.ts +1007 -16
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectop.ts +263 -263
- package/src/types/constdatetime.ts +1 -1
- package/vercel-spec.json +1328 -623
|
@@ -1196,10 +1196,30 @@ export type CreateDeploymentHasType = ClosedEnum<
|
|
|
1196
1196
|
typeof CreateDeploymentHasType
|
|
1197
1197
|
>;
|
|
1198
1198
|
|
|
1199
|
+
export type ValueEq = string | number;
|
|
1200
|
+
|
|
1201
|
+
export type CreateDeploymentValueDeployments2 = {
|
|
1202
|
+
eq?: string | number | undefined;
|
|
1203
|
+
neq?: string | undefined;
|
|
1204
|
+
inc?: Array<string> | undefined;
|
|
1205
|
+
ninc?: Array<string> | undefined;
|
|
1206
|
+
pre?: string | undefined;
|
|
1207
|
+
suf?: string | undefined;
|
|
1208
|
+
re?: string | undefined;
|
|
1209
|
+
gt?: number | undefined;
|
|
1210
|
+
gte?: number | undefined;
|
|
1211
|
+
lt?: number | undefined;
|
|
1212
|
+
lte?: number | undefined;
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
export type CreateDeploymentHasValue =
|
|
1216
|
+
| CreateDeploymentValueDeployments2
|
|
1217
|
+
| string;
|
|
1218
|
+
|
|
1199
1219
|
export type Has2 = {
|
|
1200
1220
|
type: CreateDeploymentHasType;
|
|
1201
1221
|
key: string;
|
|
1202
|
-
value?: string | undefined;
|
|
1222
|
+
value?: CreateDeploymentValueDeployments2 | string | undefined;
|
|
1203
1223
|
};
|
|
1204
1224
|
|
|
1205
1225
|
export const HasType = {
|
|
@@ -1207,9 +1227,27 @@ export const HasType = {
|
|
|
1207
1227
|
} as const;
|
|
1208
1228
|
export type HasType = ClosedEnum<typeof HasType>;
|
|
1209
1229
|
|
|
1230
|
+
export type Eq = string | number;
|
|
1231
|
+
|
|
1232
|
+
export type CreateDeploymentValue2 = {
|
|
1233
|
+
eq?: string | number | undefined;
|
|
1234
|
+
neq?: string | undefined;
|
|
1235
|
+
inc?: Array<string> | undefined;
|
|
1236
|
+
ninc?: Array<string> | undefined;
|
|
1237
|
+
pre?: string | undefined;
|
|
1238
|
+
suf?: string | undefined;
|
|
1239
|
+
re?: string | undefined;
|
|
1240
|
+
gt?: number | undefined;
|
|
1241
|
+
gte?: number | undefined;
|
|
1242
|
+
lt?: number | undefined;
|
|
1243
|
+
lte?: number | undefined;
|
|
1244
|
+
};
|
|
1245
|
+
|
|
1246
|
+
export type HasValue = CreateDeploymentValue2 | string;
|
|
1247
|
+
|
|
1210
1248
|
export type Has1 = {
|
|
1211
1249
|
type: HasType;
|
|
1212
|
-
value: string;
|
|
1250
|
+
value: CreateDeploymentValue2 | string;
|
|
1213
1251
|
};
|
|
1214
1252
|
|
|
1215
1253
|
export type RoutesHas = Has1 | Has2;
|
|
@@ -1223,10 +1261,30 @@ export type CreateDeploymentMissingType = ClosedEnum<
|
|
|
1223
1261
|
typeof CreateDeploymentMissingType
|
|
1224
1262
|
>;
|
|
1225
1263
|
|
|
1264
|
+
export type CreateDeploymentValueDeploymentsEq = string | number;
|
|
1265
|
+
|
|
1266
|
+
export type CreateDeploymentValueDeploymentsResponse2002 = {
|
|
1267
|
+
eq?: string | number | undefined;
|
|
1268
|
+
neq?: string | undefined;
|
|
1269
|
+
inc?: Array<string> | undefined;
|
|
1270
|
+
ninc?: Array<string> | undefined;
|
|
1271
|
+
pre?: string | undefined;
|
|
1272
|
+
suf?: string | undefined;
|
|
1273
|
+
re?: string | undefined;
|
|
1274
|
+
gt?: number | undefined;
|
|
1275
|
+
gte?: number | undefined;
|
|
1276
|
+
lt?: number | undefined;
|
|
1277
|
+
lte?: number | undefined;
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
export type CreateDeploymentMissingValue =
|
|
1281
|
+
| CreateDeploymentValueDeploymentsResponse2002
|
|
1282
|
+
| string;
|
|
1283
|
+
|
|
1226
1284
|
export type Missing2 = {
|
|
1227
1285
|
type: CreateDeploymentMissingType;
|
|
1228
1286
|
key: string;
|
|
1229
|
-
value?: string | undefined;
|
|
1287
|
+
value?: CreateDeploymentValueDeploymentsResponse2002 | string | undefined;
|
|
1230
1288
|
};
|
|
1231
1289
|
|
|
1232
1290
|
export const MissingType = {
|
|
@@ -1234,13 +1292,41 @@ export const MissingType = {
|
|
|
1234
1292
|
} as const;
|
|
1235
1293
|
export type MissingType = ClosedEnum<typeof MissingType>;
|
|
1236
1294
|
|
|
1295
|
+
export type CreateDeploymentValueEq = string | number;
|
|
1296
|
+
|
|
1297
|
+
export type CreateDeploymentValueDeploymentsResponse2 = {
|
|
1298
|
+
eq?: string | number | undefined;
|
|
1299
|
+
neq?: string | undefined;
|
|
1300
|
+
inc?: Array<string> | undefined;
|
|
1301
|
+
ninc?: Array<string> | undefined;
|
|
1302
|
+
pre?: string | undefined;
|
|
1303
|
+
suf?: string | undefined;
|
|
1304
|
+
re?: string | undefined;
|
|
1305
|
+
gt?: number | undefined;
|
|
1306
|
+
gte?: number | undefined;
|
|
1307
|
+
lt?: number | undefined;
|
|
1308
|
+
lte?: number | undefined;
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
export type MissingValue = CreateDeploymentValueDeploymentsResponse2 | string;
|
|
1312
|
+
|
|
1237
1313
|
export type Missing1 = {
|
|
1238
1314
|
type: MissingType;
|
|
1239
|
-
value: string;
|
|
1315
|
+
value: CreateDeploymentValueDeploymentsResponse2 | string;
|
|
1240
1316
|
};
|
|
1241
1317
|
|
|
1242
1318
|
export type RoutesMissing = Missing1 | Missing2;
|
|
1243
1319
|
|
|
1320
|
+
export const RoutesAction = {
|
|
1321
|
+
Challenge: "challenge",
|
|
1322
|
+
Deny: "deny",
|
|
1323
|
+
} as const;
|
|
1324
|
+
export type RoutesAction = ClosedEnum<typeof RoutesAction>;
|
|
1325
|
+
|
|
1326
|
+
export type RoutesMitigate = {
|
|
1327
|
+
action: RoutesAction;
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1244
1330
|
export type Locale = {
|
|
1245
1331
|
redirect?: { [k: string]: string } | undefined;
|
|
1246
1332
|
cookie?: string | undefined;
|
|
@@ -1259,6 +1345,7 @@ export type Routes1 = {
|
|
|
1259
1345
|
status?: number | undefined;
|
|
1260
1346
|
has?: Array<Has1 | Has2> | undefined;
|
|
1261
1347
|
missing?: Array<Missing1 | Missing2> | undefined;
|
|
1348
|
+
mitigate?: RoutesMitigate | undefined;
|
|
1262
1349
|
locale?: Locale | undefined;
|
|
1263
1350
|
/**
|
|
1264
1351
|
* A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
|
|
@@ -6480,19 +6567,206 @@ export namespace CreateDeploymentHasType$ {
|
|
|
6480
6567
|
export const outboundSchema = CreateDeploymentHasType$outboundSchema;
|
|
6481
6568
|
}
|
|
6482
6569
|
|
|
6570
|
+
/** @internal */
|
|
6571
|
+
export const ValueEq$inboundSchema: z.ZodType<ValueEq, z.ZodTypeDef, unknown> =
|
|
6572
|
+
z.union([z.string(), z.number()]);
|
|
6573
|
+
|
|
6574
|
+
/** @internal */
|
|
6575
|
+
export type ValueEq$Outbound = string | number;
|
|
6576
|
+
|
|
6577
|
+
/** @internal */
|
|
6578
|
+
export const ValueEq$outboundSchema: z.ZodType<
|
|
6579
|
+
ValueEq$Outbound,
|
|
6580
|
+
z.ZodTypeDef,
|
|
6581
|
+
ValueEq
|
|
6582
|
+
> = z.union([z.string(), z.number()]);
|
|
6583
|
+
|
|
6584
|
+
/**
|
|
6585
|
+
* @internal
|
|
6586
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6587
|
+
*/
|
|
6588
|
+
export namespace ValueEq$ {
|
|
6589
|
+
/** @deprecated use `ValueEq$inboundSchema` instead. */
|
|
6590
|
+
export const inboundSchema = ValueEq$inboundSchema;
|
|
6591
|
+
/** @deprecated use `ValueEq$outboundSchema` instead. */
|
|
6592
|
+
export const outboundSchema = ValueEq$outboundSchema;
|
|
6593
|
+
/** @deprecated use `ValueEq$Outbound` instead. */
|
|
6594
|
+
export type Outbound = ValueEq$Outbound;
|
|
6595
|
+
}
|
|
6596
|
+
|
|
6597
|
+
export function valueEqToJSON(valueEq: ValueEq): string {
|
|
6598
|
+
return JSON.stringify(ValueEq$outboundSchema.parse(valueEq));
|
|
6599
|
+
}
|
|
6600
|
+
|
|
6601
|
+
export function valueEqFromJSON(
|
|
6602
|
+
jsonString: string,
|
|
6603
|
+
): SafeParseResult<ValueEq, SDKValidationError> {
|
|
6604
|
+
return safeParse(
|
|
6605
|
+
jsonString,
|
|
6606
|
+
(x) => ValueEq$inboundSchema.parse(JSON.parse(x)),
|
|
6607
|
+
`Failed to parse 'ValueEq' from JSON`,
|
|
6608
|
+
);
|
|
6609
|
+
}
|
|
6610
|
+
|
|
6611
|
+
/** @internal */
|
|
6612
|
+
export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
|
|
6613
|
+
CreateDeploymentValueDeployments2,
|
|
6614
|
+
z.ZodTypeDef,
|
|
6615
|
+
unknown
|
|
6616
|
+
> = z.object({
|
|
6617
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
6618
|
+
neq: z.string().optional(),
|
|
6619
|
+
inc: z.array(z.string()).optional(),
|
|
6620
|
+
ninc: z.array(z.string()).optional(),
|
|
6621
|
+
pre: z.string().optional(),
|
|
6622
|
+
suf: z.string().optional(),
|
|
6623
|
+
re: z.string().optional(),
|
|
6624
|
+
gt: z.number().optional(),
|
|
6625
|
+
gte: z.number().optional(),
|
|
6626
|
+
lt: z.number().optional(),
|
|
6627
|
+
lte: z.number().optional(),
|
|
6628
|
+
});
|
|
6629
|
+
|
|
6630
|
+
/** @internal */
|
|
6631
|
+
export type CreateDeploymentValueDeployments2$Outbound = {
|
|
6632
|
+
eq?: string | number | undefined;
|
|
6633
|
+
neq?: string | undefined;
|
|
6634
|
+
inc?: Array<string> | undefined;
|
|
6635
|
+
ninc?: Array<string> | undefined;
|
|
6636
|
+
pre?: string | undefined;
|
|
6637
|
+
suf?: string | undefined;
|
|
6638
|
+
re?: string | undefined;
|
|
6639
|
+
gt?: number | undefined;
|
|
6640
|
+
gte?: number | undefined;
|
|
6641
|
+
lt?: number | undefined;
|
|
6642
|
+
lte?: number | undefined;
|
|
6643
|
+
};
|
|
6644
|
+
|
|
6645
|
+
/** @internal */
|
|
6646
|
+
export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
|
|
6647
|
+
CreateDeploymentValueDeployments2$Outbound,
|
|
6648
|
+
z.ZodTypeDef,
|
|
6649
|
+
CreateDeploymentValueDeployments2
|
|
6650
|
+
> = z.object({
|
|
6651
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
6652
|
+
neq: z.string().optional(),
|
|
6653
|
+
inc: z.array(z.string()).optional(),
|
|
6654
|
+
ninc: z.array(z.string()).optional(),
|
|
6655
|
+
pre: z.string().optional(),
|
|
6656
|
+
suf: z.string().optional(),
|
|
6657
|
+
re: z.string().optional(),
|
|
6658
|
+
gt: z.number().optional(),
|
|
6659
|
+
gte: z.number().optional(),
|
|
6660
|
+
lt: z.number().optional(),
|
|
6661
|
+
lte: z.number().optional(),
|
|
6662
|
+
});
|
|
6663
|
+
|
|
6664
|
+
/**
|
|
6665
|
+
* @internal
|
|
6666
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6667
|
+
*/
|
|
6668
|
+
export namespace CreateDeploymentValueDeployments2$ {
|
|
6669
|
+
/** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
|
|
6670
|
+
export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
|
|
6671
|
+
/** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
|
|
6672
|
+
export const outboundSchema =
|
|
6673
|
+
CreateDeploymentValueDeployments2$outboundSchema;
|
|
6674
|
+
/** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
|
|
6675
|
+
export type Outbound = CreateDeploymentValueDeployments2$Outbound;
|
|
6676
|
+
}
|
|
6677
|
+
|
|
6678
|
+
export function createDeploymentValueDeployments2ToJSON(
|
|
6679
|
+
createDeploymentValueDeployments2: CreateDeploymentValueDeployments2,
|
|
6680
|
+
): string {
|
|
6681
|
+
return JSON.stringify(
|
|
6682
|
+
CreateDeploymentValueDeployments2$outboundSchema.parse(
|
|
6683
|
+
createDeploymentValueDeployments2,
|
|
6684
|
+
),
|
|
6685
|
+
);
|
|
6686
|
+
}
|
|
6687
|
+
|
|
6688
|
+
export function createDeploymentValueDeployments2FromJSON(
|
|
6689
|
+
jsonString: string,
|
|
6690
|
+
): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError> {
|
|
6691
|
+
return safeParse(
|
|
6692
|
+
jsonString,
|
|
6693
|
+
(x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
|
|
6694
|
+
`Failed to parse 'CreateDeploymentValueDeployments2' from JSON`,
|
|
6695
|
+
);
|
|
6696
|
+
}
|
|
6697
|
+
|
|
6698
|
+
/** @internal */
|
|
6699
|
+
export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
|
|
6700
|
+
CreateDeploymentHasValue,
|
|
6701
|
+
z.ZodTypeDef,
|
|
6702
|
+
unknown
|
|
6703
|
+
> = z.union([
|
|
6704
|
+
z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
|
|
6705
|
+
z.string(),
|
|
6706
|
+
]);
|
|
6707
|
+
|
|
6708
|
+
/** @internal */
|
|
6709
|
+
export type CreateDeploymentHasValue$Outbound =
|
|
6710
|
+
| CreateDeploymentValueDeployments2$Outbound
|
|
6711
|
+
| string;
|
|
6712
|
+
|
|
6713
|
+
/** @internal */
|
|
6714
|
+
export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
|
|
6715
|
+
CreateDeploymentHasValue$Outbound,
|
|
6716
|
+
z.ZodTypeDef,
|
|
6717
|
+
CreateDeploymentHasValue
|
|
6718
|
+
> = z.union([
|
|
6719
|
+
z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
|
|
6720
|
+
z.string(),
|
|
6721
|
+
]);
|
|
6722
|
+
|
|
6723
|
+
/**
|
|
6724
|
+
* @internal
|
|
6725
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6726
|
+
*/
|
|
6727
|
+
export namespace CreateDeploymentHasValue$ {
|
|
6728
|
+
/** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
|
|
6729
|
+
export const inboundSchema = CreateDeploymentHasValue$inboundSchema;
|
|
6730
|
+
/** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
|
|
6731
|
+
export const outboundSchema = CreateDeploymentHasValue$outboundSchema;
|
|
6732
|
+
/** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
|
|
6733
|
+
export type Outbound = CreateDeploymentHasValue$Outbound;
|
|
6734
|
+
}
|
|
6735
|
+
|
|
6736
|
+
export function createDeploymentHasValueToJSON(
|
|
6737
|
+
createDeploymentHasValue: CreateDeploymentHasValue,
|
|
6738
|
+
): string {
|
|
6739
|
+
return JSON.stringify(
|
|
6740
|
+
CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue),
|
|
6741
|
+
);
|
|
6742
|
+
}
|
|
6743
|
+
|
|
6744
|
+
export function createDeploymentHasValueFromJSON(
|
|
6745
|
+
jsonString: string,
|
|
6746
|
+
): SafeParseResult<CreateDeploymentHasValue, SDKValidationError> {
|
|
6747
|
+
return safeParse(
|
|
6748
|
+
jsonString,
|
|
6749
|
+
(x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
|
|
6750
|
+
`Failed to parse 'CreateDeploymentHasValue' from JSON`,
|
|
6751
|
+
);
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6483
6754
|
/** @internal */
|
|
6484
6755
|
export const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown> = z
|
|
6485
6756
|
.object({
|
|
6486
6757
|
type: CreateDeploymentHasType$inboundSchema,
|
|
6487
6758
|
key: z.string(),
|
|
6488
|
-
value: z.
|
|
6759
|
+
value: z.union([
|
|
6760
|
+
z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
|
|
6761
|
+
z.string(),
|
|
6762
|
+
]).optional(),
|
|
6489
6763
|
});
|
|
6490
6764
|
|
|
6491
6765
|
/** @internal */
|
|
6492
6766
|
export type Has2$Outbound = {
|
|
6493
6767
|
type: string;
|
|
6494
6768
|
key: string;
|
|
6495
|
-
value?: string | undefined;
|
|
6769
|
+
value?: CreateDeploymentValueDeployments2$Outbound | string | undefined;
|
|
6496
6770
|
};
|
|
6497
6771
|
|
|
6498
6772
|
/** @internal */
|
|
@@ -6500,7 +6774,10 @@ export const Has2$outboundSchema: z.ZodType<Has2$Outbound, z.ZodTypeDef, Has2> =
|
|
|
6500
6774
|
z.object({
|
|
6501
6775
|
type: CreateDeploymentHasType$outboundSchema,
|
|
6502
6776
|
key: z.string(),
|
|
6503
|
-
value: z.
|
|
6777
|
+
value: z.union([
|
|
6778
|
+
z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
|
|
6779
|
+
z.string(),
|
|
6780
|
+
]).optional(),
|
|
6504
6781
|
});
|
|
6505
6782
|
|
|
6506
6783
|
/**
|
|
@@ -6549,24 +6826,198 @@ export namespace HasType$ {
|
|
|
6549
6826
|
export const outboundSchema = HasType$outboundSchema;
|
|
6550
6827
|
}
|
|
6551
6828
|
|
|
6829
|
+
/** @internal */
|
|
6830
|
+
export const Eq$inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown> = z.union([
|
|
6831
|
+
z.string(),
|
|
6832
|
+
z.number(),
|
|
6833
|
+
]);
|
|
6834
|
+
|
|
6835
|
+
/** @internal */
|
|
6836
|
+
export type Eq$Outbound = string | number;
|
|
6837
|
+
|
|
6838
|
+
/** @internal */
|
|
6839
|
+
export const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq> = z
|
|
6840
|
+
.union([z.string(), z.number()]);
|
|
6841
|
+
|
|
6842
|
+
/**
|
|
6843
|
+
* @internal
|
|
6844
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6845
|
+
*/
|
|
6846
|
+
export namespace Eq$ {
|
|
6847
|
+
/** @deprecated use `Eq$inboundSchema` instead. */
|
|
6848
|
+
export const inboundSchema = Eq$inboundSchema;
|
|
6849
|
+
/** @deprecated use `Eq$outboundSchema` instead. */
|
|
6850
|
+
export const outboundSchema = Eq$outboundSchema;
|
|
6851
|
+
/** @deprecated use `Eq$Outbound` instead. */
|
|
6852
|
+
export type Outbound = Eq$Outbound;
|
|
6853
|
+
}
|
|
6854
|
+
|
|
6855
|
+
export function eqToJSON(eq: Eq): string {
|
|
6856
|
+
return JSON.stringify(Eq$outboundSchema.parse(eq));
|
|
6857
|
+
}
|
|
6858
|
+
|
|
6859
|
+
export function eqFromJSON(
|
|
6860
|
+
jsonString: string,
|
|
6861
|
+
): SafeParseResult<Eq, SDKValidationError> {
|
|
6862
|
+
return safeParse(
|
|
6863
|
+
jsonString,
|
|
6864
|
+
(x) => Eq$inboundSchema.parse(JSON.parse(x)),
|
|
6865
|
+
`Failed to parse 'Eq' from JSON`,
|
|
6866
|
+
);
|
|
6867
|
+
}
|
|
6868
|
+
|
|
6869
|
+
/** @internal */
|
|
6870
|
+
export const CreateDeploymentValue2$inboundSchema: z.ZodType<
|
|
6871
|
+
CreateDeploymentValue2,
|
|
6872
|
+
z.ZodTypeDef,
|
|
6873
|
+
unknown
|
|
6874
|
+
> = z.object({
|
|
6875
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
6876
|
+
neq: z.string().optional(),
|
|
6877
|
+
inc: z.array(z.string()).optional(),
|
|
6878
|
+
ninc: z.array(z.string()).optional(),
|
|
6879
|
+
pre: z.string().optional(),
|
|
6880
|
+
suf: z.string().optional(),
|
|
6881
|
+
re: z.string().optional(),
|
|
6882
|
+
gt: z.number().optional(),
|
|
6883
|
+
gte: z.number().optional(),
|
|
6884
|
+
lt: z.number().optional(),
|
|
6885
|
+
lte: z.number().optional(),
|
|
6886
|
+
});
|
|
6887
|
+
|
|
6888
|
+
/** @internal */
|
|
6889
|
+
export type CreateDeploymentValue2$Outbound = {
|
|
6890
|
+
eq?: string | number | undefined;
|
|
6891
|
+
neq?: string | undefined;
|
|
6892
|
+
inc?: Array<string> | undefined;
|
|
6893
|
+
ninc?: Array<string> | undefined;
|
|
6894
|
+
pre?: string | undefined;
|
|
6895
|
+
suf?: string | undefined;
|
|
6896
|
+
re?: string | undefined;
|
|
6897
|
+
gt?: number | undefined;
|
|
6898
|
+
gte?: number | undefined;
|
|
6899
|
+
lt?: number | undefined;
|
|
6900
|
+
lte?: number | undefined;
|
|
6901
|
+
};
|
|
6902
|
+
|
|
6903
|
+
/** @internal */
|
|
6904
|
+
export const CreateDeploymentValue2$outboundSchema: z.ZodType<
|
|
6905
|
+
CreateDeploymentValue2$Outbound,
|
|
6906
|
+
z.ZodTypeDef,
|
|
6907
|
+
CreateDeploymentValue2
|
|
6908
|
+
> = z.object({
|
|
6909
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
6910
|
+
neq: z.string().optional(),
|
|
6911
|
+
inc: z.array(z.string()).optional(),
|
|
6912
|
+
ninc: z.array(z.string()).optional(),
|
|
6913
|
+
pre: z.string().optional(),
|
|
6914
|
+
suf: z.string().optional(),
|
|
6915
|
+
re: z.string().optional(),
|
|
6916
|
+
gt: z.number().optional(),
|
|
6917
|
+
gte: z.number().optional(),
|
|
6918
|
+
lt: z.number().optional(),
|
|
6919
|
+
lte: z.number().optional(),
|
|
6920
|
+
});
|
|
6921
|
+
|
|
6922
|
+
/**
|
|
6923
|
+
* @internal
|
|
6924
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6925
|
+
*/
|
|
6926
|
+
export namespace CreateDeploymentValue2$ {
|
|
6927
|
+
/** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
|
|
6928
|
+
export const inboundSchema = CreateDeploymentValue2$inboundSchema;
|
|
6929
|
+
/** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
|
|
6930
|
+
export const outboundSchema = CreateDeploymentValue2$outboundSchema;
|
|
6931
|
+
/** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
|
|
6932
|
+
export type Outbound = CreateDeploymentValue2$Outbound;
|
|
6933
|
+
}
|
|
6934
|
+
|
|
6935
|
+
export function createDeploymentValue2ToJSON(
|
|
6936
|
+
createDeploymentValue2: CreateDeploymentValue2,
|
|
6937
|
+
): string {
|
|
6938
|
+
return JSON.stringify(
|
|
6939
|
+
CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2),
|
|
6940
|
+
);
|
|
6941
|
+
}
|
|
6942
|
+
|
|
6943
|
+
export function createDeploymentValue2FromJSON(
|
|
6944
|
+
jsonString: string,
|
|
6945
|
+
): SafeParseResult<CreateDeploymentValue2, SDKValidationError> {
|
|
6946
|
+
return safeParse(
|
|
6947
|
+
jsonString,
|
|
6948
|
+
(x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
|
|
6949
|
+
`Failed to parse 'CreateDeploymentValue2' from JSON`,
|
|
6950
|
+
);
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6953
|
+
/** @internal */
|
|
6954
|
+
export const HasValue$inboundSchema: z.ZodType<
|
|
6955
|
+
HasValue,
|
|
6956
|
+
z.ZodTypeDef,
|
|
6957
|
+
unknown
|
|
6958
|
+
> = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
|
|
6959
|
+
|
|
6960
|
+
/** @internal */
|
|
6961
|
+
export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
|
|
6962
|
+
|
|
6963
|
+
/** @internal */
|
|
6964
|
+
export const HasValue$outboundSchema: z.ZodType<
|
|
6965
|
+
HasValue$Outbound,
|
|
6966
|
+
z.ZodTypeDef,
|
|
6967
|
+
HasValue
|
|
6968
|
+
> = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
|
|
6969
|
+
|
|
6970
|
+
/**
|
|
6971
|
+
* @internal
|
|
6972
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6973
|
+
*/
|
|
6974
|
+
export namespace HasValue$ {
|
|
6975
|
+
/** @deprecated use `HasValue$inboundSchema` instead. */
|
|
6976
|
+
export const inboundSchema = HasValue$inboundSchema;
|
|
6977
|
+
/** @deprecated use `HasValue$outboundSchema` instead. */
|
|
6978
|
+
export const outboundSchema = HasValue$outboundSchema;
|
|
6979
|
+
/** @deprecated use `HasValue$Outbound` instead. */
|
|
6980
|
+
export type Outbound = HasValue$Outbound;
|
|
6981
|
+
}
|
|
6982
|
+
|
|
6983
|
+
export function hasValueToJSON(hasValue: HasValue): string {
|
|
6984
|
+
return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
|
|
6985
|
+
}
|
|
6986
|
+
|
|
6987
|
+
export function hasValueFromJSON(
|
|
6988
|
+
jsonString: string,
|
|
6989
|
+
): SafeParseResult<HasValue, SDKValidationError> {
|
|
6990
|
+
return safeParse(
|
|
6991
|
+
jsonString,
|
|
6992
|
+
(x) => HasValue$inboundSchema.parse(JSON.parse(x)),
|
|
6993
|
+
`Failed to parse 'HasValue' from JSON`,
|
|
6994
|
+
);
|
|
6995
|
+
}
|
|
6996
|
+
|
|
6552
6997
|
/** @internal */
|
|
6553
6998
|
export const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown> = z
|
|
6554
6999
|
.object({
|
|
6555
7000
|
type: HasType$inboundSchema,
|
|
6556
|
-
value: z.
|
|
7001
|
+
value: z.union([
|
|
7002
|
+
z.lazy(() => CreateDeploymentValue2$inboundSchema),
|
|
7003
|
+
z.string(),
|
|
7004
|
+
]),
|
|
6557
7005
|
});
|
|
6558
7006
|
|
|
6559
7007
|
/** @internal */
|
|
6560
7008
|
export type Has1$Outbound = {
|
|
6561
7009
|
type: string;
|
|
6562
|
-
value: string;
|
|
7010
|
+
value: CreateDeploymentValue2$Outbound | string;
|
|
6563
7011
|
};
|
|
6564
7012
|
|
|
6565
7013
|
/** @internal */
|
|
6566
7014
|
export const Has1$outboundSchema: z.ZodType<Has1$Outbound, z.ZodTypeDef, Has1> =
|
|
6567
7015
|
z.object({
|
|
6568
7016
|
type: HasType$outboundSchema,
|
|
6569
|
-
value: z.
|
|
7017
|
+
value: z.union([
|
|
7018
|
+
z.lazy(() => CreateDeploymentValue2$outboundSchema),
|
|
7019
|
+
z.string(),
|
|
7020
|
+
]),
|
|
6570
7021
|
});
|
|
6571
7022
|
|
|
6572
7023
|
/**
|
|
@@ -6667,6 +7118,213 @@ export namespace CreateDeploymentMissingType$ {
|
|
|
6667
7118
|
export const outboundSchema = CreateDeploymentMissingType$outboundSchema;
|
|
6668
7119
|
}
|
|
6669
7120
|
|
|
7121
|
+
/** @internal */
|
|
7122
|
+
export const CreateDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<
|
|
7123
|
+
CreateDeploymentValueDeploymentsEq,
|
|
7124
|
+
z.ZodTypeDef,
|
|
7125
|
+
unknown
|
|
7126
|
+
> = z.union([z.string(), z.number()]);
|
|
7127
|
+
|
|
7128
|
+
/** @internal */
|
|
7129
|
+
export type CreateDeploymentValueDeploymentsEq$Outbound = string | number;
|
|
7130
|
+
|
|
7131
|
+
/** @internal */
|
|
7132
|
+
export const CreateDeploymentValueDeploymentsEq$outboundSchema: z.ZodType<
|
|
7133
|
+
CreateDeploymentValueDeploymentsEq$Outbound,
|
|
7134
|
+
z.ZodTypeDef,
|
|
7135
|
+
CreateDeploymentValueDeploymentsEq
|
|
7136
|
+
> = z.union([z.string(), z.number()]);
|
|
7137
|
+
|
|
7138
|
+
/**
|
|
7139
|
+
* @internal
|
|
7140
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7141
|
+
*/
|
|
7142
|
+
export namespace CreateDeploymentValueDeploymentsEq$ {
|
|
7143
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsEq$inboundSchema` instead. */
|
|
7144
|
+
export const inboundSchema = CreateDeploymentValueDeploymentsEq$inboundSchema;
|
|
7145
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsEq$outboundSchema` instead. */
|
|
7146
|
+
export const outboundSchema =
|
|
7147
|
+
CreateDeploymentValueDeploymentsEq$outboundSchema;
|
|
7148
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsEq$Outbound` instead. */
|
|
7149
|
+
export type Outbound = CreateDeploymentValueDeploymentsEq$Outbound;
|
|
7150
|
+
}
|
|
7151
|
+
|
|
7152
|
+
export function createDeploymentValueDeploymentsEqToJSON(
|
|
7153
|
+
createDeploymentValueDeploymentsEq: CreateDeploymentValueDeploymentsEq,
|
|
7154
|
+
): string {
|
|
7155
|
+
return JSON.stringify(
|
|
7156
|
+
CreateDeploymentValueDeploymentsEq$outboundSchema.parse(
|
|
7157
|
+
createDeploymentValueDeploymentsEq,
|
|
7158
|
+
),
|
|
7159
|
+
);
|
|
7160
|
+
}
|
|
7161
|
+
|
|
7162
|
+
export function createDeploymentValueDeploymentsEqFromJSON(
|
|
7163
|
+
jsonString: string,
|
|
7164
|
+
): SafeParseResult<CreateDeploymentValueDeploymentsEq, SDKValidationError> {
|
|
7165
|
+
return safeParse(
|
|
7166
|
+
jsonString,
|
|
7167
|
+
(x) =>
|
|
7168
|
+
CreateDeploymentValueDeploymentsEq$inboundSchema.parse(JSON.parse(x)),
|
|
7169
|
+
`Failed to parse 'CreateDeploymentValueDeploymentsEq' from JSON`,
|
|
7170
|
+
);
|
|
7171
|
+
}
|
|
7172
|
+
|
|
7173
|
+
/** @internal */
|
|
7174
|
+
export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema:
|
|
7175
|
+
z.ZodType<
|
|
7176
|
+
CreateDeploymentValueDeploymentsResponse2002,
|
|
7177
|
+
z.ZodTypeDef,
|
|
7178
|
+
unknown
|
|
7179
|
+
> = z.object({
|
|
7180
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
7181
|
+
neq: z.string().optional(),
|
|
7182
|
+
inc: z.array(z.string()).optional(),
|
|
7183
|
+
ninc: z.array(z.string()).optional(),
|
|
7184
|
+
pre: z.string().optional(),
|
|
7185
|
+
suf: z.string().optional(),
|
|
7186
|
+
re: z.string().optional(),
|
|
7187
|
+
gt: z.number().optional(),
|
|
7188
|
+
gte: z.number().optional(),
|
|
7189
|
+
lt: z.number().optional(),
|
|
7190
|
+
lte: z.number().optional(),
|
|
7191
|
+
});
|
|
7192
|
+
|
|
7193
|
+
/** @internal */
|
|
7194
|
+
export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
|
|
7195
|
+
eq?: string | number | undefined;
|
|
7196
|
+
neq?: string | undefined;
|
|
7197
|
+
inc?: Array<string> | undefined;
|
|
7198
|
+
ninc?: Array<string> | undefined;
|
|
7199
|
+
pre?: string | undefined;
|
|
7200
|
+
suf?: string | undefined;
|
|
7201
|
+
re?: string | undefined;
|
|
7202
|
+
gt?: number | undefined;
|
|
7203
|
+
gte?: number | undefined;
|
|
7204
|
+
lt?: number | undefined;
|
|
7205
|
+
lte?: number | undefined;
|
|
7206
|
+
};
|
|
7207
|
+
|
|
7208
|
+
/** @internal */
|
|
7209
|
+
export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
|
|
7210
|
+
z.ZodType<
|
|
7211
|
+
CreateDeploymentValueDeploymentsResponse2002$Outbound,
|
|
7212
|
+
z.ZodTypeDef,
|
|
7213
|
+
CreateDeploymentValueDeploymentsResponse2002
|
|
7214
|
+
> = z.object({
|
|
7215
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
7216
|
+
neq: z.string().optional(),
|
|
7217
|
+
inc: z.array(z.string()).optional(),
|
|
7218
|
+
ninc: z.array(z.string()).optional(),
|
|
7219
|
+
pre: z.string().optional(),
|
|
7220
|
+
suf: z.string().optional(),
|
|
7221
|
+
re: z.string().optional(),
|
|
7222
|
+
gt: z.number().optional(),
|
|
7223
|
+
gte: z.number().optional(),
|
|
7224
|
+
lt: z.number().optional(),
|
|
7225
|
+
lte: z.number().optional(),
|
|
7226
|
+
});
|
|
7227
|
+
|
|
7228
|
+
/**
|
|
7229
|
+
* @internal
|
|
7230
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7231
|
+
*/
|
|
7232
|
+
export namespace CreateDeploymentValueDeploymentsResponse2002$ {
|
|
7233
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
|
|
7234
|
+
export const inboundSchema =
|
|
7235
|
+
CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
|
|
7236
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
|
|
7237
|
+
export const outboundSchema =
|
|
7238
|
+
CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
|
|
7239
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
|
|
7240
|
+
export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
|
|
7241
|
+
}
|
|
7242
|
+
|
|
7243
|
+
export function createDeploymentValueDeploymentsResponse2002ToJSON(
|
|
7244
|
+
createDeploymentValueDeploymentsResponse2002:
|
|
7245
|
+
CreateDeploymentValueDeploymentsResponse2002,
|
|
7246
|
+
): string {
|
|
7247
|
+
return JSON.stringify(
|
|
7248
|
+
CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
|
|
7249
|
+
createDeploymentValueDeploymentsResponse2002,
|
|
7250
|
+
),
|
|
7251
|
+
);
|
|
7252
|
+
}
|
|
7253
|
+
|
|
7254
|
+
export function createDeploymentValueDeploymentsResponse2002FromJSON(
|
|
7255
|
+
jsonString: string,
|
|
7256
|
+
): SafeParseResult<
|
|
7257
|
+
CreateDeploymentValueDeploymentsResponse2002,
|
|
7258
|
+
SDKValidationError
|
|
7259
|
+
> {
|
|
7260
|
+
return safeParse(
|
|
7261
|
+
jsonString,
|
|
7262
|
+
(x) =>
|
|
7263
|
+
CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
|
|
7264
|
+
JSON.parse(x),
|
|
7265
|
+
),
|
|
7266
|
+
`Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`,
|
|
7267
|
+
);
|
|
7268
|
+
}
|
|
7269
|
+
|
|
7270
|
+
/** @internal */
|
|
7271
|
+
export const CreateDeploymentMissingValue$inboundSchema: z.ZodType<
|
|
7272
|
+
CreateDeploymentMissingValue,
|
|
7273
|
+
z.ZodTypeDef,
|
|
7274
|
+
unknown
|
|
7275
|
+
> = z.union([
|
|
7276
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
|
|
7277
|
+
z.string(),
|
|
7278
|
+
]);
|
|
7279
|
+
|
|
7280
|
+
/** @internal */
|
|
7281
|
+
export type CreateDeploymentMissingValue$Outbound =
|
|
7282
|
+
| CreateDeploymentValueDeploymentsResponse2002$Outbound
|
|
7283
|
+
| string;
|
|
7284
|
+
|
|
7285
|
+
/** @internal */
|
|
7286
|
+
export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
|
|
7287
|
+
CreateDeploymentMissingValue$Outbound,
|
|
7288
|
+
z.ZodTypeDef,
|
|
7289
|
+
CreateDeploymentMissingValue
|
|
7290
|
+
> = z.union([
|
|
7291
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
|
|
7292
|
+
z.string(),
|
|
7293
|
+
]);
|
|
7294
|
+
|
|
7295
|
+
/**
|
|
7296
|
+
* @internal
|
|
7297
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7298
|
+
*/
|
|
7299
|
+
export namespace CreateDeploymentMissingValue$ {
|
|
7300
|
+
/** @deprecated use `CreateDeploymentMissingValue$inboundSchema` instead. */
|
|
7301
|
+
export const inboundSchema = CreateDeploymentMissingValue$inboundSchema;
|
|
7302
|
+
/** @deprecated use `CreateDeploymentMissingValue$outboundSchema` instead. */
|
|
7303
|
+
export const outboundSchema = CreateDeploymentMissingValue$outboundSchema;
|
|
7304
|
+
/** @deprecated use `CreateDeploymentMissingValue$Outbound` instead. */
|
|
7305
|
+
export type Outbound = CreateDeploymentMissingValue$Outbound;
|
|
7306
|
+
}
|
|
7307
|
+
|
|
7308
|
+
export function createDeploymentMissingValueToJSON(
|
|
7309
|
+
createDeploymentMissingValue: CreateDeploymentMissingValue,
|
|
7310
|
+
): string {
|
|
7311
|
+
return JSON.stringify(
|
|
7312
|
+
CreateDeploymentMissingValue$outboundSchema.parse(
|
|
7313
|
+
createDeploymentMissingValue,
|
|
7314
|
+
),
|
|
7315
|
+
);
|
|
7316
|
+
}
|
|
7317
|
+
|
|
7318
|
+
export function createDeploymentMissingValueFromJSON(
|
|
7319
|
+
jsonString: string,
|
|
7320
|
+
): SafeParseResult<CreateDeploymentMissingValue, SDKValidationError> {
|
|
7321
|
+
return safeParse(
|
|
7322
|
+
jsonString,
|
|
7323
|
+
(x) => CreateDeploymentMissingValue$inboundSchema.parse(JSON.parse(x)),
|
|
7324
|
+
`Failed to parse 'CreateDeploymentMissingValue' from JSON`,
|
|
7325
|
+
);
|
|
7326
|
+
}
|
|
7327
|
+
|
|
6670
7328
|
/** @internal */
|
|
6671
7329
|
export const Missing2$inboundSchema: z.ZodType<
|
|
6672
7330
|
Missing2,
|
|
@@ -6675,14 +7333,20 @@ export const Missing2$inboundSchema: z.ZodType<
|
|
|
6675
7333
|
> = z.object({
|
|
6676
7334
|
type: CreateDeploymentMissingType$inboundSchema,
|
|
6677
7335
|
key: z.string(),
|
|
6678
|
-
value: z.
|
|
7336
|
+
value: z.union([
|
|
7337
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
|
|
7338
|
+
z.string(),
|
|
7339
|
+
]).optional(),
|
|
6679
7340
|
});
|
|
6680
7341
|
|
|
6681
7342
|
/** @internal */
|
|
6682
7343
|
export type Missing2$Outbound = {
|
|
6683
7344
|
type: string;
|
|
6684
7345
|
key: string;
|
|
6685
|
-
value?:
|
|
7346
|
+
value?:
|
|
7347
|
+
| CreateDeploymentValueDeploymentsResponse2002$Outbound
|
|
7348
|
+
| string
|
|
7349
|
+
| undefined;
|
|
6686
7350
|
};
|
|
6687
7351
|
|
|
6688
7352
|
/** @internal */
|
|
@@ -6693,7 +7357,10 @@ export const Missing2$outboundSchema: z.ZodType<
|
|
|
6693
7357
|
> = z.object({
|
|
6694
7358
|
type: CreateDeploymentMissingType$outboundSchema,
|
|
6695
7359
|
key: z.string(),
|
|
6696
|
-
value: z.
|
|
7360
|
+
value: z.union([
|
|
7361
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
|
|
7362
|
+
z.string(),
|
|
7363
|
+
]).optional(),
|
|
6697
7364
|
});
|
|
6698
7365
|
|
|
6699
7366
|
/**
|
|
@@ -6742,6 +7409,202 @@ export namespace MissingType$ {
|
|
|
6742
7409
|
export const outboundSchema = MissingType$outboundSchema;
|
|
6743
7410
|
}
|
|
6744
7411
|
|
|
7412
|
+
/** @internal */
|
|
7413
|
+
export const CreateDeploymentValueEq$inboundSchema: z.ZodType<
|
|
7414
|
+
CreateDeploymentValueEq,
|
|
7415
|
+
z.ZodTypeDef,
|
|
7416
|
+
unknown
|
|
7417
|
+
> = z.union([z.string(), z.number()]);
|
|
7418
|
+
|
|
7419
|
+
/** @internal */
|
|
7420
|
+
export type CreateDeploymentValueEq$Outbound = string | number;
|
|
7421
|
+
|
|
7422
|
+
/** @internal */
|
|
7423
|
+
export const CreateDeploymentValueEq$outboundSchema: z.ZodType<
|
|
7424
|
+
CreateDeploymentValueEq$Outbound,
|
|
7425
|
+
z.ZodTypeDef,
|
|
7426
|
+
CreateDeploymentValueEq
|
|
7427
|
+
> = z.union([z.string(), z.number()]);
|
|
7428
|
+
|
|
7429
|
+
/**
|
|
7430
|
+
* @internal
|
|
7431
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7432
|
+
*/
|
|
7433
|
+
export namespace CreateDeploymentValueEq$ {
|
|
7434
|
+
/** @deprecated use `CreateDeploymentValueEq$inboundSchema` instead. */
|
|
7435
|
+
export const inboundSchema = CreateDeploymentValueEq$inboundSchema;
|
|
7436
|
+
/** @deprecated use `CreateDeploymentValueEq$outboundSchema` instead. */
|
|
7437
|
+
export const outboundSchema = CreateDeploymentValueEq$outboundSchema;
|
|
7438
|
+
/** @deprecated use `CreateDeploymentValueEq$Outbound` instead. */
|
|
7439
|
+
export type Outbound = CreateDeploymentValueEq$Outbound;
|
|
7440
|
+
}
|
|
7441
|
+
|
|
7442
|
+
export function createDeploymentValueEqToJSON(
|
|
7443
|
+
createDeploymentValueEq: CreateDeploymentValueEq,
|
|
7444
|
+
): string {
|
|
7445
|
+
return JSON.stringify(
|
|
7446
|
+
CreateDeploymentValueEq$outboundSchema.parse(createDeploymentValueEq),
|
|
7447
|
+
);
|
|
7448
|
+
}
|
|
7449
|
+
|
|
7450
|
+
export function createDeploymentValueEqFromJSON(
|
|
7451
|
+
jsonString: string,
|
|
7452
|
+
): SafeParseResult<CreateDeploymentValueEq, SDKValidationError> {
|
|
7453
|
+
return safeParse(
|
|
7454
|
+
jsonString,
|
|
7455
|
+
(x) => CreateDeploymentValueEq$inboundSchema.parse(JSON.parse(x)),
|
|
7456
|
+
`Failed to parse 'CreateDeploymentValueEq' from JSON`,
|
|
7457
|
+
);
|
|
7458
|
+
}
|
|
7459
|
+
|
|
7460
|
+
/** @internal */
|
|
7461
|
+
export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
|
|
7462
|
+
CreateDeploymentValueDeploymentsResponse2,
|
|
7463
|
+
z.ZodTypeDef,
|
|
7464
|
+
unknown
|
|
7465
|
+
> = z.object({
|
|
7466
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
7467
|
+
neq: z.string().optional(),
|
|
7468
|
+
inc: z.array(z.string()).optional(),
|
|
7469
|
+
ninc: z.array(z.string()).optional(),
|
|
7470
|
+
pre: z.string().optional(),
|
|
7471
|
+
suf: z.string().optional(),
|
|
7472
|
+
re: z.string().optional(),
|
|
7473
|
+
gt: z.number().optional(),
|
|
7474
|
+
gte: z.number().optional(),
|
|
7475
|
+
lt: z.number().optional(),
|
|
7476
|
+
lte: z.number().optional(),
|
|
7477
|
+
});
|
|
7478
|
+
|
|
7479
|
+
/** @internal */
|
|
7480
|
+
export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
|
|
7481
|
+
eq?: string | number | undefined;
|
|
7482
|
+
neq?: string | undefined;
|
|
7483
|
+
inc?: Array<string> | undefined;
|
|
7484
|
+
ninc?: Array<string> | undefined;
|
|
7485
|
+
pre?: string | undefined;
|
|
7486
|
+
suf?: string | undefined;
|
|
7487
|
+
re?: string | undefined;
|
|
7488
|
+
gt?: number | undefined;
|
|
7489
|
+
gte?: number | undefined;
|
|
7490
|
+
lt?: number | undefined;
|
|
7491
|
+
lte?: number | undefined;
|
|
7492
|
+
};
|
|
7493
|
+
|
|
7494
|
+
/** @internal */
|
|
7495
|
+
export const CreateDeploymentValueDeploymentsResponse2$outboundSchema:
|
|
7496
|
+
z.ZodType<
|
|
7497
|
+
CreateDeploymentValueDeploymentsResponse2$Outbound,
|
|
7498
|
+
z.ZodTypeDef,
|
|
7499
|
+
CreateDeploymentValueDeploymentsResponse2
|
|
7500
|
+
> = z.object({
|
|
7501
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
7502
|
+
neq: z.string().optional(),
|
|
7503
|
+
inc: z.array(z.string()).optional(),
|
|
7504
|
+
ninc: z.array(z.string()).optional(),
|
|
7505
|
+
pre: z.string().optional(),
|
|
7506
|
+
suf: z.string().optional(),
|
|
7507
|
+
re: z.string().optional(),
|
|
7508
|
+
gt: z.number().optional(),
|
|
7509
|
+
gte: z.number().optional(),
|
|
7510
|
+
lt: z.number().optional(),
|
|
7511
|
+
lte: z.number().optional(),
|
|
7512
|
+
});
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* @internal
|
|
7516
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7517
|
+
*/
|
|
7518
|
+
export namespace CreateDeploymentValueDeploymentsResponse2$ {
|
|
7519
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
|
|
7520
|
+
export const inboundSchema =
|
|
7521
|
+
CreateDeploymentValueDeploymentsResponse2$inboundSchema;
|
|
7522
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
|
|
7523
|
+
export const outboundSchema =
|
|
7524
|
+
CreateDeploymentValueDeploymentsResponse2$outboundSchema;
|
|
7525
|
+
/** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
|
|
7526
|
+
export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
|
|
7527
|
+
}
|
|
7528
|
+
|
|
7529
|
+
export function createDeploymentValueDeploymentsResponse2ToJSON(
|
|
7530
|
+
createDeploymentValueDeploymentsResponse2:
|
|
7531
|
+
CreateDeploymentValueDeploymentsResponse2,
|
|
7532
|
+
): string {
|
|
7533
|
+
return JSON.stringify(
|
|
7534
|
+
CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(
|
|
7535
|
+
createDeploymentValueDeploymentsResponse2,
|
|
7536
|
+
),
|
|
7537
|
+
);
|
|
7538
|
+
}
|
|
7539
|
+
|
|
7540
|
+
export function createDeploymentValueDeploymentsResponse2FromJSON(
|
|
7541
|
+
jsonString: string,
|
|
7542
|
+
): SafeParseResult<
|
|
7543
|
+
CreateDeploymentValueDeploymentsResponse2,
|
|
7544
|
+
SDKValidationError
|
|
7545
|
+
> {
|
|
7546
|
+
return safeParse(
|
|
7547
|
+
jsonString,
|
|
7548
|
+
(x) =>
|
|
7549
|
+
CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(
|
|
7550
|
+
JSON.parse(x),
|
|
7551
|
+
),
|
|
7552
|
+
`Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`,
|
|
7553
|
+
);
|
|
7554
|
+
}
|
|
7555
|
+
|
|
7556
|
+
/** @internal */
|
|
7557
|
+
export const MissingValue$inboundSchema: z.ZodType<
|
|
7558
|
+
MissingValue,
|
|
7559
|
+
z.ZodTypeDef,
|
|
7560
|
+
unknown
|
|
7561
|
+
> = z.union([
|
|
7562
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
|
|
7563
|
+
z.string(),
|
|
7564
|
+
]);
|
|
7565
|
+
|
|
7566
|
+
/** @internal */
|
|
7567
|
+
export type MissingValue$Outbound =
|
|
7568
|
+
| CreateDeploymentValueDeploymentsResponse2$Outbound
|
|
7569
|
+
| string;
|
|
7570
|
+
|
|
7571
|
+
/** @internal */
|
|
7572
|
+
export const MissingValue$outboundSchema: z.ZodType<
|
|
7573
|
+
MissingValue$Outbound,
|
|
7574
|
+
z.ZodTypeDef,
|
|
7575
|
+
MissingValue
|
|
7576
|
+
> = z.union([
|
|
7577
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
|
|
7578
|
+
z.string(),
|
|
7579
|
+
]);
|
|
7580
|
+
|
|
7581
|
+
/**
|
|
7582
|
+
* @internal
|
|
7583
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7584
|
+
*/
|
|
7585
|
+
export namespace MissingValue$ {
|
|
7586
|
+
/** @deprecated use `MissingValue$inboundSchema` instead. */
|
|
7587
|
+
export const inboundSchema = MissingValue$inboundSchema;
|
|
7588
|
+
/** @deprecated use `MissingValue$outboundSchema` instead. */
|
|
7589
|
+
export const outboundSchema = MissingValue$outboundSchema;
|
|
7590
|
+
/** @deprecated use `MissingValue$Outbound` instead. */
|
|
7591
|
+
export type Outbound = MissingValue$Outbound;
|
|
7592
|
+
}
|
|
7593
|
+
|
|
7594
|
+
export function missingValueToJSON(missingValue: MissingValue): string {
|
|
7595
|
+
return JSON.stringify(MissingValue$outboundSchema.parse(missingValue));
|
|
7596
|
+
}
|
|
7597
|
+
|
|
7598
|
+
export function missingValueFromJSON(
|
|
7599
|
+
jsonString: string,
|
|
7600
|
+
): SafeParseResult<MissingValue, SDKValidationError> {
|
|
7601
|
+
return safeParse(
|
|
7602
|
+
jsonString,
|
|
7603
|
+
(x) => MissingValue$inboundSchema.parse(JSON.parse(x)),
|
|
7604
|
+
`Failed to parse 'MissingValue' from JSON`,
|
|
7605
|
+
);
|
|
7606
|
+
}
|
|
7607
|
+
|
|
6745
7608
|
/** @internal */
|
|
6746
7609
|
export const Missing1$inboundSchema: z.ZodType<
|
|
6747
7610
|
Missing1,
|
|
@@ -6749,13 +7612,16 @@ export const Missing1$inboundSchema: z.ZodType<
|
|
|
6749
7612
|
unknown
|
|
6750
7613
|
> = z.object({
|
|
6751
7614
|
type: MissingType$inboundSchema,
|
|
6752
|
-
value: z.
|
|
7615
|
+
value: z.union([
|
|
7616
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
|
|
7617
|
+
z.string(),
|
|
7618
|
+
]),
|
|
6753
7619
|
});
|
|
6754
7620
|
|
|
6755
7621
|
/** @internal */
|
|
6756
7622
|
export type Missing1$Outbound = {
|
|
6757
7623
|
type: string;
|
|
6758
|
-
value: string;
|
|
7624
|
+
value: CreateDeploymentValueDeploymentsResponse2$Outbound | string;
|
|
6759
7625
|
};
|
|
6760
7626
|
|
|
6761
7627
|
/** @internal */
|
|
@@ -6765,7 +7631,10 @@ export const Missing1$outboundSchema: z.ZodType<
|
|
|
6765
7631
|
Missing1
|
|
6766
7632
|
> = z.object({
|
|
6767
7633
|
type: MissingType$outboundSchema,
|
|
6768
|
-
value: z.
|
|
7634
|
+
value: z.union([
|
|
7635
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
|
|
7636
|
+
z.string(),
|
|
7637
|
+
]),
|
|
6769
7638
|
});
|
|
6770
7639
|
|
|
6771
7640
|
/**
|
|
@@ -6845,6 +7714,75 @@ export function routesMissingFromJSON(
|
|
|
6845
7714
|
);
|
|
6846
7715
|
}
|
|
6847
7716
|
|
|
7717
|
+
/** @internal */
|
|
7718
|
+
export const RoutesAction$inboundSchema: z.ZodNativeEnum<typeof RoutesAction> =
|
|
7719
|
+
z.nativeEnum(RoutesAction);
|
|
7720
|
+
|
|
7721
|
+
/** @internal */
|
|
7722
|
+
export const RoutesAction$outboundSchema: z.ZodNativeEnum<typeof RoutesAction> =
|
|
7723
|
+
RoutesAction$inboundSchema;
|
|
7724
|
+
|
|
7725
|
+
/**
|
|
7726
|
+
* @internal
|
|
7727
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7728
|
+
*/
|
|
7729
|
+
export namespace RoutesAction$ {
|
|
7730
|
+
/** @deprecated use `RoutesAction$inboundSchema` instead. */
|
|
7731
|
+
export const inboundSchema = RoutesAction$inboundSchema;
|
|
7732
|
+
/** @deprecated use `RoutesAction$outboundSchema` instead. */
|
|
7733
|
+
export const outboundSchema = RoutesAction$outboundSchema;
|
|
7734
|
+
}
|
|
7735
|
+
|
|
7736
|
+
/** @internal */
|
|
7737
|
+
export const RoutesMitigate$inboundSchema: z.ZodType<
|
|
7738
|
+
RoutesMitigate,
|
|
7739
|
+
z.ZodTypeDef,
|
|
7740
|
+
unknown
|
|
7741
|
+
> = z.object({
|
|
7742
|
+
action: RoutesAction$inboundSchema,
|
|
7743
|
+
});
|
|
7744
|
+
|
|
7745
|
+
/** @internal */
|
|
7746
|
+
export type RoutesMitigate$Outbound = {
|
|
7747
|
+
action: string;
|
|
7748
|
+
};
|
|
7749
|
+
|
|
7750
|
+
/** @internal */
|
|
7751
|
+
export const RoutesMitigate$outboundSchema: z.ZodType<
|
|
7752
|
+
RoutesMitigate$Outbound,
|
|
7753
|
+
z.ZodTypeDef,
|
|
7754
|
+
RoutesMitigate
|
|
7755
|
+
> = z.object({
|
|
7756
|
+
action: RoutesAction$outboundSchema,
|
|
7757
|
+
});
|
|
7758
|
+
|
|
7759
|
+
/**
|
|
7760
|
+
* @internal
|
|
7761
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7762
|
+
*/
|
|
7763
|
+
export namespace RoutesMitigate$ {
|
|
7764
|
+
/** @deprecated use `RoutesMitigate$inboundSchema` instead. */
|
|
7765
|
+
export const inboundSchema = RoutesMitigate$inboundSchema;
|
|
7766
|
+
/** @deprecated use `RoutesMitigate$outboundSchema` instead. */
|
|
7767
|
+
export const outboundSchema = RoutesMitigate$outboundSchema;
|
|
7768
|
+
/** @deprecated use `RoutesMitigate$Outbound` instead. */
|
|
7769
|
+
export type Outbound = RoutesMitigate$Outbound;
|
|
7770
|
+
}
|
|
7771
|
+
|
|
7772
|
+
export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string {
|
|
7773
|
+
return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7776
|
+
export function routesMitigateFromJSON(
|
|
7777
|
+
jsonString: string,
|
|
7778
|
+
): SafeParseResult<RoutesMitigate, SDKValidationError> {
|
|
7779
|
+
return safeParse(
|
|
7780
|
+
jsonString,
|
|
7781
|
+
(x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)),
|
|
7782
|
+
`Failed to parse 'RoutesMitigate' from JSON`,
|
|
7783
|
+
);
|
|
7784
|
+
}
|
|
7785
|
+
|
|
6848
7786
|
/** @internal */
|
|
6849
7787
|
export const Locale$inboundSchema: z.ZodType<Locale, z.ZodTypeDef, unknown> = z
|
|
6850
7788
|
.object({
|
|
@@ -6920,6 +7858,7 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
|
|
|
6920
7858
|
z.lazy(() => Missing2$inboundSchema),
|
|
6921
7859
|
]),
|
|
6922
7860
|
).optional(),
|
|
7861
|
+
mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
|
|
6923
7862
|
locale: z.lazy(() => Locale$inboundSchema).optional(),
|
|
6924
7863
|
middlewarePath: z.string().optional(),
|
|
6925
7864
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -6940,6 +7879,7 @@ export type Routes1$Outbound = {
|
|
|
6940
7879
|
status?: number | undefined;
|
|
6941
7880
|
has?: Array<Has1$Outbound | Has2$Outbound> | undefined;
|
|
6942
7881
|
missing?: Array<Missing1$Outbound | Missing2$Outbound> | undefined;
|
|
7882
|
+
mitigate?: RoutesMitigate$Outbound | undefined;
|
|
6943
7883
|
locale?: Locale$Outbound | undefined;
|
|
6944
7884
|
middlewarePath?: string | undefined;
|
|
6945
7885
|
middlewareRawSrc?: Array<string> | undefined;
|
|
@@ -6974,6 +7914,7 @@ export const Routes1$outboundSchema: z.ZodType<
|
|
|
6974
7914
|
z.lazy(() => Missing2$outboundSchema),
|
|
6975
7915
|
]),
|
|
6976
7916
|
).optional(),
|
|
7917
|
+
mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
|
|
6977
7918
|
locale: z.lazy(() => Locale$outboundSchema).optional(),
|
|
6978
7919
|
middlewarePath: z.string().optional(),
|
|
6979
7920
|
middlewareRawSrc: z.array(z.string()).optional(),
|