@vercel/sdk 1.10.8 → 1.11.0
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 +3715 -927
- package/bin/mcp-server.js.map +20 -20
- package/esm/__tests__/accessgroups.test.js +6 -6
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +5 -6
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +2 -2
- package/esm/__tests__/teams.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 +41 -41
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +43 -41
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +98 -98
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +113 -117
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +240 -240
- package/esm/models/createintegrationstoredirectop.js +294 -294
- package/esm/models/createprojectop.d.ts +1626 -281
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +1676 -298
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +72 -66
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +24 -22
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getdeploymentop.d.ts +16 -16
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +24 -24
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +1402 -57
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +1575 -202
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +36 -33
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +12 -11
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +72 -66
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +24 -22
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/listaccessgroupsop.d.ts +2 -5
- package/esm/models/listaccessgroupsop.d.ts.map +1 -1
- package/esm/models/listaccessgroupsop.js +2 -2
- package/esm/models/listaccessgroupsop.js.map +1 -1
- package/esm/models/readaccessgroupop.d.ts +48 -5
- package/esm/models/readaccessgroupop.d.ts.map +1 -1
- package/esm/models/readaccessgroupop.js +30 -2
- package/esm/models/readaccessgroupop.js.map +1 -1
- package/esm/models/team.d.ts +35 -18
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +15 -13
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +1402 -57
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +1584 -200
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +1402 -57
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +1579 -202
- package/esm/models/updateprojectop.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/examples/projectsUpdateProject.example.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +6 -6
- package/src/__tests__/domains.test.ts +5 -6
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +2 -2
- package/src/__tests__/security.test.ts +11 -1
- package/src/__tests__/teams.test.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 +84 -64
- package/src/models/createdeploymentop.ts +239 -192
- package/src/models/createintegrationstoredirectop.ts +505 -505
- package/src/models/createprojectop.ts +3443 -466
- package/src/models/createwebhookop.ts +24 -22
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getdeploymentop.ts +34 -34
- package/src/models/getprojectsop.ts +3255 -300
- package/src/models/getwebhookop.ts +12 -11
- package/src/models/getwebhooksop.ts +24 -22
- package/src/models/listaccessgroupsop.ts +4 -7
- package/src/models/readaccessgroupop.ts +42 -7
- package/src/models/team.ts +47 -28
- package/src/models/updateprojectdatacacheop.ts +3184 -307
- package/src/models/updateprojectop.ts +3290 -298
- package/vercel-spec.json +4895 -2034
|
@@ -1322,13 +1322,13 @@ export type Routes2 = {
|
|
|
1322
1322
|
status?: number | undefined;
|
|
1323
1323
|
};
|
|
1324
1324
|
|
|
1325
|
-
export const
|
|
1325
|
+
export const CreateDeploymentHasDeploymentsType = {
|
|
1326
1326
|
Header: "header",
|
|
1327
1327
|
Cookie: "cookie",
|
|
1328
1328
|
Query: "query",
|
|
1329
1329
|
} as const;
|
|
1330
|
-
export type
|
|
1331
|
-
typeof
|
|
1330
|
+
export type CreateDeploymentHasDeploymentsType = ClosedEnum<
|
|
1331
|
+
typeof CreateDeploymentHasDeploymentsType
|
|
1332
1332
|
>;
|
|
1333
1333
|
|
|
1334
1334
|
export type ValueEq = string | number;
|
|
@@ -1347,18 +1347,22 @@ export type CreateDeploymentValue2 = {
|
|
|
1347
1347
|
lte?: number | undefined;
|
|
1348
1348
|
};
|
|
1349
1349
|
|
|
1350
|
-
export type
|
|
1350
|
+
export type CreateDeploymentHasDeploymentsValue =
|
|
1351
|
+
| CreateDeploymentValue2
|
|
1352
|
+
| string;
|
|
1351
1353
|
|
|
1352
|
-
export type
|
|
1353
|
-
type:
|
|
1354
|
+
export type CreateDeploymentHas2 = {
|
|
1355
|
+
type: CreateDeploymentHasDeploymentsType;
|
|
1354
1356
|
key: string;
|
|
1355
1357
|
value?: CreateDeploymentValue2 | string | undefined;
|
|
1356
1358
|
};
|
|
1357
1359
|
|
|
1358
|
-
export const
|
|
1360
|
+
export const CreateDeploymentHasType = {
|
|
1359
1361
|
Host: "host",
|
|
1360
1362
|
} as const;
|
|
1361
|
-
export type
|
|
1363
|
+
export type CreateDeploymentHasType = ClosedEnum<
|
|
1364
|
+
typeof CreateDeploymentHasType
|
|
1365
|
+
>;
|
|
1362
1366
|
|
|
1363
1367
|
export type Eq = string | number;
|
|
1364
1368
|
|
|
@@ -1380,12 +1384,12 @@ export type CreateDeploymentHasValue =
|
|
|
1380
1384
|
| CreateDeploymentValueDeploymentsResponse2002
|
|
1381
1385
|
| string;
|
|
1382
1386
|
|
|
1383
|
-
export type
|
|
1384
|
-
type:
|
|
1387
|
+
export type CreateDeploymentHas1 = {
|
|
1388
|
+
type: CreateDeploymentHasType;
|
|
1385
1389
|
value: CreateDeploymentValueDeploymentsResponse2002 | string;
|
|
1386
1390
|
};
|
|
1387
1391
|
|
|
1388
|
-
export type
|
|
1392
|
+
export type RoutesHas = CreateDeploymentHas1 | CreateDeploymentHas2;
|
|
1389
1393
|
|
|
1390
1394
|
export const CreateDeploymentMissingType = {
|
|
1391
1395
|
Header: "header",
|
|
@@ -1458,7 +1462,7 @@ export const RoutesAction = {
|
|
|
1458
1462
|
} as const;
|
|
1459
1463
|
export type RoutesAction = ClosedEnum<typeof RoutesAction>;
|
|
1460
1464
|
|
|
1461
|
-
export type
|
|
1465
|
+
export type RoutesMitigate = {
|
|
1462
1466
|
action: RoutesAction;
|
|
1463
1467
|
};
|
|
1464
1468
|
|
|
@@ -1493,7 +1497,7 @@ export type Key2 = {
|
|
|
1493
1497
|
lte?: number | undefined;
|
|
1494
1498
|
};
|
|
1495
1499
|
|
|
1496
|
-
export type
|
|
1500
|
+
export type RoutesKey = Key2 | string;
|
|
1497
1501
|
|
|
1498
1502
|
export type RoutesTarget = {
|
|
1499
1503
|
key: Key2 | string;
|
|
@@ -1524,9 +1528,9 @@ export type Routes1 = {
|
|
|
1524
1528
|
check?: boolean | undefined;
|
|
1525
1529
|
important?: boolean | undefined;
|
|
1526
1530
|
status?: number | undefined;
|
|
1527
|
-
has?: Array<
|
|
1531
|
+
has?: Array<CreateDeploymentHas1 | CreateDeploymentHas2> | undefined;
|
|
1528
1532
|
missing?: Array<Missing1 | Missing2> | undefined;
|
|
1529
|
-
mitigate?:
|
|
1533
|
+
mitigate?: RoutesMitigate | undefined;
|
|
1530
1534
|
transforms?: Array<Transforms> | undefined;
|
|
1531
1535
|
locale?: Locale | undefined;
|
|
1532
1536
|
/**
|
|
@@ -7166,24 +7170,25 @@ export function routes2FromJSON(
|
|
|
7166
7170
|
}
|
|
7167
7171
|
|
|
7168
7172
|
/** @internal */
|
|
7169
|
-
export const
|
|
7170
|
-
typeof
|
|
7171
|
-
> = z.nativeEnum(
|
|
7173
|
+
export const CreateDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum<
|
|
7174
|
+
typeof CreateDeploymentHasDeploymentsType
|
|
7175
|
+
> = z.nativeEnum(CreateDeploymentHasDeploymentsType);
|
|
7172
7176
|
|
|
7173
7177
|
/** @internal */
|
|
7174
|
-
export const
|
|
7175
|
-
typeof
|
|
7176
|
-
> =
|
|
7178
|
+
export const CreateDeploymentHasDeploymentsType$outboundSchema: z.ZodNativeEnum<
|
|
7179
|
+
typeof CreateDeploymentHasDeploymentsType
|
|
7180
|
+
> = CreateDeploymentHasDeploymentsType$inboundSchema;
|
|
7177
7181
|
|
|
7178
7182
|
/**
|
|
7179
7183
|
* @internal
|
|
7180
7184
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7181
7185
|
*/
|
|
7182
|
-
export namespace
|
|
7183
|
-
/** @deprecated use `
|
|
7184
|
-
export const inboundSchema =
|
|
7185
|
-
/** @deprecated use `
|
|
7186
|
-
export const outboundSchema =
|
|
7186
|
+
export namespace CreateDeploymentHasDeploymentsType$ {
|
|
7187
|
+
/** @deprecated use `CreateDeploymentHasDeploymentsType$inboundSchema` instead. */
|
|
7188
|
+
export const inboundSchema = CreateDeploymentHasDeploymentsType$inboundSchema;
|
|
7189
|
+
/** @deprecated use `CreateDeploymentHasDeploymentsType$outboundSchema` instead. */
|
|
7190
|
+
export const outboundSchema =
|
|
7191
|
+
CreateDeploymentHasDeploymentsType$outboundSchema;
|
|
7187
7192
|
}
|
|
7188
7193
|
|
|
7189
7194
|
/** @internal */
|
|
@@ -7312,122 +7317,145 @@ export function createDeploymentValue2FromJSON(
|
|
|
7312
7317
|
}
|
|
7313
7318
|
|
|
7314
7319
|
/** @internal */
|
|
7315
|
-
export const
|
|
7316
|
-
|
|
7320
|
+
export const CreateDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<
|
|
7321
|
+
CreateDeploymentHasDeploymentsValue,
|
|
7317
7322
|
z.ZodTypeDef,
|
|
7318
7323
|
unknown
|
|
7319
7324
|
> = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
|
|
7320
7325
|
|
|
7321
7326
|
/** @internal */
|
|
7322
|
-
export type
|
|
7327
|
+
export type CreateDeploymentHasDeploymentsValue$Outbound =
|
|
7328
|
+
| CreateDeploymentValue2$Outbound
|
|
7329
|
+
| string;
|
|
7323
7330
|
|
|
7324
7331
|
/** @internal */
|
|
7325
|
-
export const
|
|
7326
|
-
|
|
7332
|
+
export const CreateDeploymentHasDeploymentsValue$outboundSchema: z.ZodType<
|
|
7333
|
+
CreateDeploymentHasDeploymentsValue$Outbound,
|
|
7327
7334
|
z.ZodTypeDef,
|
|
7328
|
-
|
|
7335
|
+
CreateDeploymentHasDeploymentsValue
|
|
7329
7336
|
> = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
|
|
7330
7337
|
|
|
7331
7338
|
/**
|
|
7332
7339
|
* @internal
|
|
7333
7340
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7334
7341
|
*/
|
|
7335
|
-
export namespace
|
|
7336
|
-
/** @deprecated use `
|
|
7337
|
-
export const inboundSchema =
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
+
export namespace CreateDeploymentHasDeploymentsValue$ {
|
|
7343
|
+
/** @deprecated use `CreateDeploymentHasDeploymentsValue$inboundSchema` instead. */
|
|
7344
|
+
export const inboundSchema =
|
|
7345
|
+
CreateDeploymentHasDeploymentsValue$inboundSchema;
|
|
7346
|
+
/** @deprecated use `CreateDeploymentHasDeploymentsValue$outboundSchema` instead. */
|
|
7347
|
+
export const outboundSchema =
|
|
7348
|
+
CreateDeploymentHasDeploymentsValue$outboundSchema;
|
|
7349
|
+
/** @deprecated use `CreateDeploymentHasDeploymentsValue$Outbound` instead. */
|
|
7350
|
+
export type Outbound = CreateDeploymentHasDeploymentsValue$Outbound;
|
|
7342
7351
|
}
|
|
7343
7352
|
|
|
7344
|
-
export function
|
|
7345
|
-
|
|
7353
|
+
export function createDeploymentHasDeploymentsValueToJSON(
|
|
7354
|
+
createDeploymentHasDeploymentsValue: CreateDeploymentHasDeploymentsValue,
|
|
7355
|
+
): string {
|
|
7356
|
+
return JSON.stringify(
|
|
7357
|
+
CreateDeploymentHasDeploymentsValue$outboundSchema.parse(
|
|
7358
|
+
createDeploymentHasDeploymentsValue,
|
|
7359
|
+
),
|
|
7360
|
+
);
|
|
7346
7361
|
}
|
|
7347
7362
|
|
|
7348
|
-
export function
|
|
7363
|
+
export function createDeploymentHasDeploymentsValueFromJSON(
|
|
7349
7364
|
jsonString: string,
|
|
7350
|
-
): SafeParseResult<
|
|
7365
|
+
): SafeParseResult<CreateDeploymentHasDeploymentsValue, SDKValidationError> {
|
|
7351
7366
|
return safeParse(
|
|
7352
7367
|
jsonString,
|
|
7353
|
-
(x) =>
|
|
7354
|
-
|
|
7368
|
+
(x) =>
|
|
7369
|
+
CreateDeploymentHasDeploymentsValue$inboundSchema.parse(JSON.parse(x)),
|
|
7370
|
+
`Failed to parse 'CreateDeploymentHasDeploymentsValue' from JSON`,
|
|
7355
7371
|
);
|
|
7356
7372
|
}
|
|
7357
7373
|
|
|
7358
7374
|
/** @internal */
|
|
7359
|
-
export const
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7375
|
+
export const CreateDeploymentHas2$inboundSchema: z.ZodType<
|
|
7376
|
+
CreateDeploymentHas2,
|
|
7377
|
+
z.ZodTypeDef,
|
|
7378
|
+
unknown
|
|
7379
|
+
> = z.object({
|
|
7380
|
+
type: CreateDeploymentHasDeploymentsType$inboundSchema,
|
|
7381
|
+
key: z.string(),
|
|
7382
|
+
value: z.union([
|
|
7383
|
+
z.lazy(() => CreateDeploymentValue2$inboundSchema),
|
|
7384
|
+
z.string(),
|
|
7385
|
+
]).optional(),
|
|
7386
|
+
});
|
|
7368
7387
|
|
|
7369
7388
|
/** @internal */
|
|
7370
|
-
export type
|
|
7389
|
+
export type CreateDeploymentHas2$Outbound = {
|
|
7371
7390
|
type: string;
|
|
7372
7391
|
key: string;
|
|
7373
7392
|
value?: CreateDeploymentValue2$Outbound | string | undefined;
|
|
7374
7393
|
};
|
|
7375
7394
|
|
|
7376
7395
|
/** @internal */
|
|
7377
|
-
export const
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7396
|
+
export const CreateDeploymentHas2$outboundSchema: z.ZodType<
|
|
7397
|
+
CreateDeploymentHas2$Outbound,
|
|
7398
|
+
z.ZodTypeDef,
|
|
7399
|
+
CreateDeploymentHas2
|
|
7400
|
+
> = z.object({
|
|
7401
|
+
type: CreateDeploymentHasDeploymentsType$outboundSchema,
|
|
7402
|
+
key: z.string(),
|
|
7403
|
+
value: z.union([
|
|
7404
|
+
z.lazy(() => CreateDeploymentValue2$outboundSchema),
|
|
7405
|
+
z.string(),
|
|
7406
|
+
]).optional(),
|
|
7407
|
+
});
|
|
7386
7408
|
|
|
7387
7409
|
/**
|
|
7388
7410
|
* @internal
|
|
7389
7411
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7390
7412
|
*/
|
|
7391
|
-
export namespace
|
|
7392
|
-
/** @deprecated use `
|
|
7393
|
-
export const inboundSchema =
|
|
7394
|
-
/** @deprecated use `
|
|
7395
|
-
export const outboundSchema =
|
|
7396
|
-
/** @deprecated use `
|
|
7397
|
-
export type Outbound =
|
|
7413
|
+
export namespace CreateDeploymentHas2$ {
|
|
7414
|
+
/** @deprecated use `CreateDeploymentHas2$inboundSchema` instead. */
|
|
7415
|
+
export const inboundSchema = CreateDeploymentHas2$inboundSchema;
|
|
7416
|
+
/** @deprecated use `CreateDeploymentHas2$outboundSchema` instead. */
|
|
7417
|
+
export const outboundSchema = CreateDeploymentHas2$outboundSchema;
|
|
7418
|
+
/** @deprecated use `CreateDeploymentHas2$Outbound` instead. */
|
|
7419
|
+
export type Outbound = CreateDeploymentHas2$Outbound;
|
|
7398
7420
|
}
|
|
7399
7421
|
|
|
7400
|
-
export function
|
|
7401
|
-
|
|
7422
|
+
export function createDeploymentHas2ToJSON(
|
|
7423
|
+
createDeploymentHas2: CreateDeploymentHas2,
|
|
7424
|
+
): string {
|
|
7425
|
+
return JSON.stringify(
|
|
7426
|
+
CreateDeploymentHas2$outboundSchema.parse(createDeploymentHas2),
|
|
7427
|
+
);
|
|
7402
7428
|
}
|
|
7403
7429
|
|
|
7404
|
-
export function
|
|
7430
|
+
export function createDeploymentHas2FromJSON(
|
|
7405
7431
|
jsonString: string,
|
|
7406
|
-
): SafeParseResult<
|
|
7432
|
+
): SafeParseResult<CreateDeploymentHas2, SDKValidationError> {
|
|
7407
7433
|
return safeParse(
|
|
7408
7434
|
jsonString,
|
|
7409
|
-
(x) =>
|
|
7410
|
-
`Failed to parse '
|
|
7435
|
+
(x) => CreateDeploymentHas2$inboundSchema.parse(JSON.parse(x)),
|
|
7436
|
+
`Failed to parse 'CreateDeploymentHas2' from JSON`,
|
|
7411
7437
|
);
|
|
7412
7438
|
}
|
|
7413
7439
|
|
|
7414
7440
|
/** @internal */
|
|
7415
|
-
export const
|
|
7416
|
-
|
|
7441
|
+
export const CreateDeploymentHasType$inboundSchema: z.ZodNativeEnum<
|
|
7442
|
+
typeof CreateDeploymentHasType
|
|
7443
|
+
> = z.nativeEnum(CreateDeploymentHasType);
|
|
7417
7444
|
|
|
7418
7445
|
/** @internal */
|
|
7419
|
-
export const
|
|
7420
|
-
|
|
7446
|
+
export const CreateDeploymentHasType$outboundSchema: z.ZodNativeEnum<
|
|
7447
|
+
typeof CreateDeploymentHasType
|
|
7448
|
+
> = CreateDeploymentHasType$inboundSchema;
|
|
7421
7449
|
|
|
7422
7450
|
/**
|
|
7423
7451
|
* @internal
|
|
7424
7452
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7425
7453
|
*/
|
|
7426
|
-
export namespace
|
|
7427
|
-
/** @deprecated use `
|
|
7428
|
-
export const inboundSchema =
|
|
7429
|
-
/** @deprecated use `
|
|
7430
|
-
export const outboundSchema =
|
|
7454
|
+
export namespace CreateDeploymentHasType$ {
|
|
7455
|
+
/** @deprecated use `CreateDeploymentHasType$inboundSchema` instead. */
|
|
7456
|
+
export const inboundSchema = CreateDeploymentHasType$inboundSchema;
|
|
7457
|
+
/** @deprecated use `CreateDeploymentHasType$outboundSchema` instead. */
|
|
7458
|
+
export const outboundSchema = CreateDeploymentHasType$outboundSchema;
|
|
7431
7459
|
}
|
|
7432
7460
|
|
|
7433
7461
|
/** @internal */
|
|
@@ -7624,97 +7652,117 @@ export function createDeploymentHasValueFromJSON(
|
|
|
7624
7652
|
}
|
|
7625
7653
|
|
|
7626
7654
|
/** @internal */
|
|
7627
|
-
export const
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7655
|
+
export const CreateDeploymentHas1$inboundSchema: z.ZodType<
|
|
7656
|
+
CreateDeploymentHas1,
|
|
7657
|
+
z.ZodTypeDef,
|
|
7658
|
+
unknown
|
|
7659
|
+
> = z.object({
|
|
7660
|
+
type: CreateDeploymentHasType$inboundSchema,
|
|
7661
|
+
value: z.union([
|
|
7662
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
|
|
7663
|
+
z.string(),
|
|
7664
|
+
]),
|
|
7665
|
+
});
|
|
7635
7666
|
|
|
7636
7667
|
/** @internal */
|
|
7637
|
-
export type
|
|
7668
|
+
export type CreateDeploymentHas1$Outbound = {
|
|
7638
7669
|
type: string;
|
|
7639
7670
|
value: CreateDeploymentValueDeploymentsResponse2002$Outbound | string;
|
|
7640
7671
|
};
|
|
7641
7672
|
|
|
7642
7673
|
/** @internal */
|
|
7643
|
-
export const
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7674
|
+
export const CreateDeploymentHas1$outboundSchema: z.ZodType<
|
|
7675
|
+
CreateDeploymentHas1$Outbound,
|
|
7676
|
+
z.ZodTypeDef,
|
|
7677
|
+
CreateDeploymentHas1
|
|
7678
|
+
> = z.object({
|
|
7679
|
+
type: CreateDeploymentHasType$outboundSchema,
|
|
7680
|
+
value: z.union([
|
|
7681
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
|
|
7682
|
+
z.string(),
|
|
7683
|
+
]),
|
|
7684
|
+
});
|
|
7651
7685
|
|
|
7652
7686
|
/**
|
|
7653
7687
|
* @internal
|
|
7654
7688
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7655
7689
|
*/
|
|
7656
|
-
export namespace
|
|
7657
|
-
/** @deprecated use `
|
|
7658
|
-
export const inboundSchema =
|
|
7659
|
-
/** @deprecated use `
|
|
7660
|
-
export const outboundSchema =
|
|
7661
|
-
/** @deprecated use `
|
|
7662
|
-
export type Outbound =
|
|
7690
|
+
export namespace CreateDeploymentHas1$ {
|
|
7691
|
+
/** @deprecated use `CreateDeploymentHas1$inboundSchema` instead. */
|
|
7692
|
+
export const inboundSchema = CreateDeploymentHas1$inboundSchema;
|
|
7693
|
+
/** @deprecated use `CreateDeploymentHas1$outboundSchema` instead. */
|
|
7694
|
+
export const outboundSchema = CreateDeploymentHas1$outboundSchema;
|
|
7695
|
+
/** @deprecated use `CreateDeploymentHas1$Outbound` instead. */
|
|
7696
|
+
export type Outbound = CreateDeploymentHas1$Outbound;
|
|
7663
7697
|
}
|
|
7664
7698
|
|
|
7665
|
-
export function
|
|
7666
|
-
|
|
7699
|
+
export function createDeploymentHas1ToJSON(
|
|
7700
|
+
createDeploymentHas1: CreateDeploymentHas1,
|
|
7701
|
+
): string {
|
|
7702
|
+
return JSON.stringify(
|
|
7703
|
+
CreateDeploymentHas1$outboundSchema.parse(createDeploymentHas1),
|
|
7704
|
+
);
|
|
7667
7705
|
}
|
|
7668
7706
|
|
|
7669
|
-
export function
|
|
7707
|
+
export function createDeploymentHas1FromJSON(
|
|
7670
7708
|
jsonString: string,
|
|
7671
|
-
): SafeParseResult<
|
|
7709
|
+
): SafeParseResult<CreateDeploymentHas1, SDKValidationError> {
|
|
7672
7710
|
return safeParse(
|
|
7673
7711
|
jsonString,
|
|
7674
|
-
(x) =>
|
|
7675
|
-
`Failed to parse '
|
|
7712
|
+
(x) => CreateDeploymentHas1$inboundSchema.parse(JSON.parse(x)),
|
|
7713
|
+
`Failed to parse 'CreateDeploymentHas1' from JSON`,
|
|
7676
7714
|
);
|
|
7677
7715
|
}
|
|
7678
7716
|
|
|
7679
7717
|
/** @internal */
|
|
7680
|
-
export const
|
|
7681
|
-
|
|
7682
|
-
|
|
7718
|
+
export const RoutesHas$inboundSchema: z.ZodType<
|
|
7719
|
+
RoutesHas,
|
|
7720
|
+
z.ZodTypeDef,
|
|
7721
|
+
unknown
|
|
7722
|
+
> = z.union([
|
|
7723
|
+
z.lazy(() => CreateDeploymentHas1$inboundSchema),
|
|
7724
|
+
z.lazy(() => CreateDeploymentHas2$inboundSchema),
|
|
7725
|
+
]);
|
|
7683
7726
|
|
|
7684
7727
|
/** @internal */
|
|
7685
|
-
export type
|
|
7728
|
+
export type RoutesHas$Outbound =
|
|
7729
|
+
| CreateDeploymentHas1$Outbound
|
|
7730
|
+
| CreateDeploymentHas2$Outbound;
|
|
7686
7731
|
|
|
7687
7732
|
/** @internal */
|
|
7688
|
-
export const
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7733
|
+
export const RoutesHas$outboundSchema: z.ZodType<
|
|
7734
|
+
RoutesHas$Outbound,
|
|
7735
|
+
z.ZodTypeDef,
|
|
7736
|
+
RoutesHas
|
|
7737
|
+
> = z.union([
|
|
7738
|
+
z.lazy(() => CreateDeploymentHas1$outboundSchema),
|
|
7739
|
+
z.lazy(() => CreateDeploymentHas2$outboundSchema),
|
|
7740
|
+
]);
|
|
7693
7741
|
|
|
7694
7742
|
/**
|
|
7695
7743
|
* @internal
|
|
7696
7744
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7697
7745
|
*/
|
|
7698
|
-
export namespace
|
|
7699
|
-
/** @deprecated use `
|
|
7700
|
-
export const inboundSchema =
|
|
7701
|
-
/** @deprecated use `
|
|
7702
|
-
export const outboundSchema =
|
|
7703
|
-
/** @deprecated use `
|
|
7704
|
-
export type Outbound =
|
|
7746
|
+
export namespace RoutesHas$ {
|
|
7747
|
+
/** @deprecated use `RoutesHas$inboundSchema` instead. */
|
|
7748
|
+
export const inboundSchema = RoutesHas$inboundSchema;
|
|
7749
|
+
/** @deprecated use `RoutesHas$outboundSchema` instead. */
|
|
7750
|
+
export const outboundSchema = RoutesHas$outboundSchema;
|
|
7751
|
+
/** @deprecated use `RoutesHas$Outbound` instead. */
|
|
7752
|
+
export type Outbound = RoutesHas$Outbound;
|
|
7705
7753
|
}
|
|
7706
7754
|
|
|
7707
|
-
export function
|
|
7708
|
-
return JSON.stringify(
|
|
7755
|
+
export function routesHasToJSON(routesHas: RoutesHas): string {
|
|
7756
|
+
return JSON.stringify(RoutesHas$outboundSchema.parse(routesHas));
|
|
7709
7757
|
}
|
|
7710
7758
|
|
|
7711
|
-
export function
|
|
7759
|
+
export function routesHasFromJSON(
|
|
7712
7760
|
jsonString: string,
|
|
7713
|
-
): SafeParseResult<
|
|
7761
|
+
): SafeParseResult<RoutesHas, SDKValidationError> {
|
|
7714
7762
|
return safeParse(
|
|
7715
7763
|
jsonString,
|
|
7716
|
-
(x) =>
|
|
7717
|
-
`Failed to parse '
|
|
7764
|
+
(x) => RoutesHas$inboundSchema.parse(JSON.parse(x)),
|
|
7765
|
+
`Failed to parse 'RoutesHas' from JSON`,
|
|
7718
7766
|
);
|
|
7719
7767
|
}
|
|
7720
7768
|
|
|
@@ -8342,8 +8390,8 @@ export namespace RoutesAction$ {
|
|
|
8342
8390
|
}
|
|
8343
8391
|
|
|
8344
8392
|
/** @internal */
|
|
8345
|
-
export const
|
|
8346
|
-
|
|
8393
|
+
export const RoutesMitigate$inboundSchema: z.ZodType<
|
|
8394
|
+
RoutesMitigate,
|
|
8347
8395
|
z.ZodTypeDef,
|
|
8348
8396
|
unknown
|
|
8349
8397
|
> = z.object({
|
|
@@ -8351,15 +8399,15 @@ export const CreateDeploymentRoutesMitigate$inboundSchema: z.ZodType<
|
|
|
8351
8399
|
});
|
|
8352
8400
|
|
|
8353
8401
|
/** @internal */
|
|
8354
|
-
export type
|
|
8402
|
+
export type RoutesMitigate$Outbound = {
|
|
8355
8403
|
action: string;
|
|
8356
8404
|
};
|
|
8357
8405
|
|
|
8358
8406
|
/** @internal */
|
|
8359
|
-
export const
|
|
8360
|
-
|
|
8407
|
+
export const RoutesMitigate$outboundSchema: z.ZodType<
|
|
8408
|
+
RoutesMitigate$Outbound,
|
|
8361
8409
|
z.ZodTypeDef,
|
|
8362
|
-
|
|
8410
|
+
RoutesMitigate
|
|
8363
8411
|
> = z.object({
|
|
8364
8412
|
action: RoutesAction$outboundSchema,
|
|
8365
8413
|
});
|
|
@@ -8368,32 +8416,26 @@ export const CreateDeploymentRoutesMitigate$outboundSchema: z.ZodType<
|
|
|
8368
8416
|
* @internal
|
|
8369
8417
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8370
8418
|
*/
|
|
8371
|
-
export namespace
|
|
8372
|
-
/** @deprecated use `
|
|
8373
|
-
export const inboundSchema =
|
|
8374
|
-
/** @deprecated use `
|
|
8375
|
-
export const outboundSchema =
|
|
8376
|
-
/** @deprecated use `
|
|
8377
|
-
export type Outbound =
|
|
8419
|
+
export namespace RoutesMitigate$ {
|
|
8420
|
+
/** @deprecated use `RoutesMitigate$inboundSchema` instead. */
|
|
8421
|
+
export const inboundSchema = RoutesMitigate$inboundSchema;
|
|
8422
|
+
/** @deprecated use `RoutesMitigate$outboundSchema` instead. */
|
|
8423
|
+
export const outboundSchema = RoutesMitigate$outboundSchema;
|
|
8424
|
+
/** @deprecated use `RoutesMitigate$Outbound` instead. */
|
|
8425
|
+
export type Outbound = RoutesMitigate$Outbound;
|
|
8378
8426
|
}
|
|
8379
8427
|
|
|
8380
|
-
export function
|
|
8381
|
-
|
|
8382
|
-
): string {
|
|
8383
|
-
return JSON.stringify(
|
|
8384
|
-
CreateDeploymentRoutesMitigate$outboundSchema.parse(
|
|
8385
|
-
createDeploymentRoutesMitigate,
|
|
8386
|
-
),
|
|
8387
|
-
);
|
|
8428
|
+
export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string {
|
|
8429
|
+
return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
|
|
8388
8430
|
}
|
|
8389
8431
|
|
|
8390
|
-
export function
|
|
8432
|
+
export function routesMitigateFromJSON(
|
|
8391
8433
|
jsonString: string,
|
|
8392
|
-
): SafeParseResult<
|
|
8434
|
+
): SafeParseResult<RoutesMitigate, SDKValidationError> {
|
|
8393
8435
|
return safeParse(
|
|
8394
8436
|
jsonString,
|
|
8395
|
-
(x) =>
|
|
8396
|
-
`Failed to parse '
|
|
8437
|
+
(x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)),
|
|
8438
|
+
`Failed to parse 'RoutesMitigate' from JSON`,
|
|
8397
8439
|
);
|
|
8398
8440
|
}
|
|
8399
8441
|
|
|
@@ -8550,41 +8592,46 @@ export function key2FromJSON(
|
|
|
8550
8592
|
}
|
|
8551
8593
|
|
|
8552
8594
|
/** @internal */
|
|
8553
|
-
export const
|
|
8554
|
-
|
|
8555
|
-
|
|
8595
|
+
export const RoutesKey$inboundSchema: z.ZodType<
|
|
8596
|
+
RoutesKey,
|
|
8597
|
+
z.ZodTypeDef,
|
|
8598
|
+
unknown
|
|
8599
|
+
> = z.union([z.lazy(() => Key2$inboundSchema), z.string()]);
|
|
8556
8600
|
|
|
8557
8601
|
/** @internal */
|
|
8558
|
-
export type
|
|
8602
|
+
export type RoutesKey$Outbound = Key2$Outbound | string;
|
|
8559
8603
|
|
|
8560
8604
|
/** @internal */
|
|
8561
|
-
export const
|
|
8562
|
-
|
|
8605
|
+
export const RoutesKey$outboundSchema: z.ZodType<
|
|
8606
|
+
RoutesKey$Outbound,
|
|
8607
|
+
z.ZodTypeDef,
|
|
8608
|
+
RoutesKey
|
|
8609
|
+
> = z.union([z.lazy(() => Key2$outboundSchema), z.string()]);
|
|
8563
8610
|
|
|
8564
8611
|
/**
|
|
8565
8612
|
* @internal
|
|
8566
8613
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8567
8614
|
*/
|
|
8568
|
-
export namespace
|
|
8569
|
-
/** @deprecated use `
|
|
8570
|
-
export const inboundSchema =
|
|
8571
|
-
/** @deprecated use `
|
|
8572
|
-
export const outboundSchema =
|
|
8573
|
-
/** @deprecated use `
|
|
8574
|
-
export type Outbound =
|
|
8615
|
+
export namespace RoutesKey$ {
|
|
8616
|
+
/** @deprecated use `RoutesKey$inboundSchema` instead. */
|
|
8617
|
+
export const inboundSchema = RoutesKey$inboundSchema;
|
|
8618
|
+
/** @deprecated use `RoutesKey$outboundSchema` instead. */
|
|
8619
|
+
export const outboundSchema = RoutesKey$outboundSchema;
|
|
8620
|
+
/** @deprecated use `RoutesKey$Outbound` instead. */
|
|
8621
|
+
export type Outbound = RoutesKey$Outbound;
|
|
8575
8622
|
}
|
|
8576
8623
|
|
|
8577
|
-
export function
|
|
8578
|
-
return JSON.stringify(
|
|
8624
|
+
export function routesKeyToJSON(routesKey: RoutesKey): string {
|
|
8625
|
+
return JSON.stringify(RoutesKey$outboundSchema.parse(routesKey));
|
|
8579
8626
|
}
|
|
8580
8627
|
|
|
8581
|
-
export function
|
|
8628
|
+
export function routesKeyFromJSON(
|
|
8582
8629
|
jsonString: string,
|
|
8583
|
-
): SafeParseResult<
|
|
8630
|
+
): SafeParseResult<RoutesKey, SDKValidationError> {
|
|
8584
8631
|
return safeParse(
|
|
8585
8632
|
jsonString,
|
|
8586
|
-
(x) =>
|
|
8587
|
-
`Failed to parse '
|
|
8633
|
+
(x) => RoutesKey$inboundSchema.parse(JSON.parse(x)),
|
|
8634
|
+
`Failed to parse 'RoutesKey' from JSON`,
|
|
8588
8635
|
);
|
|
8589
8636
|
}
|
|
8590
8637
|
|
|
@@ -8800,8 +8847,8 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
|
|
|
8800
8847
|
status: z.number().optional(),
|
|
8801
8848
|
has: z.array(
|
|
8802
8849
|
z.union([
|
|
8803
|
-
z.lazy(() =>
|
|
8804
|
-
z.lazy(() =>
|
|
8850
|
+
z.lazy(() => CreateDeploymentHas1$inboundSchema),
|
|
8851
|
+
z.lazy(() => CreateDeploymentHas2$inboundSchema),
|
|
8805
8852
|
]),
|
|
8806
8853
|
).optional(),
|
|
8807
8854
|
missing: z.array(
|
|
@@ -8810,8 +8857,7 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
|
|
|
8810
8857
|
z.lazy(() => Missing2$inboundSchema),
|
|
8811
8858
|
]),
|
|
8812
8859
|
).optional(),
|
|
8813
|
-
mitigate: z.lazy(() =>
|
|
8814
|
-
.optional(),
|
|
8860
|
+
mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
|
|
8815
8861
|
transforms: z.array(z.lazy(() => Transforms$inboundSchema)).optional(),
|
|
8816
8862
|
locale: z.lazy(() => Locale$inboundSchema).optional(),
|
|
8817
8863
|
middlewarePath: z.string().optional(),
|
|
@@ -8831,9 +8877,11 @@ export type Routes1$Outbound = {
|
|
|
8831
8877
|
check?: boolean | undefined;
|
|
8832
8878
|
important?: boolean | undefined;
|
|
8833
8879
|
status?: number | undefined;
|
|
8834
|
-
has?:
|
|
8880
|
+
has?:
|
|
8881
|
+
| Array<CreateDeploymentHas1$Outbound | CreateDeploymentHas2$Outbound>
|
|
8882
|
+
| undefined;
|
|
8835
8883
|
missing?: Array<Missing1$Outbound | Missing2$Outbound> | undefined;
|
|
8836
|
-
mitigate?:
|
|
8884
|
+
mitigate?: RoutesMitigate$Outbound | undefined;
|
|
8837
8885
|
transforms?: Array<Transforms$Outbound> | undefined;
|
|
8838
8886
|
locale?: Locale$Outbound | undefined;
|
|
8839
8887
|
middlewarePath?: string | undefined;
|
|
@@ -8859,8 +8907,8 @@ export const Routes1$outboundSchema: z.ZodType<
|
|
|
8859
8907
|
status: z.number().optional(),
|
|
8860
8908
|
has: z.array(
|
|
8861
8909
|
z.union([
|
|
8862
|
-
z.lazy(() =>
|
|
8863
|
-
z.lazy(() =>
|
|
8910
|
+
z.lazy(() => CreateDeploymentHas1$outboundSchema),
|
|
8911
|
+
z.lazy(() => CreateDeploymentHas2$outboundSchema),
|
|
8864
8912
|
]),
|
|
8865
8913
|
).optional(),
|
|
8866
8914
|
missing: z.array(
|
|
@@ -8869,8 +8917,7 @@ export const Routes1$outboundSchema: z.ZodType<
|
|
|
8869
8917
|
z.lazy(() => Missing2$outboundSchema),
|
|
8870
8918
|
]),
|
|
8871
8919
|
).optional(),
|
|
8872
|
-
mitigate: z.lazy(() =>
|
|
8873
|
-
.optional(),
|
|
8920
|
+
mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
|
|
8874
8921
|
transforms: z.array(z.lazy(() => Transforms$outboundSchema)).optional(),
|
|
8875
8922
|
locale: z.lazy(() => Locale$outboundSchema).optional(),
|
|
8876
8923
|
middlewarePath: z.string().optional(),
|