@vercel/sdk 1.18.0 → 1.18.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/README.md +51 -53
- package/bin/mcp-server.js +1918 -1753
- package/bin/mcp-server.js.map +39 -42
- package/esm/__tests__/accessgroups.test.js +3 -1
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +9 -29
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/drains.test.js +27 -0
- package/esm/__tests__/drains.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__/logdrains.test.js +7 -6
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/integrationsGetBillingPlans.js +2 -0
- package/esm/funcs/integrationsGetBillingPlans.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.d.ts.map +1 -1
- package/esm/mcp-server/server.js +1 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/models/authuser.d.ts +5 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +4 -4
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.d.ts +1 -4
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +20 -2
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +19 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +20 -2
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +19 -2
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +8 -8
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +8 -10
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +220 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +296 -218
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +28 -4
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +25 -4
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +4 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +8 -8
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +8 -10
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getbillingplansop.d.ts +4 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -1
- package/esm/models/getbillingplansop.js +4 -0
- package/esm/models/getbillingplansop.js.map +1 -1
- package/esm/models/getbulkavailabilityop.d.ts +3 -0
- package/esm/models/getbulkavailabilityop.d.ts.map +1 -1
- package/esm/models/getbulkavailabilityop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +55 -31
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +42 -30
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getconfigurationsop.d.ts +48 -24
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +37 -25
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +22 -4
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +24 -4
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainpriceop.d.ts +36 -15
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +36 -6
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +8 -8
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +8 -10
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +8 -8
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +8 -8
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getinvoiceop.d.ts +10 -0
- package/esm/models/getinvoiceop.d.ts.map +1 -1
- package/esm/models/getinvoiceop.js +4 -0
- package/esm/models/getinvoiceop.js.map +1 -1
- package/esm/models/getorderop.d.ts +135 -51
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +138 -24
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +23 -4
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +23 -4
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/gettldpriceop.d.ts +36 -15
- package/esm/models/gettldpriceop.d.ts.map +1 -1
- package/esm/models/gettldpriceop.js +36 -6
- package/esm/models/gettldpriceop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +2 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +4 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +4 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +1 -4
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +4 -4
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.d.ts +8 -8
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +8 -12
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +18 -0
- package/esm/models/updateinstallationop.d.ts.map +1 -1
- package/esm/models/updateinstallationop.js +17 -0
- package/esm/models/updateinstallationop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +23 -4
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +23 -4
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +28 -4
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +25 -4
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +90 -10
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +84 -10
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/domains.d.ts +0 -8
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -10
- package/esm/sdk/domains.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +3 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +11 -31
- package/src/__tests__/drains.test.ts +27 -0
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +7 -6
- package/src/__tests__/security.test.ts +11 -1
- package/src/funcs/integrationsGetBillingPlans.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -3
- package/src/models/authuser.ts +7 -0
- package/src/models/buydomainsop.ts +4 -4
- package/src/models/buysingledomainop.ts +1 -4
- package/src/models/canceldeploymentop.ts +33 -4
- package/src/models/createdeploymentop.ts +33 -4
- package/src/models/createdrainop.ts +19 -29
- package/src/models/createintegrationstoredirectop.ts +704 -471
- package/src/models/createprojectop.ts +57 -8
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/getalllogdrainsop.ts +20 -26
- package/src/models/getbillingplansop.ts +8 -0
- package/src/models/getbulkavailabilityop.ts +3 -0
- package/src/models/getconfigurationop.ts +81 -49
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getconfigurationsop.ts +72 -40
- package/src/models/getdeploymentop.ts +38 -8
- package/src/models/getdomainpriceop.ts +124 -21
- package/src/models/getdrainop.ts +20 -26
- package/src/models/getdrainsop.ts +20 -24
- package/src/models/getinvoiceop.ts +14 -0
- package/src/models/getorderop.ts +478 -121
- package/src/models/getprojectsop.ts +50 -8
- package/src/models/gettldpriceop.ts +108 -21
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +4 -0
- package/src/models/renewdomainop.ts +1 -4
- package/src/models/transferindomainop.ts +4 -4
- package/src/models/updatedrainop.ts +20 -28
- package/src/models/updateinstallationop.ts +30 -0
- package/src/models/updateprojectdatacacheop.ts +50 -8
- package/src/models/updateprojectop.ts +57 -8
- package/src/models/userevent.ts +192 -22
- package/src/sdk/domains.ts +0 -22
- package/tsconfig.json +1 -1
- package/vercel-spec.json +704 -329
|
@@ -261,6 +261,10 @@ export type CreateProjectRequestBody = {
|
|
|
261
261
|
* Specifies whether preview deployments are disabled for this project.
|
|
262
262
|
*/
|
|
263
263
|
previewDeploymentsDisabled?: boolean | null | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team.
|
|
266
|
+
*/
|
|
267
|
+
previewDeploymentSuffix?: string | null | undefined;
|
|
264
268
|
/**
|
|
265
269
|
* The build command for this project. When `null` is used this value will be automatically detected
|
|
266
270
|
*/
|
|
@@ -912,7 +916,7 @@ export type CreateProjectOidcTokenClaims = {
|
|
|
912
916
|
project: string;
|
|
913
917
|
projectId: string;
|
|
914
918
|
environment: string;
|
|
915
|
-
plan
|
|
919
|
+
plan?: string | undefined;
|
|
916
920
|
};
|
|
917
921
|
|
|
918
922
|
export const CreateProjectPlan = {
|
|
@@ -1358,8 +1362,22 @@ export type CreateProjectProjectsDeploymentType = ClosedEnum<
|
|
|
1358
1362
|
typeof CreateProjectProjectsDeploymentType
|
|
1359
1363
|
>;
|
|
1360
1364
|
|
|
1365
|
+
export const CreateProjectCve55182MigrationAppliedFrom = {
|
|
1366
|
+
Preview: "preview",
|
|
1367
|
+
All: "all",
|
|
1368
|
+
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1369
|
+
AllExceptCustomDomains: "all_except_custom_domains",
|
|
1370
|
+
} as const;
|
|
1371
|
+
export type CreateProjectCve55182MigrationAppliedFrom = ClosedEnum<
|
|
1372
|
+
typeof CreateProjectCve55182MigrationAppliedFrom
|
|
1373
|
+
>;
|
|
1374
|
+
|
|
1361
1375
|
export type CreateProjectProjectsSsoProtection = {
|
|
1362
1376
|
deploymentType: CreateProjectProjectsDeploymentType;
|
|
1377
|
+
cve55182MigrationAppliedFrom?:
|
|
1378
|
+
| CreateProjectCve55182MigrationAppliedFrom
|
|
1379
|
+
| null
|
|
1380
|
+
| undefined;
|
|
1363
1381
|
};
|
|
1364
1382
|
|
|
1365
1383
|
export type CreateProjectProjectsAliasAssigned = number | boolean;
|
|
@@ -1440,7 +1458,7 @@ export type CreateProjectProjectsOidcTokenClaims = {
|
|
|
1440
1458
|
project: string;
|
|
1441
1459
|
projectId: string;
|
|
1442
1460
|
environment: string;
|
|
1443
|
-
plan
|
|
1461
|
+
plan?: string | undefined;
|
|
1444
1462
|
};
|
|
1445
1463
|
|
|
1446
1464
|
export const CreateProjectProjectsPlan = {
|
|
@@ -1532,6 +1550,7 @@ export type CreateProjectPermissions = {
|
|
|
1532
1550
|
accessGroup?: Array<ACLAction> | undefined;
|
|
1533
1551
|
agent?: Array<ACLAction> | undefined;
|
|
1534
1552
|
alerts?: Array<ACLAction> | undefined;
|
|
1553
|
+
alertRules?: Array<ACLAction> | undefined;
|
|
1535
1554
|
aliasGlobal?: Array<ACLAction> | undefined;
|
|
1536
1555
|
analyticsSampling?: Array<ACLAction> | undefined;
|
|
1537
1556
|
analyticsUsage?: Array<ACLAction> | undefined;
|
|
@@ -2283,6 +2302,7 @@ export type CreateProjectDismissedToasts = {
|
|
|
2283
2302
|
export type CreateProjectResponseBody = {
|
|
2284
2303
|
accountId: string;
|
|
2285
2304
|
analytics?: CreateProjectAnalytics | undefined;
|
|
2305
|
+
appliedCve55182Migration?: boolean | undefined;
|
|
2286
2306
|
speedInsights?: CreateProjectSpeedInsights | undefined;
|
|
2287
2307
|
autoExposeSystemEnvs?: boolean | undefined;
|
|
2288
2308
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -2348,6 +2368,7 @@ export type CreateProjectResponseBody = {
|
|
|
2348
2368
|
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
2349
2369
|
skewProtectionBoundaryAt?: number | undefined;
|
|
2350
2370
|
skewProtectionMaxAge?: number | undefined;
|
|
2371
|
+
skewProtectionAllowedDomains?: Array<string> | undefined;
|
|
2351
2372
|
skipGitConnectDuringLink?: boolean | undefined;
|
|
2352
2373
|
staticIps?: CreateProjectStaticIps | undefined;
|
|
2353
2374
|
sourceFilesOutsideRootDirectory?: boolean | undefined;
|
|
@@ -2742,6 +2763,7 @@ export const CreateProjectRequestBody$inboundSchema: z.ZodType<
|
|
|
2742
2763
|
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
2743
2764
|
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
2744
2765
|
previewDeploymentsDisabled: z.nullable(z.boolean()).optional(),
|
|
2766
|
+
previewDeploymentSuffix: z.nullable(z.string()).optional(),
|
|
2745
2767
|
buildCommand: z.nullable(z.string()).optional(),
|
|
2746
2768
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
2747
2769
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -2771,6 +2793,7 @@ export type CreateProjectRequestBody$Outbound = {
|
|
|
2771
2793
|
enablePreviewFeedback?: boolean | null | undefined;
|
|
2772
2794
|
enableProductionFeedback?: boolean | null | undefined;
|
|
2773
2795
|
previewDeploymentsDisabled?: boolean | null | undefined;
|
|
2796
|
+
previewDeploymentSuffix?: string | null | undefined;
|
|
2774
2797
|
buildCommand?: string | null | undefined;
|
|
2775
2798
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
2776
2799
|
devCommand?: string | null | undefined;
|
|
@@ -2800,6 +2823,7 @@ export const CreateProjectRequestBody$outboundSchema: z.ZodType<
|
|
|
2800
2823
|
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
2801
2824
|
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
2802
2825
|
previewDeploymentsDisabled: z.nullable(z.boolean()).optional(),
|
|
2826
|
+
previewDeploymentSuffix: z.nullable(z.string()).optional(),
|
|
2803
2827
|
buildCommand: z.nullable(z.string()).optional(),
|
|
2804
2828
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
2805
2829
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -4927,7 +4951,7 @@ export const CreateProjectOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
4927
4951
|
project: z.string(),
|
|
4928
4952
|
project_id: z.string(),
|
|
4929
4953
|
environment: z.string(),
|
|
4930
|
-
plan: z.string(),
|
|
4954
|
+
plan: z.string().optional(),
|
|
4931
4955
|
}).transform((v) => {
|
|
4932
4956
|
return remap$(v, {
|
|
4933
4957
|
"owner_id": "ownerId",
|
|
@@ -4945,7 +4969,7 @@ export type CreateProjectOidcTokenClaims$Outbound = {
|
|
|
4945
4969
|
project: string;
|
|
4946
4970
|
project_id: string;
|
|
4947
4971
|
environment: string;
|
|
4948
|
-
plan
|
|
4972
|
+
plan?: string | undefined;
|
|
4949
4973
|
};
|
|
4950
4974
|
|
|
4951
4975
|
/** @internal */
|
|
@@ -4963,7 +4987,7 @@ export const CreateProjectOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
4963
4987
|
project: z.string(),
|
|
4964
4988
|
projectId: z.string(),
|
|
4965
4989
|
environment: z.string(),
|
|
4966
|
-
plan: z.string(),
|
|
4990
|
+
plan: z.string().optional(),
|
|
4967
4991
|
}).transform((v) => {
|
|
4968
4992
|
return remap$(v, {
|
|
4969
4993
|
ownerId: "owner_id",
|
|
@@ -6614,6 +6638,15 @@ export const CreateProjectProjectsDeploymentType$outboundSchema:
|
|
|
6614
6638
|
z.ZodNativeEnum<typeof CreateProjectProjectsDeploymentType> =
|
|
6615
6639
|
CreateProjectProjectsDeploymentType$inboundSchema;
|
|
6616
6640
|
|
|
6641
|
+
/** @internal */
|
|
6642
|
+
export const CreateProjectCve55182MigrationAppliedFrom$inboundSchema:
|
|
6643
|
+
z.ZodNativeEnum<typeof CreateProjectCve55182MigrationAppliedFrom> = z
|
|
6644
|
+
.nativeEnum(CreateProjectCve55182MigrationAppliedFrom);
|
|
6645
|
+
/** @internal */
|
|
6646
|
+
export const CreateProjectCve55182MigrationAppliedFrom$outboundSchema:
|
|
6647
|
+
z.ZodNativeEnum<typeof CreateProjectCve55182MigrationAppliedFrom> =
|
|
6648
|
+
CreateProjectCve55182MigrationAppliedFrom$inboundSchema;
|
|
6649
|
+
|
|
6617
6650
|
/** @internal */
|
|
6618
6651
|
export const CreateProjectProjectsSsoProtection$inboundSchema: z.ZodType<
|
|
6619
6652
|
CreateProjectProjectsSsoProtection,
|
|
@@ -6621,10 +6654,14 @@ export const CreateProjectProjectsSsoProtection$inboundSchema: z.ZodType<
|
|
|
6621
6654
|
unknown
|
|
6622
6655
|
> = z.object({
|
|
6623
6656
|
deploymentType: CreateProjectProjectsDeploymentType$inboundSchema,
|
|
6657
|
+
cve55182MigrationAppliedFrom: z.nullable(
|
|
6658
|
+
CreateProjectCve55182MigrationAppliedFrom$inboundSchema,
|
|
6659
|
+
).optional(),
|
|
6624
6660
|
});
|
|
6625
6661
|
/** @internal */
|
|
6626
6662
|
export type CreateProjectProjectsSsoProtection$Outbound = {
|
|
6627
6663
|
deploymentType: string;
|
|
6664
|
+
cve55182MigrationAppliedFrom?: string | null | undefined;
|
|
6628
6665
|
};
|
|
6629
6666
|
|
|
6630
6667
|
/** @internal */
|
|
@@ -6634,6 +6671,9 @@ export const CreateProjectProjectsSsoProtection$outboundSchema: z.ZodType<
|
|
|
6634
6671
|
CreateProjectProjectsSsoProtection
|
|
6635
6672
|
> = z.object({
|
|
6636
6673
|
deploymentType: CreateProjectProjectsDeploymentType$outboundSchema,
|
|
6674
|
+
cve55182MigrationAppliedFrom: z.nullable(
|
|
6675
|
+
CreateProjectCve55182MigrationAppliedFrom$outboundSchema,
|
|
6676
|
+
).optional(),
|
|
6637
6677
|
});
|
|
6638
6678
|
|
|
6639
6679
|
export function createProjectProjectsSsoProtectionToJSON(
|
|
@@ -6936,7 +6976,7 @@ export const CreateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
6936
6976
|
project: z.string(),
|
|
6937
6977
|
project_id: z.string(),
|
|
6938
6978
|
environment: z.string(),
|
|
6939
|
-
plan: z.string(),
|
|
6979
|
+
plan: z.string().optional(),
|
|
6940
6980
|
}).transform((v) => {
|
|
6941
6981
|
return remap$(v, {
|
|
6942
6982
|
"owner_id": "ownerId",
|
|
@@ -6954,7 +6994,7 @@ export type CreateProjectProjectsOidcTokenClaims$Outbound = {
|
|
|
6954
6994
|
project: string;
|
|
6955
6995
|
project_id: string;
|
|
6956
6996
|
environment: string;
|
|
6957
|
-
plan
|
|
6997
|
+
plan?: string | undefined;
|
|
6958
6998
|
};
|
|
6959
6999
|
|
|
6960
7000
|
/** @internal */
|
|
@@ -6972,7 +7012,7 @@ export const CreateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
6972
7012
|
project: z.string(),
|
|
6973
7013
|
projectId: z.string(),
|
|
6974
7014
|
environment: z.string(),
|
|
6975
|
-
plan: z.string(),
|
|
7015
|
+
plan: z.string().optional(),
|
|
6976
7016
|
}).transform((v) => {
|
|
6977
7017
|
return remap$(v, {
|
|
6978
7018
|
ownerId: "owner_id",
|
|
@@ -7221,6 +7261,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7221
7261
|
accessGroup: z.array(ACLAction$inboundSchema).optional(),
|
|
7222
7262
|
agent: z.array(ACLAction$inboundSchema).optional(),
|
|
7223
7263
|
alerts: z.array(ACLAction$inboundSchema).optional(),
|
|
7264
|
+
alertRules: z.array(ACLAction$inboundSchema).optional(),
|
|
7224
7265
|
aliasGlobal: z.array(ACLAction$inboundSchema).optional(),
|
|
7225
7266
|
analyticsSampling: z.array(ACLAction$inboundSchema).optional(),
|
|
7226
7267
|
analyticsUsage: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7454,6 +7495,7 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
7454
7495
|
accessGroup?: Array<string> | undefined;
|
|
7455
7496
|
agent?: Array<string> | undefined;
|
|
7456
7497
|
alerts?: Array<string> | undefined;
|
|
7498
|
+
alertRules?: Array<string> | undefined;
|
|
7457
7499
|
aliasGlobal?: Array<string> | undefined;
|
|
7458
7500
|
analyticsSampling?: Array<string> | undefined;
|
|
7459
7501
|
analyticsUsage?: Array<string> | undefined;
|
|
@@ -7681,6 +7723,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
7681
7723
|
accessGroup: z.array(ACLAction$outboundSchema).optional(),
|
|
7682
7724
|
agent: z.array(ACLAction$outboundSchema).optional(),
|
|
7683
7725
|
alerts: z.array(ACLAction$outboundSchema).optional(),
|
|
7726
|
+
alertRules: z.array(ACLAction$outboundSchema).optional(),
|
|
7684
7727
|
aliasGlobal: z.array(ACLAction$outboundSchema).optional(),
|
|
7685
7728
|
analyticsSampling: z.array(ACLAction$outboundSchema).optional(),
|
|
7686
7729
|
analyticsUsage: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -10918,6 +10961,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
10918
10961
|
> = z.object({
|
|
10919
10962
|
accountId: z.string(),
|
|
10920
10963
|
analytics: z.lazy(() => CreateProjectAnalytics$inboundSchema).optional(),
|
|
10964
|
+
appliedCve55182Migration: z.boolean().optional(),
|
|
10921
10965
|
speedInsights: z.lazy(() => CreateProjectSpeedInsights$inboundSchema)
|
|
10922
10966
|
.optional(),
|
|
10923
10967
|
autoExposeSystemEnvs: z.boolean().optional(),
|
|
@@ -10994,6 +11038,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
10994
11038
|
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
10995
11039
|
skewProtectionBoundaryAt: z.number().optional(),
|
|
10996
11040
|
skewProtectionMaxAge: z.number().optional(),
|
|
11041
|
+
skewProtectionAllowedDomains: z.array(z.string()).optional(),
|
|
10997
11042
|
skipGitConnectDuringLink: z.boolean().optional(),
|
|
10998
11043
|
staticIps: z.lazy(() => CreateProjectStaticIps$inboundSchema).optional(),
|
|
10999
11044
|
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
@@ -11062,6 +11107,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
11062
11107
|
export type CreateProjectResponseBody$Outbound = {
|
|
11063
11108
|
accountId: string;
|
|
11064
11109
|
analytics?: CreateProjectAnalytics$Outbound | undefined;
|
|
11110
|
+
appliedCve55182Migration?: boolean | undefined;
|
|
11065
11111
|
speedInsights?: CreateProjectSpeedInsights$Outbound | undefined;
|
|
11066
11112
|
autoExposeSystemEnvs?: boolean | undefined;
|
|
11067
11113
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -11128,6 +11174,7 @@ export type CreateProjectResponseBody$Outbound = {
|
|
|
11128
11174
|
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
11129
11175
|
skewProtectionBoundaryAt?: number | undefined;
|
|
11130
11176
|
skewProtectionMaxAge?: number | undefined;
|
|
11177
|
+
skewProtectionAllowedDomains?: Array<string> | undefined;
|
|
11131
11178
|
skipGitConnectDuringLink?: boolean | undefined;
|
|
11132
11179
|
staticIps?: CreateProjectStaticIps$Outbound | undefined;
|
|
11133
11180
|
sourceFilesOutsideRootDirectory?: boolean | undefined;
|
|
@@ -11191,6 +11238,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11191
11238
|
> = z.object({
|
|
11192
11239
|
accountId: z.string(),
|
|
11193
11240
|
analytics: z.lazy(() => CreateProjectAnalytics$outboundSchema).optional(),
|
|
11241
|
+
appliedCve55182Migration: z.boolean().optional(),
|
|
11194
11242
|
speedInsights: z.lazy(() => CreateProjectSpeedInsights$outboundSchema)
|
|
11195
11243
|
.optional(),
|
|
11196
11244
|
autoExposeSystemEnvs: z.boolean().optional(),
|
|
@@ -11267,6 +11315,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11267
11315
|
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
11268
11316
|
skewProtectionBoundaryAt: z.number().optional(),
|
|
11269
11317
|
skewProtectionMaxAge: z.number().optional(),
|
|
11318
|
+
skewProtectionAllowedDomains: z.array(z.string()).optional(),
|
|
11270
11319
|
skipGitConnectDuringLink: z.boolean().optional(),
|
|
11271
11320
|
staticIps: z.lazy(() => CreateProjectStaticIps$outboundSchema).optional(),
|
|
11272
11321
|
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
@@ -42,6 +42,8 @@ export const Events = {
|
|
|
42
42
|
EdgeConfigDeleted: "edge-config.deleted",
|
|
43
43
|
EdgeConfigItemsUpdated: "edge-config.items.updated",
|
|
44
44
|
FirewallAttack: "firewall.attack",
|
|
45
|
+
FirewallSystemRuleAnomaly: "firewall.system-rule-anomaly",
|
|
46
|
+
FirewallCustomRuleAnomaly: "firewall.custom-rule-anomaly",
|
|
45
47
|
IntegrationConfigurationPermissionUpgraded:
|
|
46
48
|
"integration-configuration.permission-upgraded",
|
|
47
49
|
IntegrationConfigurationRemoved: "integration-configuration.removed",
|
|
@@ -148,6 +150,8 @@ export const CreateWebhookEvents = {
|
|
|
148
150
|
EdgeConfigDeleted: "edge-config.deleted",
|
|
149
151
|
EdgeConfigItemsUpdated: "edge-config.items.updated",
|
|
150
152
|
FirewallAttack: "firewall.attack",
|
|
153
|
+
FirewallSystemRuleAnomaly: "firewall.system-rule-anomaly",
|
|
154
|
+
FirewallCustomRuleAnomaly: "firewall.custom-rule-anomaly",
|
|
151
155
|
IntegrationConfigurationPermissionUpgraded:
|
|
152
156
|
"integration-configuration.permission-upgraded",
|
|
153
157
|
IntegrationConfigurationRemoved: "integration-configuration.removed",
|
|
@@ -357,13 +357,12 @@ export type GetAllLogDrainsDrains2 = {
|
|
|
357
357
|
createdAt: number;
|
|
358
358
|
updatedAt: number;
|
|
359
359
|
projectIds?: Array<string> | undefined;
|
|
360
|
-
schemas
|
|
361
|
-
delivery
|
|
360
|
+
schemas: GetAllLogDrainsDrainsLogDrainsSchemas;
|
|
361
|
+
delivery:
|
|
362
362
|
| GetAllLogDrainsDelivery1
|
|
363
363
|
| GetAllLogDrainsDelivery2
|
|
364
364
|
| GetAllLogDrainsDelivery3
|
|
365
|
-
| GetAllLogDrainsDelivery4
|
|
366
|
-
| undefined;
|
|
365
|
+
| GetAllLogDrainsDelivery4;
|
|
367
366
|
sampling?: Array<GetAllLogDrainsDrainsLogDrainsSampling> | undefined;
|
|
368
367
|
teamId?: string | null | undefined;
|
|
369
368
|
status?: GetAllLogDrainsDrainsStatus | undefined;
|
|
@@ -624,13 +623,12 @@ export type GetAllLogDrainsDrains1 = {
|
|
|
624
623
|
createdAt: number;
|
|
625
624
|
updatedAt: number;
|
|
626
625
|
projectIds?: Array<string> | undefined;
|
|
627
|
-
schemas
|
|
628
|
-
delivery
|
|
626
|
+
schemas: GetAllLogDrainsDrainsSchemas;
|
|
627
|
+
delivery:
|
|
629
628
|
| GetAllLogDrainsDeliveryLogDrains1
|
|
630
629
|
| GetAllLogDrainsDeliveryLogDrains2
|
|
631
630
|
| GetAllLogDrainsDeliveryLogDrains3
|
|
632
|
-
| GetAllLogDrainsDeliveryLogDrains4
|
|
633
|
-
| undefined;
|
|
631
|
+
| GetAllLogDrainsDeliveryLogDrains4;
|
|
634
632
|
sampling?: Array<GetAllLogDrainsDrainsSampling> | undefined;
|
|
635
633
|
teamId?: string | null | undefined;
|
|
636
634
|
status?: GetAllLogDrainsDrainsLogDrainsStatus | undefined;
|
|
@@ -2385,14 +2383,13 @@ export const GetAllLogDrainsDrains2$inboundSchema: z.ZodType<
|
|
|
2385
2383
|
createdAt: z.number(),
|
|
2386
2384
|
updatedAt: z.number(),
|
|
2387
2385
|
projectIds: z.array(z.string()).optional(),
|
|
2388
|
-
schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema)
|
|
2389
|
-
.optional(),
|
|
2386
|
+
schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema),
|
|
2390
2387
|
delivery: z.union([
|
|
2391
2388
|
z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema),
|
|
2392
2389
|
z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema),
|
|
2393
2390
|
z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema),
|
|
2394
2391
|
z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema),
|
|
2395
|
-
])
|
|
2392
|
+
]),
|
|
2396
2393
|
sampling: z.array(
|
|
2397
2394
|
z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema),
|
|
2398
2395
|
).optional(),
|
|
@@ -2428,13 +2425,12 @@ export type GetAllLogDrainsDrains2$Outbound = {
|
|
|
2428
2425
|
createdAt: number;
|
|
2429
2426
|
updatedAt: number;
|
|
2430
2427
|
projectIds?: Array<string> | undefined;
|
|
2431
|
-
schemas
|
|
2432
|
-
delivery
|
|
2428
|
+
schemas: GetAllLogDrainsDrainsLogDrainsSchemas$Outbound;
|
|
2429
|
+
delivery:
|
|
2433
2430
|
| GetAllLogDrainsDelivery1$Outbound
|
|
2434
2431
|
| GetAllLogDrainsDelivery2$Outbound
|
|
2435
2432
|
| GetAllLogDrainsDelivery3$Outbound
|
|
2436
|
-
| GetAllLogDrainsDelivery4$Outbound
|
|
2437
|
-
| undefined;
|
|
2433
|
+
| GetAllLogDrainsDelivery4$Outbound;
|
|
2438
2434
|
sampling?: Array<GetAllLogDrainsDrainsLogDrainsSampling$Outbound> | undefined;
|
|
2439
2435
|
teamId?: string | null | undefined;
|
|
2440
2436
|
status?: string | undefined;
|
|
@@ -2469,14 +2465,13 @@ export const GetAllLogDrainsDrains2$outboundSchema: z.ZodType<
|
|
|
2469
2465
|
createdAt: z.number(),
|
|
2470
2466
|
updatedAt: z.number(),
|
|
2471
2467
|
projectIds: z.array(z.string()).optional(),
|
|
2472
|
-
schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema)
|
|
2473
|
-
.optional(),
|
|
2468
|
+
schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema),
|
|
2474
2469
|
delivery: z.union([
|
|
2475
2470
|
z.lazy(() => GetAllLogDrainsDelivery1$outboundSchema),
|
|
2476
2471
|
z.lazy(() => GetAllLogDrainsDelivery2$outboundSchema),
|
|
2477
2472
|
z.lazy(() => GetAllLogDrainsDelivery3$outboundSchema),
|
|
2478
2473
|
z.lazy(() => GetAllLogDrainsDelivery4$outboundSchema),
|
|
2479
|
-
])
|
|
2474
|
+
]),
|
|
2480
2475
|
sampling: z.array(
|
|
2481
2476
|
z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$outboundSchema),
|
|
2482
2477
|
).optional(),
|
|
@@ -3958,13 +3953,13 @@ export const GetAllLogDrainsDrains1$inboundSchema: z.ZodType<
|
|
|
3958
3953
|
createdAt: z.number(),
|
|
3959
3954
|
updatedAt: z.number(),
|
|
3960
3955
|
projectIds: z.array(z.string()).optional(),
|
|
3961
|
-
schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema)
|
|
3956
|
+
schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema),
|
|
3962
3957
|
delivery: z.union([
|
|
3963
3958
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema),
|
|
3964
3959
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema),
|
|
3965
3960
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema),
|
|
3966
3961
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema),
|
|
3967
|
-
])
|
|
3962
|
+
]),
|
|
3968
3963
|
sampling: z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$inboundSchema))
|
|
3969
3964
|
.optional(),
|
|
3970
3965
|
teamId: z.nullable(z.string()).optional(),
|
|
@@ -3991,13 +3986,12 @@ export type GetAllLogDrainsDrains1$Outbound = {
|
|
|
3991
3986
|
createdAt: number;
|
|
3992
3987
|
updatedAt: number;
|
|
3993
3988
|
projectIds?: Array<string> | undefined;
|
|
3994
|
-
schemas
|
|
3995
|
-
delivery
|
|
3989
|
+
schemas: GetAllLogDrainsDrainsSchemas$Outbound;
|
|
3990
|
+
delivery:
|
|
3996
3991
|
| GetAllLogDrainsDeliveryLogDrains1$Outbound
|
|
3997
3992
|
| GetAllLogDrainsDeliveryLogDrains2$Outbound
|
|
3998
3993
|
| GetAllLogDrainsDeliveryLogDrains3$Outbound
|
|
3999
|
-
| GetAllLogDrainsDeliveryLogDrains4$Outbound
|
|
4000
|
-
| undefined;
|
|
3994
|
+
| GetAllLogDrainsDeliveryLogDrains4$Outbound;
|
|
4001
3995
|
sampling?: Array<GetAllLogDrainsDrainsSampling$Outbound> | undefined;
|
|
4002
3996
|
teamId?: string | null | undefined;
|
|
4003
3997
|
status?: string | undefined;
|
|
@@ -4027,13 +4021,13 @@ export const GetAllLogDrainsDrains1$outboundSchema: z.ZodType<
|
|
|
4027
4021
|
createdAt: z.number(),
|
|
4028
4022
|
updatedAt: z.number(),
|
|
4029
4023
|
projectIds: z.array(z.string()).optional(),
|
|
4030
|
-
schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$outboundSchema)
|
|
4024
|
+
schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$outboundSchema),
|
|
4031
4025
|
delivery: z.union([
|
|
4032
4026
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$outboundSchema),
|
|
4033
4027
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$outboundSchema),
|
|
4034
4028
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$outboundSchema),
|
|
4035
4029
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$outboundSchema),
|
|
4036
|
-
])
|
|
4030
|
+
]),
|
|
4037
4031
|
sampling: z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$outboundSchema))
|
|
4038
4032
|
.optional(),
|
|
4039
4033
|
teamId: z.nullable(z.string()).optional(),
|
|
@@ -10,8 +10,10 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type GetBillingPlansRequest = {
|
|
12
12
|
integrationIdOrSlug: string;
|
|
13
|
+
integrationConfigurationId?: string | undefined;
|
|
13
14
|
productIdOrSlug: string;
|
|
14
15
|
metadata?: string | undefined;
|
|
16
|
+
source?: string | undefined;
|
|
15
17
|
/**
|
|
16
18
|
* The Team identifier to perform the request on behalf of.
|
|
17
19
|
*/
|
|
@@ -80,16 +82,20 @@ export const GetBillingPlansRequest$inboundSchema: z.ZodType<
|
|
|
80
82
|
unknown
|
|
81
83
|
> = z.object({
|
|
82
84
|
integrationIdOrSlug: z.string(),
|
|
85
|
+
integrationConfigurationId: z.string().optional(),
|
|
83
86
|
productIdOrSlug: z.string(),
|
|
84
87
|
metadata: z.string().optional(),
|
|
88
|
+
source: z.string().optional(),
|
|
85
89
|
teamId: z.string().optional(),
|
|
86
90
|
slug: z.string().optional(),
|
|
87
91
|
});
|
|
88
92
|
/** @internal */
|
|
89
93
|
export type GetBillingPlansRequest$Outbound = {
|
|
90
94
|
integrationIdOrSlug: string;
|
|
95
|
+
integrationConfigurationId?: string | undefined;
|
|
91
96
|
productIdOrSlug: string;
|
|
92
97
|
metadata?: string | undefined;
|
|
98
|
+
source?: string | undefined;
|
|
93
99
|
teamId?: string | undefined;
|
|
94
100
|
slug?: string | undefined;
|
|
95
101
|
};
|
|
@@ -101,8 +107,10 @@ export const GetBillingPlansRequest$outboundSchema: z.ZodType<
|
|
|
101
107
|
GetBillingPlansRequest
|
|
102
108
|
> = z.object({
|
|
103
109
|
integrationIdOrSlug: z.string(),
|
|
110
|
+
integrationConfigurationId: z.string().optional(),
|
|
104
111
|
productIdOrSlug: z.string(),
|
|
105
112
|
metadata: z.string().optional(),
|
|
113
|
+
source: z.string().optional(),
|
|
106
114
|
teamId: z.string().optional(),
|
|
107
115
|
slug: z.string().optional(),
|
|
108
116
|
});
|