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