From 6c01a57bd6d9506332d2f7a0c7b8af6e772a288e Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Tue, 19 Nov 2024 18:51:53 +0100 Subject: [PATCH] [OpenAPI] Spec updates for vercel-api-js (#556) Co-authored-by: SferaDev <2181866+SferaDev@users.noreply.github.com> --- .changeset/ur8y8.md | 5 ++++ packages/vercel-api-js/src/api/components.ts | 25 ++++++++++++-------- 2 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 .changeset/ur8y8.md diff --git a/.changeset/ur8y8.md b/.changeset/ur8y8.md new file mode 100644 index 00000000..3d2d547f --- /dev/null +++ b/.changeset/ur8y8.md @@ -0,0 +1,5 @@ +--- +"vercel-api-js": minor +--- + +Add firewallBypassIps field to project update and get responses \ No newline at end of file diff --git a/packages/vercel-api-js/src/api/components.ts b/packages/vercel-api-js/src/api/components.ts index 3902ddd4..913555ed 100644 --- a/packages/vercel-api-js/src/api/components.ts +++ b/packages/vercel-api-js/src/api/components.ts @@ -2527,6 +2527,7 @@ export type UpdateProjectDataCacheResponse = { firewallSeawallEnabled?: boolean; ja3Enabled?: boolean; ja4Enabled?: boolean; + firewallBypassIps?: string[]; }; oidcTokenConfig?: { enabled: boolean; @@ -10046,6 +10047,7 @@ export type GetProjectsResponse = { firewallSeawallEnabled?: boolean; ja3Enabled?: boolean; ja4Enabled?: boolean; + firewallBypassIps?: string[]; }; oidcTokenConfig?: { enabled: boolean; @@ -10169,7 +10171,7 @@ export type CreateProjectResponse = { target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */ @@ -10778,7 +10780,7 @@ export type CreateProjectResponse = { lastAliasRequest?: { fromDeploymentId: string; toDeploymentId: string; - jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress'; + jobStatus: 'pending' | 'in-progress' | 'succeeded' | 'failed' | 'skipped'; requestedAt: number; type: 'promote' | 'rollback'; } | null; @@ -10924,6 +10926,7 @@ export type CreateProjectResponse = { firewallSeawallEnabled?: boolean; ja3Enabled?: boolean; ja4Enabled?: boolean; + firewallBypassIps?: string[]; }; oidcTokenConfig?: { enabled: boolean; @@ -11982,6 +11985,7 @@ export type GetProjectResponse = { firewallSeawallEnabled?: boolean; ja3Enabled?: boolean; ja4Enabled?: boolean; + firewallBypassIps?: string[]; }; oidcTokenConfig?: { enabled: boolean; @@ -12113,7 +12117,7 @@ export type UpdateProjectResponse = { target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */ @@ -12722,7 +12726,7 @@ export type UpdateProjectResponse = { lastAliasRequest?: { fromDeploymentId: string; toDeploymentId: string; - jobStatus: 'pending' | 'in-progress' | 'succeeded' | 'failed' | 'skipped'; + jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress'; requestedAt: number; type: 'promote' | 'rollback'; } | null; @@ -12868,6 +12872,7 @@ export type UpdateProjectResponse = { firewallSeawallEnabled?: boolean; ja3Enabled?: boolean; ja4Enabled?: boolean; + firewallBypassIps?: string[]; }; oidcTokenConfig?: { enabled: boolean; @@ -14432,7 +14437,7 @@ export type CreateProjectEnvResponse = { target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */ @@ -14536,7 +14541,7 @@ export type CreateProjectEnvResponse = { target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */ @@ -15043,7 +15048,7 @@ export const removeProjectEnv = (variables: RemoveProjectEnvVariables, signal?: target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */ @@ -15147,7 +15152,7 @@ export const removeProjectEnv = (variables: RemoveProjectEnvVariables, signal?: target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */ @@ -15250,7 +15255,7 @@ export const removeProjectEnv = (variables: RemoveProjectEnvVariables, signal?: target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */ @@ -15441,7 +15446,7 @@ export const editProjectEnv = (variables: EditProjectEnvVariables, signal?: Abor target?: | ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development'); - type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive'; + type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret'; /** * This is used to identiy variables that have been migrated from type secret to sensitive. */