Skip to content

Commit

Permalink
[OpenAPI] Spec updates for vercel-api-js (#556)
Browse files Browse the repository at this point in the history
Co-authored-by: SferaDev <[email protected]>
  • Loading branch information
SferaDev and SferaDev authored Nov 19, 2024
1 parent c1107e7 commit 6c01a57
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/ur8y8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vercel-api-js": minor
---

Add firewallBypassIps field to project update and get responses
25 changes: 15 additions & 10 deletions packages/vercel-api-js/src/api/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2527,6 +2527,7 @@ export type UpdateProjectDataCacheResponse = {
firewallSeawallEnabled?: boolean;
ja3Enabled?: boolean;
ja4Enabled?: boolean;
firewallBypassIps?: string[];
};
oidcTokenConfig?: {
enabled: boolean;
Expand Down Expand Up @@ -10046,6 +10047,7 @@ export type GetProjectsResponse = {
firewallSeawallEnabled?: boolean;
ja3Enabled?: boolean;
ja4Enabled?: boolean;
firewallBypassIps?: string[];
};
oidcTokenConfig?: {
enabled: boolean;
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -10924,6 +10926,7 @@ export type CreateProjectResponse = {
firewallSeawallEnabled?: boolean;
ja3Enabled?: boolean;
ja4Enabled?: boolean;
firewallBypassIps?: string[];
};
oidcTokenConfig?: {
enabled: boolean;
Expand Down Expand Up @@ -11982,6 +11985,7 @@ export type GetProjectResponse = {
firewallSeawallEnabled?: boolean;
ja3Enabled?: boolean;
ja4Enabled?: boolean;
firewallBypassIps?: string[];
};
oidcTokenConfig?: {
enabled: boolean;
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -12868,6 +12872,7 @@ export type UpdateProjectResponse = {
firewallSeawallEnabled?: boolean;
ja3Enabled?: boolean;
ja4Enabled?: boolean;
firewallBypassIps?: string[];
};
oidcTokenConfig?: {
enabled: boolean;
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit 6c01a57

Please sign in to comment.