vercel-api-js 0.8.1 → 0.8.3
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +21 -0
- package/dist/index.d.mts +154 -158
- package/dist/index.d.ts +154 -158
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/lang.ts","../src/api/fetcher.ts","../src/api/components.ts","../src/utils/fetch.ts","../src/client.ts"],"sourcesContent":["function notEmpty<T>(value: T | null | undefined): value is T {\n return value !== null && value !== undefined;\n}\n\nexport function compactObject<T>(obj: Record<string, T | null | undefined>): Record<string, T> {\n return Object.fromEntries(Object.entries(obj).filter(([, value]) => notEmpty(value))) as Record<string, T>;\n}\n","import { FetchImpl } from '../utils/fetch';\nimport { compactObject } from '../utils/lang';\n\nexport type FetcherExtraProps = {\n token: string | null;\n fetchImpl: FetchImpl;\n};\n\nconst baseUrl = 'https://api.vercel.com';\n\nexport type ErrorWrapper<TError> = TError | { status: 'unknown'; payload: string };\n\nexport type FetcherOptions<TBody, THeaders, TQueryParams, TPathParams> = {\n url: string;\n method: string;\n body?: TBody | undefined;\n headers?: THeaders | undefined;\n queryParams?: TQueryParams | undefined;\n pathParams?: TPathParams | undefined;\n signal?: AbortSignal | undefined;\n} & FetcherExtraProps;\n\nexport async function fetch<\n TData,\n TError,\n TBody extends {} | FormData | undefined | null,\n THeaders extends {},\n TQueryParams extends {},\n TPathParams extends {}\n>({\n url,\n method,\n body,\n headers,\n pathParams,\n queryParams,\n signal,\n token,\n fetchImpl\n}: FetcherOptions<TBody, THeaders, TQueryParams, TPathParams>): Promise<TData> {\n try {\n const requestHeaders: HeadersInit = compactObject({\n 'Content-Type': 'application/json',\n Authorization: token ? `Bearer ${token}` : undefined,\n ...headers\n });\n\n /**\n * As the fetch API is being used, when multipart/form-data is specified\n * the Content-Type header must be deleted so that the browser can set\n * the correct boundary.\n * https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects#sending_files_using_a_formdata_object\n */\n if (requestHeaders['Content-Type']?.toLowerCase().includes('multipart/form-data')) {\n delete requestHeaders['Content-Type'];\n }\n\n const payload =\n body instanceof FormData\n ? body\n : requestHeaders['Content-Type'] === 'application/json'\n ? JSON.stringify(body)\n : (body as string);\n\n const response = await fetchImpl(`${baseUrl}${resolveUrl(url, queryParams, pathParams)}`, {\n signal,\n method: method.toUpperCase(),\n body: payload,\n headers: requestHeaders\n });\n\n if (!response.ok) {\n let error: ErrorWrapper<TError>;\n try {\n error = await response.json();\n } catch (e) {\n error = {\n status: 'unknown' as const,\n payload: e instanceof Error ? `Unexpected error (${e.message})` : 'Unexpected error'\n };\n }\n\n throw error;\n }\n\n if (response.headers?.get('content-type')?.includes('json')) {\n return await response.json();\n } else {\n // if it is not a json response, assume it is a blob and cast it to TData\n return (await response.text()) as unknown as TData;\n }\n } catch (e) {\n let errorObject: Error = {\n name: 'unknown' as const,\n message: e instanceof Error ? `Network error (${e.message})` : 'Network error',\n stack: e as string\n };\n throw errorObject;\n }\n}\n\nconst resolveUrl = (url: string, queryParams: Record<string, string> = {}, pathParams: Record<string, string> = {}) => {\n let query = new URLSearchParams(queryParams).toString();\n if (query) query = `?${query}`;\n return url.replace(/\\{\\w*\\}/g, (key) => pathParams[key.slice(1, -1)] ?? '') + query;\n};\n","/**\n * Generated by @openapi-codegen\n *\n * @version 0.0.1\n */\nimport type * as Fetcher from './fetcher';\nimport { fetch, FetcherExtraProps } from './fetcher';\nimport type * as Schemas from './schemas';\n\nexport type ReadAccessGroupPathParams = {\n idOrName: string;\n};\n\nexport type ReadAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ReadAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ReadAccessGroupResponse = {\n isDsyncManaged: boolean;\n /**\n * The name of this access group.\n *\n * @example my-access-group\n */\n name: string;\n /**\n * Timestamp in milliseconds when the access group was created.\n *\n * @example 1588720733602\n */\n createdAt: string;\n /**\n * ID of the team that this access group belongs to.\n *\n * @example team_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n teamId: string;\n /**\n * Timestamp in milliseconds when the access group was last updated.\n *\n * @example 1588720733602\n */\n updatedAt: string;\n /**\n * ID of the access group.\n *\n * @example ag_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n accessGroupId: string;\n /**\n * Number of members in the access group.\n *\n * @example 5\n */\n membersCount: number;\n /**\n * Number of projects in the access group.\n *\n * @example 2\n */\n projectsCount: number;\n};\n\nexport type ReadAccessGroupVariables = {\n pathParams: ReadAccessGroupPathParams;\n queryParams?: ReadAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to read an access group\n */\nexport const readAccessGroup = (variables: ReadAccessGroupVariables, signal?: AbortSignal) =>\n fetch<\n ReadAccessGroupResponse,\n ReadAccessGroupError,\n undefined,\n {},\n ReadAccessGroupQueryParams,\n ReadAccessGroupPathParams\n >({ url: '/v1/access-groups/{idOrName}', method: 'get', ...variables, signal });\n\nexport type UpdateAccessGroupPathParams = {\n idOrName: string;\n};\n\nexport type UpdateAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateAccessGroupVariables = {\n body?:\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove?: string[];\n }\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name?: string;\n projects: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove?: string[];\n }\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name?: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove?: string[];\n }\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name?: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove: string[];\n };\n pathParams: UpdateAccessGroupPathParams;\n queryParams?: UpdateAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to update an access group metadata\n */\nexport const updateAccessGroup = (variables: UpdateAccessGroupVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.AccessGroup,\n UpdateAccessGroupError,\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove?: string[];\n }\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name?: string;\n projects: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove?: string[];\n }\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name?: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove?: string[];\n }\n | {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name?: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove: string[];\n },\n {},\n UpdateAccessGroupQueryParams,\n UpdateAccessGroupPathParams\n >({ url: '/v1/access-groups/{idOrName}', method: 'post', ...variables, signal });\n\nexport type DeleteAccessGroupPathParams = {\n idOrName: string;\n};\n\nexport type DeleteAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteAccessGroupVariables = {\n pathParams: DeleteAccessGroupPathParams;\n queryParams?: DeleteAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to delete an access group\n */\nexport const deleteAccessGroup = (variables: DeleteAccessGroupVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteAccessGroupError, undefined, {}, DeleteAccessGroupQueryParams, DeleteAccessGroupPathParams>({\n url: '/v1/access-groups/{idOrName}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListAccessGroupMembersPathParams = {\n /**\n * The ID or name of the Access Group.\n *\n * @example ag_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type ListAccessGroupMembersQueryParams = {\n /**\n * Limit how many access group members should be returned.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Continuation cursor to retrieve the next page of results.\n */\n next?: string;\n /**\n * Search project members by their name, username, and email.\n */\n search?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAccessGroupMembersError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAccessGroupMembersResponse = {\n members: {\n avatar?: string;\n email: string;\n uid: string;\n username: string;\n name?: string;\n createdAt?: string;\n teamRole: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n }[];\n pagination: {\n count: number;\n next: string | null;\n };\n};\n\nexport type ListAccessGroupMembersVariables = {\n pathParams: ListAccessGroupMembersPathParams;\n queryParams?: ListAccessGroupMembersQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List members of an access group\n */\nexport const listAccessGroupMembers = (variables: ListAccessGroupMembersVariables, signal?: AbortSignal) =>\n fetch<\n ListAccessGroupMembersResponse,\n ListAccessGroupMembersError,\n undefined,\n {},\n ListAccessGroupMembersQueryParams,\n ListAccessGroupMembersPathParams\n >({ url: '/v1/access-groups/{idOrName}/members', method: 'get', ...variables, signal });\n\nexport type ListAccessGroupsQueryParams = {\n /**\n * Filter access groups by project.\n *\n * @example prj_pavWOn1iLObbx3RowVvzmPrTWyTf\n */\n projectId?: string;\n /**\n * Search for access groups by name.\n *\n * @example example\n */\n search?: string;\n /**\n * Number of members to include in the response.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n membersLimit?: number;\n /**\n * Number of projects to include in the response.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n projectsLimit?: number;\n /**\n * Limit how many access group should be returned.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Continuation cursor to retrieve the next page of results.\n */\n next?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAccessGroupsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAccessGroupsVariables = {\n queryParams?: ListAccessGroupsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List access groups\n */\nexport const listAccessGroups = (variables: ListAccessGroupsVariables, signal?: AbortSignal) =>\n fetch<\n | Record<string, any>\n | {\n accessGroups: {\n members?: string[];\n projects?: string[];\n isDsyncManaged: boolean;\n /**\n * The name of this access group.\n *\n * @example my-access-group\n */\n name: string;\n /**\n * Timestamp in milliseconds when the access group was created.\n *\n * @example 1588720733602\n */\n createdAt: string;\n /**\n * ID of the team that this access group belongs to.\n *\n * @example team_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n teamId: string;\n /**\n * Timestamp in milliseconds when the access group was last updated.\n *\n * @example 1588720733602\n */\n updatedAt: string;\n /**\n * ID of the access group.\n *\n * @example ag_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n accessGroupId: string;\n /**\n * Number of members in the access group.\n *\n * @example 5\n */\n membersCount: number;\n /**\n * Number of projects in the access group.\n *\n * @example 2\n */\n projectsCount: number;\n }[];\n pagination: {\n count: number;\n next: string | null;\n };\n },\n ListAccessGroupsError,\n undefined,\n {},\n ListAccessGroupsQueryParams,\n {}\n >({ url: '/v1/access-groups', method: 'get', ...variables, signal });\n\nexport type CreateAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateAccessGroupResponse = {\n membersCount: number;\n projectsCount: number;\n /**\n * The name of this access group.\n *\n * @example my-access-group\n */\n name: string;\n /**\n * Timestamp in milliseconds when the access group was created.\n *\n * @example 1588720733602\n */\n createdAt: string;\n /**\n * ID of the team that this access group belongs to.\n *\n * @example team_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n teamId: string;\n /**\n * Timestamp in milliseconds when the access group was last updated.\n *\n * @example 1588720733602\n */\n updatedAt: string;\n /**\n * ID of the access group.\n *\n * @example ag_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n accessGroupId: string;\n};\n\nexport type CreateAccessGroupRequestBody = {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n};\n\nexport type CreateAccessGroupVariables = {\n body: CreateAccessGroupRequestBody;\n queryParams?: CreateAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to create an access group\n */\nexport const createAccessGroup = (variables: CreateAccessGroupVariables, signal?: AbortSignal) =>\n fetch<\n CreateAccessGroupResponse,\n CreateAccessGroupError,\n CreateAccessGroupRequestBody,\n {},\n CreateAccessGroupQueryParams,\n {}\n >({ url: '/v1/access-groups', method: 'post', ...variables, signal });\n\nexport type ListAccessGroupProjectsPathParams = {\n /**\n * The ID or name of the Access Group.\n *\n * @example ag_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type ListAccessGroupProjectsQueryParams = {\n /**\n * Limit how many access group projects should be returned.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Continuation cursor to retrieve the next page of results.\n */\n next?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAccessGroupProjectsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAccessGroupProjectsResponse = {\n projects: {\n projectId: string;\n role: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n createdAt: string;\n updatedAt: string;\n project: {\n name?: string;\n framework?: string | null;\n latestDeploymentId?: string;\n };\n }[];\n pagination: {\n count: number;\n next: string | null;\n };\n};\n\nexport type ListAccessGroupProjectsVariables = {\n pathParams: ListAccessGroupProjectsPathParams;\n queryParams?: ListAccessGroupProjectsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List projects of an access group\n */\nexport const listAccessGroupProjects = (variables: ListAccessGroupProjectsVariables, signal?: AbortSignal) =>\n fetch<\n ListAccessGroupProjectsResponse,\n ListAccessGroupProjectsError,\n undefined,\n {},\n ListAccessGroupProjectsQueryParams,\n ListAccessGroupProjectsPathParams\n >({ url: '/v1/access-groups/{idOrName}/projects', method: 'get', ...variables, signal });\n\nexport type RecordEventsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RecordEventsHeaders = {\n /**\n * The continuous integration or delivery environment where this artifact is downloaded.\n *\n * @example VERCEL\n * @maxLength 50\n */\n ['x-artifact-client-ci']?: string;\n /**\n * 1 if the client is an interactive shell. Otherwise 0\n *\n * @example 0\n * @minimum 0\n * @maximum 1\n */\n ['x-artifact-client-interactive']?: number;\n};\n\nexport type RecordEventsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RecordEventsRequestBody = {\n /**\n * A UUID (universally unique identifer) for the session that generated this event.\n */\n sessionId: string;\n /**\n * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache.\n */\n source: 'LOCAL' | 'REMOTE';\n /**\n * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found.\n */\n event: 'HIT' | 'MISS';\n /**\n * The artifact hash\n *\n * @example 12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n hash: string;\n /**\n * The time taken to generate the artifact. This should be sent as a body parameter on `HIT` events.\n *\n * @example 400\n */\n duration?: number;\n}[];\n\nexport type RecordEventsVariables = {\n body?: RecordEventsRequestBody;\n headers?: RecordEventsHeaders;\n queryParams?: RecordEventsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are `HIT` and `MISS`. The source is either `LOCAL` the cache event was on the users filesystem cache or `REMOTE` if the cache event is for a remote cache. When the event is a `HIT` the request also accepts a number `duration` which is the time taken to generate the artifact in the cache.\n */\nexport const recordEvents = (variables: RecordEventsVariables, signal?: AbortSignal) =>\n fetch<undefined, RecordEventsError, RecordEventsRequestBody, RecordEventsHeaders, RecordEventsQueryParams, {}>({\n url: '/v8/artifacts/events',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type StatusQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type StatusError = Fetcher.ErrorWrapper<undefined>;\n\nexport type StatusResponse = {\n status: 'disabled' | 'enabled' | 'over_limit' | 'paused';\n};\n\nexport type StatusVariables = {\n queryParams?: StatusQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits.\n */\nexport const status = (variables: StatusVariables, signal?: AbortSignal) =>\n fetch<StatusResponse, StatusError, undefined, {}, StatusQueryParams, {}>({\n url: '/v8/artifacts/status',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UploadArtifactPathParams = {\n /**\n * The artifact hash\n *\n * @example 12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n hash: string;\n};\n\nexport type UploadArtifactQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UploadArtifactHeaders = {\n /**\n * The artifact size in bytes\n */\n ['Content-Length']: number;\n /**\n * The time taken to generate the uploaded artifact in milliseconds.\n *\n * @example 400\n */\n ['x-artifact-duration']?: number;\n /**\n * The continuous integration or delivery environment where this artifact was generated.\n *\n * @example VERCEL\n * @maxLength 50\n */\n ['x-artifact-client-ci']?: string;\n /**\n * 1 if the client is an interactive shell. Otherwise 0\n *\n * @example 0\n * @minimum 0\n * @maximum 1\n */\n ['x-artifact-client-interactive']?: number;\n /**\n * The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag`\n *\n * @example Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=\n * @maxLength 600\n */\n ['x-artifact-tag']?: string;\n};\n\nexport type UploadArtifactError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UploadArtifactResponse = {\n /**\n * Array of URLs where the artifact was updated\n *\n * @example https://api.vercel.com/v2/now/artifact/12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n urls: string[];\n};\n\nexport type UploadArtifactVariables = {\n body?: Blob;\n headers: UploadArtifactHeaders;\n pathParams: UploadArtifactPathParams;\n queryParams?: UploadArtifactQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.\n */\nexport const uploadArtifact = (variables: UploadArtifactVariables, signal?: AbortSignal) =>\n fetch<\n UploadArtifactResponse,\n UploadArtifactError,\n Blob,\n UploadArtifactHeaders,\n UploadArtifactQueryParams,\n UploadArtifactPathParams\n >({ url: '/v8/artifacts/{hash}', method: 'put', ...variables, signal });\n\nexport type DownloadArtifactPathParams = {\n /**\n * The artifact hash\n *\n * @example 12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n hash: string;\n};\n\nexport type DownloadArtifactQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DownloadArtifactHeaders = {\n /**\n * The continuous integration or delivery environment where this artifact is downloaded.\n *\n * @example VERCEL\n * @maxLength 50\n */\n ['x-artifact-client-ci']?: string;\n /**\n * 1 if the client is an interactive shell. Otherwise 0\n *\n * @example 0\n * @minimum 0\n * @maximum 1\n */\n ['x-artifact-client-interactive']?: number;\n};\n\nexport type DownloadArtifactError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DownloadArtifactVariables = {\n headers?: DownloadArtifactHeaders;\n pathParams: DownloadArtifactPathParams;\n queryParams?: DownloadArtifactQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body.\n */\nexport const downloadArtifact = (variables: DownloadArtifactVariables, signal?: AbortSignal) =>\n fetch<\n Blob,\n DownloadArtifactError,\n undefined,\n DownloadArtifactHeaders,\n DownloadArtifactQueryParams,\n DownloadArtifactPathParams\n >({ url: '/v8/artifacts/{hash}', method: 'get', ...variables, signal });\n\nexport type ArtifactQueryQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ArtifactQueryError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ArtifactQueryResponse = {\n [key: string]:\n | {\n size: number;\n taskDurationMs: number;\n tag?: string;\n }\n | {\n error: {\n message: string;\n };\n }\n | null;\n};\n\nexport type ArtifactQueryRequestBody = {\n /**\n * artifact hashes\n */\n hashes: string[];\n};\n\nexport type ArtifactQueryVariables = {\n body: ArtifactQueryRequestBody;\n queryParams?: ArtifactQueryQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Query information about an array of artifacts.\n */\nexport const artifactQuery = (variables: ArtifactQueryVariables, signal?: AbortSignal) =>\n fetch<ArtifactQueryResponse, ArtifactQueryError, ArtifactQueryRequestBody, {}, ArtifactQueryQueryParams, {}>({\n url: '/v8/artifacts',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type CreateCheckPathParams = {\n /**\n * The deployment to create the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n};\n\nexport type CreateCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateCheckResponse = {\n id: string;\n name: string;\n path?: string;\n status: 'registered' | 'running' | 'completed';\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n blocking: boolean;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n detailsUrl?: string;\n integrationId: string;\n deploymentId: string;\n externalId?: string;\n createdAt: number;\n updatedAt: number;\n startedAt?: number;\n completedAt?: number;\n rerequestable?: boolean;\n};\n\nexport type CreateCheckRequestBody = {\n /**\n * The name of the check being created\n *\n * @maxLength 100\n * @example Performance Check\n */\n name: string;\n /**\n * Path of the page that is being checked\n *\n * @maxLength 255\n * @example /\n */\n path?: string;\n /**\n * Whether the check should block a deployment from succeeding\n *\n * @example true\n */\n blocking: boolean;\n /**\n * URL to display for further details\n *\n * @example http://example.com\n */\n detailsUrl?: string;\n /**\n * An identifier that can be used as an external reference\n *\n * @example 1234abc\n */\n externalId?: string;\n /**\n * Whether a user should be able to request for the check to be rerun if it fails\n *\n * @example true\n */\n rerequestable?: boolean;\n};\n\nexport type CreateCheckVariables = {\n body: CreateCheckRequestBody;\n pathParams: CreateCheckPathParams;\n queryParams?: CreateCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error.\n */\nexport const createCheck = (variables: CreateCheckVariables, signal?: AbortSignal) =>\n fetch<\n CreateCheckResponse,\n CreateCheckError,\n CreateCheckRequestBody,\n {},\n CreateCheckQueryParams,\n CreateCheckPathParams\n >({ url: '/v1/deployments/{deploymentId}/checks', method: 'post', ...variables, signal });\n\nexport type GetAllChecksPathParams = {\n /**\n * The deployment to get all checks for\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n};\n\nexport type GetAllChecksQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetAllChecksError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAllChecksResponse = {\n checks: {\n completedAt?: number;\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n createdAt: number;\n detailsUrl?: string;\n id: string;\n integrationId: string;\n name: string;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n path?: string;\n rerequestable: boolean;\n startedAt?: number;\n status: 'registered' | 'running' | 'completed';\n updatedAt: number;\n }[];\n};\n\nexport type GetAllChecksVariables = {\n pathParams: GetAllChecksPathParams;\n queryParams?: GetAllChecksQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List all of the checks created for a deployment.\n */\nexport const getAllChecks = (variables: GetAllChecksVariables, signal?: AbortSignal) =>\n fetch<GetAllChecksResponse, GetAllChecksError, undefined, {}, GetAllChecksQueryParams, GetAllChecksPathParams>({\n url: '/v1/deployments/{deploymentId}/checks',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetCheckPathParams = {\n /**\n * The deployment to get the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n /**\n * The check to fetch\n *\n * @example check_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n checkId: string;\n};\n\nexport type GetCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetCheckResponse = {\n id: string;\n name: string;\n path?: string;\n status: 'registered' | 'running' | 'completed';\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n blocking: boolean;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n detailsUrl?: string;\n integrationId: string;\n deploymentId: string;\n externalId?: string;\n createdAt: number;\n updatedAt: number;\n startedAt?: number;\n completedAt?: number;\n rerequestable?: boolean;\n};\n\nexport type GetCheckVariables = {\n pathParams: GetCheckPathParams;\n queryParams?: GetCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Return a detailed response for a single check.\n */\nexport const getCheck = (variables: GetCheckVariables, signal?: AbortSignal) =>\n fetch<GetCheckResponse, GetCheckError, undefined, {}, GetCheckQueryParams, GetCheckPathParams>({\n url: '/v1/deployments/{deploymentId}/checks/{checkId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UpdateCheckPathParams = {\n /**\n * The deployment to update the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n /**\n * The check being updated\n *\n * @example check_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n checkId: string;\n};\n\nexport type UpdateCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateCheckResponse = {\n id: string;\n name: string;\n path?: string;\n status: 'registered' | 'running' | 'completed';\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n blocking: boolean;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n detailsUrl?: string;\n integrationId: string;\n deploymentId: string;\n externalId?: string;\n createdAt: number;\n updatedAt: number;\n startedAt?: number;\n completedAt?: number;\n rerequestable?: boolean;\n};\n\nexport type UpdateCheckRequestBody = {\n /**\n * The name of the check being created\n *\n * @maxLength 100\n * @example Performance Check\n */\n name?: string;\n /**\n * Path of the page that is being checked\n *\n * @maxLength 255\n * @example /\n */\n path?: string;\n /**\n * The current status of the check\n */\n status?: 'running' | 'completed';\n /**\n * The result of the check being run\n */\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped';\n /**\n * A URL a user may visit to see more information about the check\n *\n * @example https://example.com/check/run/1234abc\n */\n detailsUrl?: string;\n /**\n * The results of the check Run\n */\n output?: {\n /**\n * Metrics about the page\n */\n metrics?: {\n FCP: {\n /**\n * First Contentful Paint value\n *\n * @example 1200\n */\n value: number | null;\n /**\n * Previous First Contentful Paint value to display a delta\n *\n * @example 900\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n /**\n * Largest Contentful Paint value\n *\n * @example 1200\n */\n value: number | null;\n /**\n * Previous Largest Contentful Paint value to display a delta\n *\n * @example 1000\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n /**\n * Cumulative Layout Shift value\n *\n * @example 4\n */\n value: number | null;\n /**\n * Previous Cumulative Layout Shift value to display a delta\n *\n * @example 2\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n /**\n * Total Blocking Time value\n *\n * @example 3000\n */\n value: number | null;\n /**\n * Previous Total Blocking Time value to display a delta\n *\n * @example 3500\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n /**\n * The calculated Virtual Experience Score value, between 0 and 100\n *\n * @maximum 100\n * @minimum 0\n * @example 30\n */\n value: number | null;\n /**\n * A previous Virtual Experience Score value to display a delta, between 0 and 100\n *\n * @maximum 100\n * @minimum 0\n * @example 35\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n /**\n * An identifier that can be used as an external reference\n *\n * @example 1234abc\n */\n externalId?: string;\n};\n\nexport type UpdateCheckVariables = {\n body?: UpdateCheckRequestBody;\n pathParams: UpdateCheckPathParams;\n queryParams?: UpdateCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error.\n */\nexport const updateCheck = (variables: UpdateCheckVariables, signal?: AbortSignal) =>\n fetch<\n UpdateCheckResponse,\n UpdateCheckError,\n UpdateCheckRequestBody,\n {},\n UpdateCheckQueryParams,\n UpdateCheckPathParams\n >({ url: '/v1/deployments/{deploymentId}/checks/{checkId}', method: 'patch', ...variables, signal });\n\nexport type RerequestCheckPathParams = {\n /**\n * The deployment to rerun the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n /**\n * The check to rerun\n *\n * @example check_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n checkId: string;\n};\n\nexport type RerequestCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RerequestCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RerequestCheckVariables = {\n pathParams: RerequestCheckPathParams;\n queryParams?: RerequestCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Rerequest a selected check that has failed.\n */\nexport const rerequestCheck = (variables: RerequestCheckVariables, signal?: AbortSignal) =>\n fetch<Record<string, any>, RerequestCheckError, undefined, {}, RerequestCheckQueryParams, RerequestCheckPathParams>({\n url: '/v1/deployments/{deploymentId}/checks/{checkId}/rerequest',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UpdateProjectDataCachePathParams = {\n /**\n * The unique project identifier\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId: string;\n};\n\nexport type UpdateProjectDataCacheQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateProjectDataCacheError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateProjectDataCacheResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type UpdateProjectDataCacheRequestBody = {\n /**\n * Enable or disable data cache for the project - default: false\n *\n * @example true\n */\n disabled?: boolean;\n};\n\nexport type UpdateProjectDataCacheVariables = {\n body?: UpdateProjectDataCacheRequestBody;\n pathParams: UpdateProjectDataCachePathParams;\n queryParams?: UpdateProjectDataCacheQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update the data cache feature on a project.\n */\nexport const updateProjectDataCache = (variables: UpdateProjectDataCacheVariables, signal?: AbortSignal) =>\n fetch<\n UpdateProjectDataCacheResponse,\n UpdateProjectDataCacheError,\n UpdateProjectDataCacheRequestBody,\n {},\n UpdateProjectDataCacheQueryParams,\n UpdateProjectDataCachePathParams\n >({ url: '/v1/data-cache/projects/{projectId}', method: 'patch', ...variables, signal });\n\nexport type GetDeploymentEventsPathParams = {\n /**\n * The unique identifier or hostname of the deployment.\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n idOrUrl: string;\n};\n\nexport type GetDeploymentEventsQueryParams = {\n /**\n * Order of the returned events based on the timestamp.\n *\n * @default forward\n * @example backward\n */\n direction?: 'backward' | 'forward';\n /**\n * When enabled, this endpoint will return live events as they happen.\n *\n * @example 1\n */\n follow?: 0 | 1;\n /**\n * Maximum number of events to return. Provide `-1` to return all available logs.\n *\n * @example 100\n */\n limit?: number;\n /**\n * Deployment build ID.\n *\n * @example bld_cotnkcr76\n */\n name?: string;\n /**\n * Timestamp for when build logs should be pulled from.\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Timestamp for when the build logs should be pulled up until.\n *\n * @example 1540106318643\n */\n until?: number;\n /**\n * HTTP status code range to filter events by.\n *\n * @example 5xx\n */\n statusCode?: number | string;\n /**\n * @example 1\n */\n delimiter?: 0 | 1;\n /**\n * @example 1\n */\n builds?: 0 | 1;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentEventsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentEventsResponse = (\n | {\n created: number;\n date: number;\n deploymentId: string;\n id: string;\n info: {\n type: string;\n name: string;\n entrypoint?: string;\n path?: string;\n step?: string;\n readyState?: string;\n };\n proxy?: {\n timestamp: number;\n method: string;\n host: string;\n path: string;\n statusCode?: number;\n userAgent: string[];\n referer: string;\n clientIp: string;\n region: string;\n scheme?: string;\n responseByteSize?: number;\n cacheId?: string;\n pathType?: string;\n vercelId?: string;\n vercelCache?: 'MISS' | 'HIT' | 'STALE' | 'BYPASS' | 'PRERENDER' | 'REVALIDATED';\n lambdaRegion?: string;\n };\n requestId?: string;\n serial: string;\n statusCode?: number;\n text?: string;\n type:\n | 'command'\n | 'stdout'\n | 'stderr'\n | 'exit'\n | 'deployment-state'\n | 'delimiter'\n | 'middleware'\n | 'middleware-invocation'\n | 'edge-function-invocation'\n | 'fatal';\n }\n | {\n type:\n | 'command'\n | 'stdout'\n | 'stderr'\n | 'exit'\n | 'deployment-state'\n | 'delimiter'\n | 'middleware'\n | 'middleware-invocation'\n | 'edge-function-invocation'\n | 'fatal';\n created: number;\n payload: {\n deploymentId: string;\n info?: {\n type: string;\n name: string;\n entrypoint?: string;\n path?: string;\n step?: string;\n readyState?: string;\n };\n text?: string;\n id: string;\n date: number;\n serial: string;\n created?: number;\n statusCode?: number;\n requestId?: string;\n proxy?: {\n timestamp: number;\n method: string;\n host: string;\n path: string;\n statusCode?: number;\n userAgent: string[];\n referer: string;\n clientIp: string;\n region: string;\n scheme?: string;\n responseByteSize?: number;\n cacheId?: string;\n pathType?: string;\n vercelId?: string;\n vercelCache?: 'MISS' | 'HIT' | 'STALE' | 'BYPASS' | 'PRERENDER' | 'REVALIDATED';\n lambdaRegion?: string;\n };\n };\n }\n)[];\n\nexport type GetDeploymentEventsVariables = {\n pathParams: GetDeploymentEventsPathParams;\n queryParams?: GetDeploymentEventsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters.\n */\nexport const getDeploymentEvents = (variables: GetDeploymentEventsVariables, signal?: AbortSignal) =>\n fetch<\n GetDeploymentEventsResponse,\n GetDeploymentEventsError,\n undefined,\n {},\n GetDeploymentEventsQueryParams,\n GetDeploymentEventsPathParams\n >({ url: '/v2/deployments/{idOrUrl}/events', method: 'get', ...variables, signal });\n\nexport type GetDeploymentPathParams = {\n /**\n * The unique identifier or hostname of the deployment.\n *\n * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ\n */\n idOrUrl: string;\n};\n\nexport type GetDeploymentQueryParams = {\n /**\n * Whether to add in gitRepo information.\n *\n * @example true\n */\n withGitRepoInfo?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentVariables = {\n pathParams: GetDeploymentPathParams;\n queryParams?: GetDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves information for a deployment either by supplying its ID (`id` property) or Hostname (`url` property). Additional details will be included when the authenticated user or team is an owner of the deployment.\n */\nexport const getDeployment = (variables: GetDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n | {\n aliasAssignedAt?: number | boolean | null;\n alwaysRefuseToBuild?: boolean;\n build: {\n env: string[];\n };\n builds?: Record<string, any>[];\n env: string[];\n inspectorUrl: string | null;\n isInConcurrentBuildsQueue: boolean;\n projectSettings: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n readyStateReason?: string;\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n team?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'startsWith' | 'equals' | 'endsWith';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n type: 'LAMBDAS';\n id: string;\n createdAt: number;\n deletedAt?: number | null;\n name: string;\n version: 2;\n readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorMessage?: string | null;\n errorStep?: string;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n regions: string[];\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n target?: 'staging' | 'production' | null;\n url: string;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n plan: 'pro' | 'enterprise' | 'hobby';\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdIn: string;\n crons?: {\n schedule: string;\n path: string;\n }[];\n functions?: {\n [key: string]: {\n memory?: number;\n maxDuration?: number;\n runtime?: string;\n includeFiles?: string;\n excludeFiles?: string;\n };\n } | null;\n monorepoManager?: string | null;\n ownerId: string;\n /**\n * Since November 2023 this field defines a connect configuration that will only be used to deploy passive lambdas to (as in passiveRegions)\n */\n passiveConnectConfigurationId?: string;\n projectId: string;\n routes:\n | (\n | {\n src: string;\n dest?: string;\n headers?: {\n [key: string]: string;\n };\n methods?: string[];\n ['continue']?: boolean;\n override?: boolean;\n caseSensitive?: boolean;\n check?: boolean;\n important?: boolean;\n status?: number;\n has?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n missing?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n locale?: {\n redirect?: {\n [key: string]: string;\n };\n cookie?: string;\n };\n /**\n * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.\n */\n middlewarePath?: string;\n /**\n * The original middleware matchers.\n */\n middlewareRawSrc?: string[];\n /**\n * A middleware index in the `middleware` key under the build result\n */\n middleware?: number;\n }\n | {\n handle: 'error' | 'filesystem' | 'hit' | 'miss' | 'rewrite' | 'resource';\n src?: string;\n dest?: string;\n status?: number;\n }\n | {\n src: string;\n ['continue']: boolean;\n middleware: 0;\n }\n )[]\n | null;\n gitRepo?:\n | {\n namespace: string;\n projectId: number;\n type: 'gitlab';\n url: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n org: string;\n repo: string;\n repoId: number;\n type: 'github';\n repoOwnerId: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n owner: string;\n repoUuid: string;\n slug: string;\n type: 'bitbucket';\n workspaceUuid: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | null;\n flags?:\n | {\n definitions: {\n [key: string]: string;\n };\n }\n | Record<string, any>[];\n }\n | {\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n team?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'startsWith' | 'equals' | 'endsWith';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n type: 'LAMBDAS';\n id: string;\n createdAt: number;\n deletedAt?: number | null;\n name: string;\n version: 2;\n readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorMessage?: string | null;\n errorStep?: string;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n regions: string[];\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n target?: 'staging' | 'production' | null;\n url: string;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n },\n GetDeploymentError,\n undefined,\n {},\n GetDeploymentQueryParams,\n GetDeploymentPathParams\n >({ url: '/v13/deployments/{idOrUrl}', method: 'get', ...variables, signal });\n\nexport type CreateDeploymentQueryParams = {\n /**\n * Forces a new deployment even if there is a previous similar deployment\n */\n forceNew?: '0' | '1';\n /**\n * Allows to skip framework detection so the API would not fail to ask for confirmation\n */\n skipAutoDetectionConfirmation?: '0' | '1';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateDeploymentResponse = {\n aliasAssignedAt?: number | boolean | null;\n alwaysRefuseToBuild?: boolean;\n build: {\n env: string[];\n };\n builds?: Record<string, any>[];\n env: string[];\n inspectorUrl: string | null;\n isInConcurrentBuildsQueue: boolean;\n projectSettings: {\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n readyStateReason?: string;\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'CANCELED' | 'ERROR' | 'QUEUED' | 'BUILDING' | 'INITIALIZING' | 'READY';\n team?: {\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'endsWith' | 'startsWith' | 'equals';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n type: 'LAMBDAS';\n name: string;\n createdAt: number;\n deletedAt?: number | null;\n id: string;\n version: 2;\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n readyState: 'CANCELED' | 'ERROR' | 'QUEUED' | 'BUILDING' | 'INITIALIZING' | 'READY';\n source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo' | 'api-trigger-git-deploy';\n target?: 'staging' | 'production' | null;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n regions: string[];\n errorMessage?: string | null;\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorStep?: string;\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n url: string;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n projectId: string;\n ownerId: string;\n monorepoManager?: string | null;\n functions?: {\n [key: string]: {\n memory?: number;\n maxDuration?: number;\n runtime?: string;\n includeFiles?: string;\n excludeFiles?: string;\n };\n } | null;\n routes:\n | (\n | {\n src: string;\n dest?: string;\n headers?: {\n [key: string]: string;\n };\n methods?: string[];\n ['continue']?: boolean;\n override?: boolean;\n caseSensitive?: boolean;\n check?: boolean;\n important?: boolean;\n status?: number;\n has?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n missing?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n locale?: {\n redirect?: {\n [key: string]: string;\n };\n cookie?: string;\n };\n /**\n * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.\n */\n middlewarePath?: string;\n /**\n * The original middleware matchers.\n */\n middlewareRawSrc?: string[];\n /**\n * A middleware index in the `middleware` key under the build result\n */\n middleware?: number;\n }\n | {\n handle: 'error' | 'filesystem' | 'hit' | 'miss' | 'resource' | 'rewrite';\n src?: string;\n dest?: string;\n status?: number;\n }\n | {\n src: string;\n ['continue']: boolean;\n middleware: 0;\n }\n )[]\n | null;\n crons?: {\n schedule: string;\n path: string;\n }[];\n plan: 'pro' | 'enterprise' | 'hobby';\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdIn: string;\n /**\n * Since November 2023 this field defines a connect configuration that will only be used to deploy passive lambdas to (as in passiveRegions)\n */\n passiveConnectConfigurationId?: string;\n gitRepo?:\n | {\n namespace: string;\n projectId: number;\n type: 'gitlab';\n url: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'user' | 'team';\n }\n | {\n org: string;\n repo: string;\n repoId: number;\n type: 'github';\n repoOwnerId: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'user' | 'team';\n }\n | {\n owner: string;\n repoUuid: string;\n slug: string;\n type: 'bitbucket';\n workspaceUuid: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'user' | 'team';\n }\n | null;\n flags?:\n | {\n definitions: {\n [key: string]: string;\n };\n }\n | Record<string, any>[];\n};\n\nexport type CreateDeploymentRequestBody = {\n /**\n * Deploy to a custom environment, which will override the default environment\n */\n customEnvironmentSlugOrId?: string;\n /**\n * An deployment id for an existing deployment to redeploy\n */\n deploymentId?: string;\n /**\n * A list of objects with the files to be deployed\n */\n files?: (\n | {\n /**\n * The file content, it could be either a `base64` (useful for images, etc.) of the files or the plain content for source code\n */\n data: string;\n /**\n * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code.\n */\n encoding?: 'base64' | 'utf-8';\n /**\n * The file name including the whole path\n *\n * @example folder/file.js\n */\n file: string;\n }\n | {\n /**\n * The file path relative to the project root\n *\n * @example folder/file.js\n */\n file: string;\n /**\n * The file contents hashed with SHA1, used to check the integrity\n */\n sha?: string;\n /**\n * The file size in bytes\n */\n size?: number;\n }\n )[];\n /**\n * Populates initial git metadata for different git providers.\n */\n gitMetadata?: {\n /**\n * The git repository's remote origin url\n *\n * @example https://github.com/vercel/next.js\n */\n remoteUrl?: string;\n /**\n * The name of the author of the commit\n *\n * @example kyliau\n */\n commitAuthorName?: string;\n /**\n * The commit message\n *\n * @example add method to measure Interaction to Next Paint (INP) (#36490)\n */\n commitMessage?: string;\n /**\n * The branch on which the commit was made\n *\n * @example main\n */\n commitRef?: string;\n /**\n * The hash of the commit\n *\n * @example dc36199b2234c6586ebe05ec94078a895c707e29\n */\n commitSha?: string;\n /**\n * Whether or not there have been modifications to the working tree since the latest commit\n *\n * @example true\n */\n dirty?: boolean;\n };\n /**\n * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.\n */\n gitSource?:\n | {\n ref: string;\n repoId: number | string;\n sha?: string;\n type: 'github';\n }\n | {\n org: string;\n ref: string;\n repo: string;\n sha?: string;\n type: 'github';\n }\n | {\n projectId: number | string;\n ref: string;\n sha?: string;\n type: 'gitlab';\n }\n | {\n ref: string;\n repoUuid: string;\n sha?: string;\n type: 'bitbucket';\n workspaceUuid?: string;\n }\n | {\n owner: string;\n ref: string;\n sha?: string;\n slug: string;\n type: 'bitbucket';\n };\n /**\n * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment\n *\n * @example {\"foo\":\"bar\"}\n * @maxProperties 100\n */\n meta?: {\n [key: string]: string;\n };\n /**\n * The monorepo manager that is being used for this deployment. When `null` is used no monorepo manager is selected\n */\n monorepoManager?: string | null;\n /**\n * A string with the project name used in the deployment URL\n *\n * @example my-instant-deployment\n */\n name: string;\n /**\n * The target project identifier in which the deployment will be created. When defined, this parameter overrides name\n *\n * @example my-deployment-project\n */\n project?: string;\n /**\n * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments\n */\n projectSettings?: {\n /**\n * The build command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n buildCommand?: string | null;\n /**\n * @maxLength 256\n */\n commandForIgnoringBuildStep?: string | null;\n /**\n * The dev command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n devCommand?: string | null;\n /**\n * The framework that is being used for this project. When `null` is used no framework is selected\n */\n framework?:\n | any\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n /**\n * The install command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n installCommand?: string | null;\n /**\n * Override the Node.js version that should be used for this deployment\n */\n nodeVersion?: '20.x' | '18.x' | '16.x';\n /**\n * The output directory of the project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n outputDirectory?: string | null;\n /**\n * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root\n *\n * @maxLength 256\n */\n rootDirectory?: string | null;\n /**\n * The region to deploy Serverless Functions in this project\n *\n * @maxLength 4\n */\n serverlessFunctionRegion?: string | null;\n /**\n * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.\n *\n * @deprecated true\n */\n skipGitConnectDuringLink?: boolean;\n /**\n * Indicates if there are source files outside of the root directory, typically used for monorepos\n */\n sourceFilesOutsideRootDirectory?: boolean;\n };\n /**\n * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `<project>-<team>.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview`\n */\n target?: 'staging' | 'production';\n /**\n * When `true` and `deploymentId` is passed in, the sha from the previous deployment's `gitSource` is removed forcing the latest commit to be used.\n */\n withLatestCommit?: boolean;\n};\n\nexport type CreateDeploymentVariables = {\n body: CreateDeploymentRequestBody;\n queryParams?: CreateDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Create a new deployment with all the required and intended data. If the deployment is not a git deployment, all files must be provided with the request, either referenced or inlined. Additionally, a deployment id can be specified to redeploy a previous deployment.\n */\nexport const createDeployment = (variables: CreateDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n CreateDeploymentResponse,\n CreateDeploymentError,\n CreateDeploymentRequestBody,\n {},\n CreateDeploymentQueryParams,\n {}\n >({ url: '/v13/deployments', method: 'post', ...variables, signal });\n\nexport type CancelDeploymentPathParams = {\n /**\n * The unique identifier of the deployment.\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n id: string;\n};\n\nexport type CancelDeploymentQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CancelDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CancelDeploymentResponse = {\n aliasAssignedAt?: number | boolean | null;\n alwaysRefuseToBuild?: boolean;\n build: {\n env: string[];\n };\n builds?: Record<string, any>[];\n env: string[];\n inspectorUrl: string | null;\n isInConcurrentBuildsQueue: boolean;\n projectSettings: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n readyStateReason?: string;\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n team?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'startsWith' | 'equals' | 'endsWith';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n id: string;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n automaticAliases?: string[];\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n createdAt: number;\n deletedAt?: number | null;\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorMessage?: string | null;\n errorStep?: string;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n name: string;\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n regions: string[];\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n target?: 'production' | 'staging' | null;\n type: 'LAMBDAS';\n url: string;\n version: 2;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdIn: string;\n crons?: {\n schedule: string;\n path: string;\n }[];\n functions?: {\n [key: string]: {\n memory?: number;\n maxDuration?: number;\n runtime?: string;\n includeFiles?: string;\n excludeFiles?: string;\n };\n } | null;\n monorepoManager?: string | null;\n ownerId: string;\n /**\n * Since November 2023 this field defines a connect configuration that will only be used to deploy passive lambdas to (as in passiveRegions)\n */\n passiveConnectConfigurationId?: string;\n plan: 'pro' | 'enterprise' | 'hobby';\n projectId: string;\n routes:\n | (\n | {\n src: string;\n dest?: string;\n headers?: {\n [key: string]: string;\n };\n methods?: string[];\n ['continue']?: boolean;\n override?: boolean;\n caseSensitive?: boolean;\n check?: boolean;\n important?: boolean;\n status?: number;\n has?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n missing?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n locale?: {\n redirect?: {\n [key: string]: string;\n };\n cookie?: string;\n };\n /**\n * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.\n */\n middlewarePath?: string;\n /**\n * The original middleware matchers.\n */\n middlewareRawSrc?: string[];\n /**\n * A middleware index in the `middleware` key under the build result\n */\n middleware?: number;\n }\n | {\n handle: 'filesystem' | 'hit' | 'miss' | 'rewrite' | 'error' | 'resource';\n src?: string;\n dest?: string;\n status?: number;\n }\n | {\n src: string;\n ['continue']: boolean;\n middleware: 0;\n }\n )[]\n | null;\n gitRepo?:\n | {\n namespace: string;\n projectId: number;\n type: 'gitlab';\n url: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n org: string;\n repo: string;\n repoId: number;\n type: 'github';\n repoOwnerId: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n owner: string;\n repoUuid: string;\n slug: string;\n type: 'bitbucket';\n workspaceUuid: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | null;\n flags?:\n | {\n definitions: {\n [key: string]: string;\n };\n }\n | Record<string, any>[];\n};\n\nexport type CancelDeploymentVariables = {\n pathParams: CancelDeploymentPathParams;\n queryParams?: CancelDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This endpoint allows you to cancel a deployment which is currently building, by supplying its `id` in the URL.\n */\nexport const cancelDeployment = (variables: CancelDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n CancelDeploymentResponse,\n CancelDeploymentError,\n undefined,\n {},\n CancelDeploymentQueryParams,\n CancelDeploymentPathParams\n >({ url: '/v12/deployments/{id}/cancel', method: 'patch', ...variables, signal });\n\nexport type BuyDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type BuyDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type BuyDomainResponse = {\n domain: {\n uid: string;\n ns: string[];\n verified: boolean;\n created: number;\n pending: boolean;\n };\n};\n\nexport type BuyDomainRequestBody = {\n /**\n * The domain name to purchase.\n *\n * @example example.com\n */\n name: string;\n /**\n * The price you expect to be charged for the purchase.\n *\n * @example 10\n */\n expectedPrice?: number;\n /**\n * Indicates whether the domain should be automatically renewed.\n *\n * @example true\n */\n renew?: boolean;\n};\n\nexport type BuyDomainVariables = {\n body: BuyDomainRequestBody;\n queryParams?: BuyDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to purchase the specified domain.\n */\nexport const buyDomain = (variables: BuyDomainVariables, signal?: AbortSignal) =>\n fetch<BuyDomainResponse, BuyDomainError, BuyDomainRequestBody, {}, BuyDomainQueryParams, {}>({\n url: '/v4/domains/buy',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type CheckDomainPriceQueryParams = {\n /**\n * The name of the domain for which the price needs to be checked.\n *\n * @example example.com\n */\n name: string;\n /**\n * In which status of the domain the price needs to be checked.\n *\n * @example new\n */\n type?: 'new' | 'renewal';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CheckDomainPriceError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CheckDomainPriceResponse = {\n /**\n * The domain price in USD.\n *\n * @example 20\n */\n price: number;\n /**\n * The number of years the domain could be held before paying again.\n *\n * @example 1\n */\n period: number;\n};\n\nexport type CheckDomainPriceVariables = {\n queryParams: CheckDomainPriceQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Check the price to purchase a domain and how long a single purchase period is.\n */\nexport const checkDomainPrice = (variables: CheckDomainPriceVariables, signal?: AbortSignal) =>\n fetch<CheckDomainPriceResponse, CheckDomainPriceError, undefined, {}, CheckDomainPriceQueryParams, {}>({\n url: '/v4/domains/price',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetRecordsPathParams = {\n /**\n * @example example.com\n */\n domain: string;\n};\n\nexport type GetRecordsQueryParams = {\n /**\n * Maximum number of records to list from a request.\n *\n * @example 20\n */\n limit?: string;\n /**\n * Get records created after this JavaScript timestamp.\n *\n * @example 1609499532000\n */\n since?: string;\n /**\n * Get records created before this JavaScript timestamp.\n *\n * @example 1612264332000\n */\n until?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetRecordsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetRecordsVariables = {\n pathParams: GetRecordsPathParams;\n queryParams?: GetRecordsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options.\n */\nexport const getRecords = (variables: GetRecordsVariables, signal?: AbortSignal) =>\n fetch<\n | string\n | {\n records: {\n id: string;\n slug: string;\n name: string;\n type: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS';\n value: string;\n mxPriority?: number;\n priority?: number;\n creator: string;\n created: number | null;\n updated: number | null;\n createdAt: number | null;\n updatedAt: number | null;\n }[];\n }\n | {\n records: {\n id: string;\n slug: string;\n name: string;\n type: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS';\n value: string;\n mxPriority?: number;\n priority?: number;\n creator: string;\n created: number | null;\n updated: number | null;\n createdAt: number | null;\n updatedAt: number | null;\n }[];\n pagination: Schemas.Pagination;\n },\n GetRecordsError,\n undefined,\n {},\n GetRecordsQueryParams,\n GetRecordsPathParams\n >({ url: '/v4/domains/{domain}/records', method: 'get', ...variables, signal });\n\nexport type CreateRecordPathParams = {\n /**\n * The domain used to create the DNS record.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type CreateRecordQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateRecordError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateRecordVariables = {\n body:\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `A`.\n */\n type: 'A';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * The record value must be a valid IPv4 address.\n *\n * @format ipv4\n * @example 192.0.2.42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `AAAA`.\n */\n type: 'AAAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An AAAA record pointing to an IPv6 address.\n *\n * @format ipv6\n * @example 2001:DB8::42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `ALIAS`.\n */\n type: 'ALIAS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An ALIAS virtual record pointing to a hostname resolved to an A record on server side.\n *\n * @example cname.vercel-dns.com\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CAA`.\n */\n type: 'CAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain.\n *\n * @example 0 issue \\\"letsencrypt.org\\\"\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CNAME`.\n */\n type: 'CNAME';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CNAME record mapping to another domain name.\n *\n * @example cname.vercel-dns.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `MX`.\n */\n type: 'MX';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An MX record specifying the mail server responsible for accepting messages on behalf of the domain name.\n *\n * @example 10 mail.example.com.\n */\n value: string;\n /**\n * @minimum 0\n * @maximum 65535\n * @example 10\n */\n mxPriority: number;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `SRV`.\n */\n type: 'SRV';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n srv: {\n priority: number | null;\n weight: number | null;\n port: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `TXT`.\n */\n type: 'TXT';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A TXT record containing arbitrary text.\n *\n * @example hello\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `NS`.\n */\n type: 'NS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An NS domain value.\n *\n * @example ns1.example.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `HTTPS`.\n */\n type: 'HTTPS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n https: {\n priority: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n /**\n * @example alpn=h2,h3\n */\n params?: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n };\n pathParams: CreateRecordPathParams;\n queryParams?: CreateRecordQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a DNS record for a domain.\n */\nexport const createRecord = (variables: CreateRecordVariables, signal?: AbortSignal) =>\n fetch<\n | {\n uid: string;\n updated: number;\n }\n | {\n /**\n * The id of the newly created DNS record\n *\n * @example rec_V0fra8eEgQwEpFhYG2vTzC3K\n */\n uid: string;\n },\n CreateRecordError,\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `A`.\n */\n type: 'A';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * The record value must be a valid IPv4 address.\n *\n * @format ipv4\n * @example 192.0.2.42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `AAAA`.\n */\n type: 'AAAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An AAAA record pointing to an IPv6 address.\n *\n * @format ipv6\n * @example 2001:DB8::42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `ALIAS`.\n */\n type: 'ALIAS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An ALIAS virtual record pointing to a hostname resolved to an A record on server side.\n *\n * @example cname.vercel-dns.com\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CAA`.\n */\n type: 'CAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain.\n *\n * @example 0 issue \\\"letsencrypt.org\\\"\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CNAME`.\n */\n type: 'CNAME';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CNAME record mapping to another domain name.\n *\n * @example cname.vercel-dns.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `MX`.\n */\n type: 'MX';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An MX record specifying the mail server responsible for accepting messages on behalf of the domain name.\n *\n * @example 10 mail.example.com.\n */\n value: string;\n /**\n * @minimum 0\n * @maximum 65535\n * @example 10\n */\n mxPriority: number;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `SRV`.\n */\n type: 'SRV';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n srv: {\n priority: number | null;\n weight: number | null;\n port: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `TXT`.\n */\n type: 'TXT';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A TXT record containing arbitrary text.\n *\n * @example hello\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `NS`.\n */\n type: 'NS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An NS domain value.\n *\n * @example ns1.example.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `HTTPS`.\n */\n type: 'HTTPS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n https: {\n priority: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n /**\n * @example alpn=h2,h3\n */\n params?: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n },\n {},\n CreateRecordQueryParams,\n CreateRecordPathParams\n >({ url: '/v2/domains/{domain}/records', method: 'post', ...variables, signal });\n\nexport type UpdateRecordPathParams = {\n /**\n * The id of the DNS record\n *\n * @example rec_2qn7pzrx89yxy34vezpd31y9\n */\n recordId: string;\n};\n\nexport type UpdateRecordQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateRecordError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateRecordResponse = {\n createdAt?: number | null;\n creator: string;\n domain: string;\n id: string;\n name: string;\n recordType: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS';\n ttl?: number;\n type: 'record' | 'record-sys';\n value: string;\n comment?: string;\n};\n\nexport type UpdateRecordRequestBody = {\n additionalProperties?: void;\n /**\n * The name of the DNS record\n *\n * @example example-1\n */\n name?: string | null;\n /**\n * The value of the DNS record\n *\n * @example google.com\n */\n value?: string | null;\n /**\n * The type of the DNS record\n *\n * @example A\n * @maxLength 255\n */\n type?: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS' | null;\n /**\n * The Time to live (TTL) value of the DNS record\n *\n * @example 60\n * @minimum 60\n * @maximum 2147483647\n */\n ttl?: number | null;\n /**\n * The MX priority value of the DNS record\n */\n mxPriority?: number | null;\n srv?: {\n /**\n * @example example2.com.\n * @maxLength 255\n */\n target: string | null;\n weight: number | null;\n port: number | null;\n priority: number | null;\n } | null;\n https?: {\n priority: number | null;\n /**\n * @example example2.com.\n * @maxLength 255\n */\n target: string | null;\n params?: string | null;\n } | null;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n};\n\nexport type UpdateRecordVariables = {\n body?: UpdateRecordRequestBody;\n pathParams: UpdateRecordPathParams;\n queryParams?: UpdateRecordQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Updates an existing DNS record for a domain name.\n */\nexport const updateRecord = (variables: UpdateRecordVariables, signal?: AbortSignal) =>\n fetch<\n UpdateRecordResponse,\n UpdateRecordError,\n UpdateRecordRequestBody,\n {},\n UpdateRecordQueryParams,\n UpdateRecordPathParams\n >({ url: '/v1/domains/records/{recordId}', method: 'patch', ...variables, signal });\n\nexport type RemoveRecordPathParams = {\n /**\n * @example example.com\n */\n domain: string;\n /**\n * @example rec_V0fra8eEgQwEpFhYG2vTzC3K\n */\n recordId: string;\n};\n\nexport type RemoveRecordQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveRecordError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveRecordVariables = {\n pathParams: RemoveRecordPathParams;\n queryParams?: RemoveRecordQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Removes an existing DNS record from a domain name.\n */\nexport const removeRecord = (variables: RemoveRecordVariables, signal?: AbortSignal) =>\n fetch<Record<string, any>, RemoveRecordError, undefined, {}, RemoveRecordQueryParams, RemoveRecordPathParams>({\n url: '/v2/domains/{domain}/records/{recordId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type CheckDomainStatusQueryParams = {\n /**\n * The name of the domain for which we would like to check the status.\n *\n * @example example.com\n */\n name: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CheckDomainStatusError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CheckDomainStatusResponse = {\n available: boolean;\n};\n\nexport type CheckDomainStatusVariables = {\n queryParams: CheckDomainStatusQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Check if a domain name is available for purchase.\n */\nexport const checkDomainStatus = (variables: CheckDomainStatusVariables, signal?: AbortSignal) =>\n fetch<CheckDomainStatusResponse, CheckDomainStatusError, undefined, {}, CheckDomainStatusQueryParams, {}>({\n url: '/v4/domains/status',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetDomainTransferQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainTransferError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainTransferResponse = {\n /**\n * Whether or not the domain is transferable\n */\n transferable: boolean;\n /**\n * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.\n */\n transferPolicy: 'charge-and-renew' | 'no-charge-no-change' | 'no-change' | 'new-term' | 'not-supported' | null;\n /**\n * Description associated with transferable state.\n */\n reason: string;\n /**\n * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.\n */\n status: 'pending_owner' | 'pending_admin' | 'pending_registry' | 'completed' | 'cancelled' | 'undef' | 'unknown';\n};\n\nexport type GetDomainTransferVariables = {\n queryParams?: GetDomainTransferQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Fetch domain transfer availability or transfer status if a transfer is in progress.\n */\nexport const getDomainTransfer = (variables: GetDomainTransferVariables, signal?: AbortSignal) =>\n fetch<GetDomainTransferResponse, GetDomainTransferError, undefined, {}, GetDomainTransferQueryParams, {}>({\n url: '/v1/domains/{domain}/registry',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetDomainConfigPathParams = {\n /**\n * The name of the domain.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type GetDomainConfigQueryParams = {\n /**\n * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone.\n */\n strict?: 'true' | 'false';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainConfigResponse = {\n /**\n * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel.\n */\n configuredBy?: 'CNAME' | 'A' | 'http' | 'dns-01' | null;\n /**\n * Which challenge types the domain can use for issuing certs.\n */\n acceptedChallenges?: ('dns-01' | 'http-01')[];\n /**\n * Whether or not the domain is configured AND we can automatically generate a TLS certificate.\n */\n misconfigured: boolean;\n};\n\nexport type GetDomainConfigVariables = {\n pathParams: GetDomainConfigPathParams;\n queryParams?: GetDomainConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a Domain's configuration.\n */\nexport const getDomainConfig = (variables: GetDomainConfigVariables, signal?: AbortSignal) =>\n fetch<\n GetDomainConfigResponse,\n GetDomainConfigError,\n undefined,\n {},\n GetDomainConfigQueryParams,\n GetDomainConfigPathParams\n >({ url: '/v6/domains/{domain}/config', method: 'get', ...variables, signal });\n\nexport type GetDomainPathParams = {\n /**\n * The name of the domain.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type GetDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainResponse = {\n domain: {\n suffix: boolean;\n /**\n * If the domain has the ownership verified.\n *\n * @example true\n */\n verified: boolean;\n /**\n * A list of the current nameservers of the domain.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n nameservers: string[];\n /**\n * A list of the intended nameservers for the domain to point to Vercel DNS.\n *\n * @example ns1.vercel-dns.com\n * @example ns2.vercel-dns.com\n */\n intendedNameservers: string[];\n /**\n * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n customNameservers?: string[];\n /**\n * An object containing information of the domain creator, including the user's id, username, and email.\n *\n * @example {\"id\":\"ZspSRT4ljIEEmMHgoDwKWDei\",\"username\":\"vercel_user\",\"email\":\"demo@example.com\"}\n */\n creator: {\n username: string;\n email: string;\n customerId?: string | null;\n isDomainReseller?: boolean;\n id: string;\n };\n /**\n * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.\n *\n * @example 1613602938882\n */\n boughtAt: number | null;\n /**\n * Timestamp in milliseconds when the domain was created in the registry.\n *\n * @example 1613602938882\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.\n *\n * @example 1613602938882\n */\n expiresAt: number | null;\n /**\n * The unique identifier of the domain.\n *\n * @example EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1\n */\n id: string;\n /**\n * The domain name.\n *\n * @example example.com\n */\n name: string;\n /**\n * Timestamp in milliseconds at which the domain was ordered.\n *\n * @example 1613602938882\n */\n orderedAt?: number;\n /**\n * Indicates whether the domain is set to automatically renew.\n *\n * @example true\n */\n renew?: boolean;\n /**\n * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.\n *\n * @example zeit.world\n */\n serviceType: 'zeit.world' | 'external' | 'na';\n /**\n * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.\n *\n * @example 1613602938882\n */\n transferredAt?: number | null;\n /**\n * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.\n *\n * @example 1613602938882\n */\n transferStartedAt?: number;\n };\n};\n\nexport type GetDomainVariables = {\n pathParams: GetDomainPathParams;\n queryParams?: GetDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get information for a single domain in an account or team.\n */\nexport const getDomain = (variables: GetDomainVariables, signal?: AbortSignal) =>\n fetch<GetDomainResponse, GetDomainError, undefined, {}, GetDomainQueryParams, GetDomainPathParams>({\n url: '/v5/domains/{domain}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetDomainsQueryParams = {\n /**\n * Maximum number of domains to list from a request.\n *\n * @example 20\n */\n limit?: number;\n /**\n * Get domains created after this JavaScript timestamp.\n *\n * @example 1609499532000\n */\n since?: number;\n /**\n * Get domains created before this JavaScript timestamp.\n *\n * @example 1612264332000\n */\n until?: number;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainsResponse = {\n domains: {\n /**\n * If the domain has the ownership verified.\n *\n * @example true\n */\n verified: boolean;\n /**\n * A list of the current nameservers of the domain.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n nameservers: string[];\n /**\n * A list of the intended nameservers for the domain to point to Vercel DNS.\n *\n * @example ns1.vercel-dns.com\n * @example ns2.vercel-dns.com\n */\n intendedNameservers: string[];\n /**\n * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n customNameservers?: string[];\n /**\n * An object containing information of the domain creator, including the user's id, username, and email.\n *\n * @example {\"id\":\"ZspSRT4ljIEEmMHgoDwKWDei\",\"username\":\"vercel_user\",\"email\":\"demo@example.com\"}\n */\n creator: {\n username: string;\n email: string;\n customerId?: string | null;\n isDomainReseller?: boolean;\n id: string;\n };\n /**\n * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.\n *\n * @example 1613602938882\n */\n boughtAt: number | null;\n /**\n * Timestamp in milliseconds when the domain was created in the registry.\n *\n * @example 1613602938882\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.\n *\n * @example 1613602938882\n */\n expiresAt: number | null;\n /**\n * The unique identifier of the domain.\n *\n * @example EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1\n */\n id: string;\n /**\n * The domain name.\n *\n * @example example.com\n */\n name: string;\n /**\n * Timestamp in milliseconds at which the domain was ordered.\n *\n * @example 1613602938882\n */\n orderedAt?: number;\n /**\n * Indicates whether the domain is set to automatically renew.\n *\n * @example true\n */\n renew?: boolean;\n /**\n * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.\n *\n * @example zeit.world\n */\n serviceType: 'zeit.world' | 'external' | 'na';\n /**\n * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.\n *\n * @example 1613602938882\n */\n transferredAt?: number | null;\n /**\n * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.\n *\n * @example 1613602938882\n */\n transferStartedAt?: number;\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetDomainsVariables = {\n queryParams?: GetDomainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided.\n */\nexport const getDomains = (variables: GetDomainsVariables, signal?: AbortSignal) =>\n fetch<GetDomainsResponse, GetDomainsError, undefined, {}, GetDomainsQueryParams, {}>({\n url: '/v5/domains',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateOrTransferDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateOrTransferDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateOrTransferDomainResponse = {\n domain: {\n /**\n * If the domain has the ownership verified.\n *\n * @example true\n */\n verified: boolean;\n /**\n * A list of the current nameservers of the domain.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n nameservers: string[];\n /**\n * A list of the intended nameservers for the domain to point to Vercel DNS.\n *\n * @example ns1.vercel-dns.com\n * @example ns2.vercel-dns.com\n */\n intendedNameservers: string[];\n /**\n * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n customNameservers?: string[];\n /**\n * An object containing information of the domain creator, including the user's id, username, and email.\n *\n * @example {\"id\":\"ZspSRT4ljIEEmMHgoDwKWDei\",\"username\":\"vercel_user\",\"email\":\"demo@example.com\"}\n */\n creator: {\n username: string;\n email: string;\n customerId?: string | null;\n isDomainReseller?: boolean;\n id: string;\n };\n /**\n * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.\n *\n * @example 1613602938882\n */\n boughtAt: number | null;\n /**\n * Timestamp in milliseconds when the domain was created in the registry.\n *\n * @example 1613602938882\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.\n *\n * @example 1613602938882\n */\n expiresAt: number | null;\n /**\n * The unique identifier of the domain.\n *\n * @example EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1\n */\n id: string;\n /**\n * The domain name.\n *\n * @example example.com\n */\n name: string;\n /**\n * Timestamp in milliseconds at which the domain was ordered.\n *\n * @example 1613602938882\n */\n orderedAt?: number;\n /**\n * Indicates whether the domain is set to automatically renew.\n *\n * @example true\n */\n renew?: boolean;\n /**\n * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.\n *\n * @example zeit.world\n */\n serviceType: 'zeit.world' | 'external' | 'na';\n /**\n * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.\n *\n * @example 1613602938882\n */\n transferredAt?: number | null;\n /**\n * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.\n *\n * @example 1613602938882\n */\n transferStartedAt?: number;\n };\n};\n\nexport type CreateOrTransferDomainVariables = {\n body?:\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * Whether the domain has the Vercel Edge Network enabled or not.\n *\n * @example true\n */\n cdnEnabled?: boolean;\n zone?: boolean;\n /**\n * The domain operation to perform.\n *\n * @example add\n */\n method?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example move-in\n */\n method: string;\n /**\n * The move-in token from Move Requested email.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n token?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example transfer-in\n */\n method: string;\n /**\n * The authorization code assigned to the domain.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n authCode?: string;\n /**\n * The price you expect to be charged for the required 1 year renewal.\n *\n * @example 8\n */\n expectedPrice?: number;\n };\n queryParams?: CreateOrTransferDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.\n */\nexport const createOrTransferDomain = (variables: CreateOrTransferDomainVariables, signal?: AbortSignal) =>\n fetch<\n CreateOrTransferDomainResponse,\n CreateOrTransferDomainError,\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * Whether the domain has the Vercel Edge Network enabled or not.\n *\n * @example true\n */\n cdnEnabled?: boolean;\n zone?: boolean;\n /**\n * The domain operation to perform.\n *\n * @example add\n */\n method?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example move-in\n */\n method: string;\n /**\n * The move-in token from Move Requested email.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n token?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example transfer-in\n */\n method: string;\n /**\n * The authorization code assigned to the domain.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n authCode?: string;\n /**\n * The price you expect to be charged for the required 1 year renewal.\n *\n * @example 8\n */\n expectedPrice?: number;\n },\n {},\n CreateOrTransferDomainQueryParams,\n {}\n >({ url: '/v5/domains', method: 'post', ...variables, signal });\n\nexport type PatchDomainPathParams = {\n domain?: string;\n};\n\nexport type PatchDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchDomainVariables = {\n body?:\n | {\n /**\n * @example update\n */\n op?: string;\n /**\n * Specifies whether domain should be renewed.\n */\n renew?: boolean;\n /**\n * The custom nameservers for this project.\n *\n * @maxItems 4\n * @minItems 0\n * @uniqueItems true\n */\n customNameservers?: string[];\n /**\n * Specifies whether this is a DNS zone that intends to use Vercel's nameservers.\n */\n zone?: boolean;\n }\n | {\n /**\n * @example move-out\n */\n op?: string;\n /**\n * User or team to move domain to\n */\n destination?: string;\n };\n pathParams?: PatchDomainPathParams;\n queryParams?: PatchDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update or move apex domain.\n */\nexport const patchDomain = (variables: PatchDomainVariables, signal?: AbortSignal) =>\n fetch<\n | {\n moved: boolean;\n }\n | {\n moved: boolean;\n token: string;\n }\n | {\n renew?: boolean;\n customNameservers?: string[];\n zone?: boolean;\n },\n PatchDomainError,\n | {\n /**\n * @example update\n */\n op?: string;\n /**\n * Specifies whether domain should be renewed.\n */\n renew?: boolean;\n /**\n * The custom nameservers for this project.\n *\n * @maxItems 4\n * @minItems 0\n * @uniqueItems true\n */\n customNameservers?: string[];\n /**\n * Specifies whether this is a DNS zone that intends to use Vercel's nameservers.\n */\n zone?: boolean;\n }\n | {\n /**\n * @example move-out\n */\n op?: string;\n /**\n * User or team to move domain to\n */\n destination?: string;\n },\n {},\n PatchDomainQueryParams,\n PatchDomainPathParams\n >({ url: '/v3/domains/{domain}', method: 'patch', ...variables, signal });\n\nexport type DeleteDomainPathParams = {\n /**\n * The name of the domain.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type DeleteDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteDomainResponse = {\n uid: string;\n};\n\nexport type DeleteDomainVariables = {\n pathParams: DeleteDomainPathParams;\n queryParams?: DeleteDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.\n */\nexport const deleteDomain = (variables: DeleteDomainVariables, signal?: AbortSignal) =>\n fetch<DeleteDomainResponse, DeleteDomainError, undefined, {}, DeleteDomainQueryParams, DeleteDomainPathParams>({\n url: '/v6/domains/{domain}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type GetEdgeConfigsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigsResponse = {\n id?: string;\n createdAt?: number;\n ownerId?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n updatedAt?: number;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type GetEdgeConfigsVariables = {\n queryParams?: GetEdgeConfigsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns all Edge Configs.\n */\nexport const getEdgeConfigs = (variables: GetEdgeConfigsVariables, signal?: AbortSignal) =>\n fetch<GetEdgeConfigsResponse, GetEdgeConfigsError, undefined, {}, GetEdgeConfigsQueryParams, {}>({\n url: '/v1/edge-config',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateEdgeConfigResponse = {\n createdAt?: number;\n updatedAt?: number;\n id?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n ownerId?: string;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type CreateEdgeConfigRequestBody = {\n /**\n * @maxLength 32\n * @pattern ^[\\\\w-]+$\n */\n slug: string;\n items?: {\n [key: string]:\n | (string | number | boolean | null | Record<string, any>)\n | (string | number | boolean | null | Record<string, any>)[];\n };\n};\n\nexport type CreateEdgeConfigVariables = {\n body: CreateEdgeConfigRequestBody;\n queryParams?: CreateEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates an Edge Config.\n */\nexport const createEdgeConfig = (variables: CreateEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<\n CreateEdgeConfigResponse,\n CreateEdgeConfigError,\n CreateEdgeConfigRequestBody,\n {},\n CreateEdgeConfigQueryParams,\n {}\n >({ url: '/v1/edge-config', method: 'post', ...variables, signal });\n\nexport type GetEdgeConfigPathParams = {\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigResponse = {\n createdAt?: number;\n updatedAt?: number;\n id?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n ownerId?: string;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type GetEdgeConfigVariables = {\n pathParams: GetEdgeConfigPathParams;\n queryParams?: GetEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns an Edge Config.\n */\nexport const getEdgeConfig = (variables: GetEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<GetEdgeConfigResponse, GetEdgeConfigError, undefined, {}, GetEdgeConfigQueryParams, GetEdgeConfigPathParams>({\n url: '/v1/edge-config/{edgeConfigId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UpdateEdgeConfigPathParams = {\n edgeConfigId: string;\n};\n\nexport type UpdateEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateEdgeConfigResponse = {\n createdAt?: number;\n updatedAt?: number;\n id?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n ownerId?: string;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type UpdateEdgeConfigRequestBody = {\n /**\n * @maxLength 32\n * @pattern ^[\\\\w-]+$\n */\n slug: string;\n};\n\nexport type UpdateEdgeConfigVariables = {\n body: UpdateEdgeConfigRequestBody;\n pathParams: UpdateEdgeConfigPathParams;\n queryParams?: UpdateEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Updates an Edge Config.\n */\nexport const updateEdgeConfig = (variables: UpdateEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<\n UpdateEdgeConfigResponse,\n UpdateEdgeConfigError,\n UpdateEdgeConfigRequestBody,\n {},\n UpdateEdgeConfigQueryParams,\n UpdateEdgeConfigPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}', method: 'put', ...variables, signal });\n\nexport type DeleteEdgeConfigPathParams = {\n edgeConfigId: string;\n};\n\nexport type DeleteEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteEdgeConfigVariables = {\n pathParams: DeleteEdgeConfigPathParams;\n queryParams?: DeleteEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete an Edge Config by id.\n */\nexport const deleteEdgeConfig = (variables: DeleteEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteEdgeConfigError, undefined, {}, DeleteEdgeConfigQueryParams, DeleteEdgeConfigPathParams>({\n url: '/v1/edge-config/{edgeConfigId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type GetEdgeConfigItemsPathParams = {\n /**\n * @pattern ^ecfg_\n */\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigItemsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigItemsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigItemsVariables = {\n pathParams: GetEdgeConfigItemsPathParams;\n queryParams?: GetEdgeConfigItemsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns all items of an Edge Config.\n */\nexport const getEdgeConfigItems = (variables: GetEdgeConfigItemsVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigItem,\n GetEdgeConfigItemsError,\n undefined,\n {},\n GetEdgeConfigItemsQueryParams,\n GetEdgeConfigItemsPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'get', ...variables, signal });\n\nexport type PatchEdgeConfigItemsPathParams = {\n /**\n * @pattern ^ecfg_\n */\n edgeConfigId: string;\n};\n\nexport type PatchEdgeConfigItemsQueryParams = {\n edgeConfigId: string;\n dryRun?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchEdgeConfigItemsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchEdgeConfigItemsResponse = {\n status: string;\n};\n\nexport type PatchEdgeConfigItemsRequestBody = {\n items: (\n | {\n operation: void;\n }\n | {\n operation: 'update' | 'upsert';\n }\n | {\n operation: 'update' | 'upsert';\n }\n | {\n operation: void;\n }\n )[];\n definition: void;\n};\n\nexport type PatchEdgeConfigItemsVariables = {\n body: PatchEdgeConfigItemsRequestBody;\n pathParams: PatchEdgeConfigItemsPathParams;\n queryParams: PatchEdgeConfigItemsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update multiple Edge Config Items in batch.\n */\nexport const patchEdgeConfigItems = (variables: PatchEdgeConfigItemsVariables, signal?: AbortSignal) =>\n fetch<\n PatchEdgeConfigItemsResponse,\n PatchEdgeConfigItemsError,\n PatchEdgeConfigItemsRequestBody,\n {},\n PatchEdgeConfigItemsQueryParams,\n PatchEdgeConfigItemsPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'patch', ...variables, signal });\n\nexport type GetEdgeConfigSchemaPathParams = {\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigSchemaQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigSchemaError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigSchemaVariables = {\n pathParams: GetEdgeConfigSchemaPathParams;\n queryParams?: GetEdgeConfigSchemaQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns the schema of an Edge Config.\n */\nexport const getEdgeConfigSchema = (variables: GetEdgeConfigSchemaVariables, signal?: AbortSignal) =>\n fetch<\n Record<string, any> | null,\n GetEdgeConfigSchemaError,\n undefined,\n {},\n GetEdgeConfigSchemaQueryParams,\n GetEdgeConfigSchemaPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'get', ...variables, signal });\n\nexport type PatchEdgeConfigSchemaPathParams = {\n edgeConfigId: string;\n};\n\nexport type PatchEdgeConfigSchemaQueryParams = {\n dryRun?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchEdgeConfigSchemaError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchEdgeConfigSchemaRequestBody = {\n definition: void;\n};\n\nexport type PatchEdgeConfigSchemaVariables = {\n body: PatchEdgeConfigSchemaRequestBody;\n pathParams: PatchEdgeConfigSchemaPathParams;\n queryParams?: PatchEdgeConfigSchemaQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update an Edge Config's schema.\n */\nexport const patchEdgeConfigSchema = (variables: PatchEdgeConfigSchemaVariables, signal?: AbortSignal) =>\n fetch<\n Record<string, any> | null,\n PatchEdgeConfigSchemaError,\n PatchEdgeConfigSchemaRequestBody,\n {},\n PatchEdgeConfigSchemaQueryParams,\n PatchEdgeConfigSchemaPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'post', ...variables, signal });\n\nexport type DeleteEdgeConfigSchemaPathParams = {\n edgeConfigId: string;\n};\n\nexport type DeleteEdgeConfigSchemaQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteEdgeConfigSchemaError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteEdgeConfigSchemaVariables = {\n pathParams: DeleteEdgeConfigSchemaPathParams;\n queryParams?: DeleteEdgeConfigSchemaQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes the schema of existing Edge Config.\n */\nexport const deleteEdgeConfigSchema = (variables: DeleteEdgeConfigSchemaVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteEdgeConfigSchemaError,\n undefined,\n {},\n DeleteEdgeConfigSchemaQueryParams,\n DeleteEdgeConfigSchemaPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'delete', ...variables, signal });\n\nexport type GetEdgeConfigItemPathParams = {\n /**\n * @pattern ^ecfg_\n */\n edgeConfigId: string;\n edgeConfigItemKey: string;\n};\n\nexport type GetEdgeConfigItemQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigItemError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigItemVariables = {\n pathParams: GetEdgeConfigItemPathParams;\n queryParams?: GetEdgeConfigItemQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns a specific Edge Config Item.\n */\nexport const getEdgeConfigItem = (variables: GetEdgeConfigItemVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigItem,\n GetEdgeConfigItemError,\n undefined,\n {},\n GetEdgeConfigItemQueryParams,\n GetEdgeConfigItemPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/item/{edgeConfigItemKey}', method: 'get', ...variables, signal });\n\nexport type GetEdgeConfigTokensPathParams = {\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigTokensQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigTokensError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigTokensVariables = {\n pathParams: GetEdgeConfigTokensPathParams;\n queryParams?: GetEdgeConfigTokensQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns all tokens of an Edge Config.\n */\nexport const getEdgeConfigTokens = (variables: GetEdgeConfigTokensVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigToken,\n GetEdgeConfigTokensError,\n undefined,\n {},\n GetEdgeConfigTokensQueryParams,\n GetEdgeConfigTokensPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'get', ...variables, signal });\n\nexport type DeleteEdgeConfigTokensPathParams = {\n edgeConfigId: string;\n};\n\nexport type DeleteEdgeConfigTokensQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteEdgeConfigTokensError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteEdgeConfigTokensRequestBody = {\n tokens: string[];\n};\n\nexport type DeleteEdgeConfigTokensVariables = {\n body: DeleteEdgeConfigTokensRequestBody;\n pathParams: DeleteEdgeConfigTokensPathParams;\n queryParams?: DeleteEdgeConfigTokensQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes one or more tokens of an existing Edge Config.\n */\nexport const deleteEdgeConfigTokens = (variables: DeleteEdgeConfigTokensVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteEdgeConfigTokensError,\n DeleteEdgeConfigTokensRequestBody,\n {},\n DeleteEdgeConfigTokensQueryParams,\n DeleteEdgeConfigTokensPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'delete', ...variables, signal });\n\nexport type GetEdgeConfigTokenPathParams = {\n edgeConfigId: string;\n token: string;\n};\n\nexport type GetEdgeConfigTokenQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigTokenVariables = {\n pathParams: GetEdgeConfigTokenPathParams;\n queryParams?: GetEdgeConfigTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Return meta data about an Edge Config token.\n */\nexport const getEdgeConfigToken = (variables: GetEdgeConfigTokenVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigToken,\n GetEdgeConfigTokenError,\n undefined,\n {},\n GetEdgeConfigTokenQueryParams,\n GetEdgeConfigTokenPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/token/{token}', method: 'get', ...variables, signal });\n\nexport type CreateEdgeConfigTokenPathParams = {\n edgeConfigId: string;\n};\n\nexport type CreateEdgeConfigTokenQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateEdgeConfigTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateEdgeConfigTokenResponse = {\n token: string;\n id: string;\n};\n\nexport type CreateEdgeConfigTokenRequestBody = {\n /**\n * @maxLength 52\n */\n label: string;\n};\n\nexport type CreateEdgeConfigTokenVariables = {\n body: CreateEdgeConfigTokenRequestBody;\n pathParams: CreateEdgeConfigTokenPathParams;\n queryParams?: CreateEdgeConfigTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Adds a token to an existing Edge Config.\n */\nexport const createEdgeConfigToken = (variables: CreateEdgeConfigTokenVariables, signal?: AbortSignal) =>\n fetch<\n CreateEdgeConfigTokenResponse,\n CreateEdgeConfigTokenError,\n CreateEdgeConfigTokenRequestBody,\n {},\n CreateEdgeConfigTokenQueryParams,\n CreateEdgeConfigTokenPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/token', method: 'post', ...variables, signal });\n\nexport type ListUserEventsQueryParams = {\n /**\n * Maximum number of items which may be returned.\n *\n * @example 20\n */\n limit?: number;\n /**\n * Timestamp to only include items created since then.\n *\n * @example 2019-12-08T10:00:38.976Z\n */\n since?: string;\n /**\n * Timestamp to only include items created until then.\n *\n * @example 2019-12-09T23:00:38.976Z\n */\n until?: string;\n /**\n * Comma-delimited list of event \\\"types\\\" to filter the results by.\n *\n * @example login,team-member-join,domain-buy\n */\n types?: string;\n /**\n * When retrieving events for a Team, the `userId` parameter may be specified to filter events generated by a specific member of the Team.\n *\n * @example aeIInYVk59zbFF2SxfyxxmuO\n */\n userId?: string;\n /**\n * When set to `true`, the response will include the `payload` field for each event.\n *\n * @example true\n */\n withPayload?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListUserEventsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListUserEventsResponse = {\n /**\n * Array of events generated by the User.\n */\n events: Schemas.UserEvent[];\n};\n\nexport type ListUserEventsVariables = {\n queryParams?: ListUserEventsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of \"events\" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the `teamId` parameter is supplied, then the events that are returned will be in relation to the Team that was specified.\n */\nexport const listUserEvents = (variables: ListUserEventsVariables, signal?: AbortSignal) =>\n fetch<ListUserEventsResponse, ListUserEventsError, undefined, {}, ListUserEventsQueryParams, {}>({\n url: '/v3/events',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetConfigurationsQueryParams = {\n view: 'account' | 'project';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetConfigurationsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetConfigurationsVariables = {\n queryParams: GetConfigurationsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve all configurations for an authenticated integration. When the `project` view is used, configurations generated for the authorization flow will be filtered out of the results.\n */\nexport const getConfigurations = (variables: GetConfigurationsVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n }\n | {\n integration: {\n name: string;\n icon: string;\n category: string;\n isLegacy: boolean;\n flags?: string[];\n assignedBetaLabelAt?: number;\n };\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n }[],\n GetConfigurationsError,\n undefined,\n {},\n GetConfigurationsQueryParams,\n {}\n >({ url: '/v1/integrations/configurations', method: 'get', ...variables, signal });\n\nexport type GetConfigurationPathParams = {\n /**\n * ID of the configuration to check\n *\n * @example icfg_cuwj0AdCdH3BwWT4LPijCC7t\n */\n id: string;\n};\n\nexport type GetConfigurationQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetConfigurationError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetConfigurationVariables = {\n pathParams: GetConfigurationPathParams;\n queryParams?: GetConfigurationQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it.\n */\nexport const getConfiguration = (variables: GetConfigurationVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n }\n | {\n /**\n * A string representing the permission for projects. Possible values are `all` or `selected`.\n *\n * @example all\n */\n projectSelection: 'selected' | 'all';\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n canConfigureOpenTelemetry?: boolean;\n },\n GetConfigurationError,\n undefined,\n {},\n GetConfigurationQueryParams,\n GetConfigurationPathParams\n >({ url: '/v1/integrations/configuration/{id}', method: 'get', ...variables, signal });\n\nexport type DeleteConfigurationPathParams = {\n id: string;\n};\n\nexport type DeleteConfigurationQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteConfigurationError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteConfigurationVariables = {\n pathParams: DeleteConfigurationPathParams;\n queryParams?: DeleteConfigurationQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to remove the configuration with the `id` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.\n */\nexport const deleteConfiguration = (variables: DeleteConfigurationVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteConfigurationError,\n undefined,\n {},\n DeleteConfigurationQueryParams,\n DeleteConfigurationPathParams\n >({ url: '/v1/integrations/configuration/{id}', method: 'delete', ...variables, signal });\n\nexport type GetIntegrationLogDrainsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetIntegrationLogDrainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetIntegrationLogDrainsResponse = {\n /**\n * The oauth2 client application id that created this log drain\n *\n * @example oac_xRhY4LAB7yLhUADD69EvV7ct\n */\n clientId?: string;\n /**\n * The client configuration this log drain was created with\n *\n * @example icfg_cuwj0AdCdH3BwWT4LPijCC7t\n */\n configurationId?: string;\n /**\n * A timestamp that tells you when the log drain was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the log drain. Always prefixed with `ld_`\n *\n * @example ld_nBuA7zCID8g4QZ8g\n */\n id: string;\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat?: 'json' | 'ndjson' | 'syslog';\n /**\n * The name of the log drain\n *\n * @example My first log drain\n */\n name: string;\n /**\n * The identifier of the team or user whose events will trigger the log drain\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectId?: string | null;\n /**\n * The identifier of the projects this log drain is associated with\n *\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectIds?: string[];\n /**\n * The URL to call when logs are generated\n *\n * @example https://example.com/log-drain\n */\n url: string;\n /**\n * The sources from which logs are currently being delivered to this log drain.\n *\n * @example build\n * @example edge\n */\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n /**\n * Whether the log drain was created by an integration or by a user\n *\n * @example integration\n */\n createdFrom?: 'self-served' | 'integration';\n /**\n * The headers to send with the request\n *\n * @example {\"Authorization\": \"Bearer 123\"}\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * The environment of log drain\n *\n * @example production\n */\n environments: ('production' | 'preview')[];\n /**\n * The branch regexp of log drain\n *\n * @example feature/*\n */\n branch?: string;\n /**\n * The sampling rate of log drain\n *\n * @example 0.5\n */\n samplingRate?: number;\n}[];\n\nexport type GetIntegrationLogDrainsVariables = {\n queryParams?: GetIntegrationLogDrainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.\n */\nexport const getIntegrationLogDrains = (variables: GetIntegrationLogDrainsVariables, signal?: AbortSignal) =>\n fetch<\n GetIntegrationLogDrainsResponse,\n GetIntegrationLogDrainsError,\n undefined,\n {},\n GetIntegrationLogDrainsQueryParams,\n {}\n >({ url: '/v2/integrations/log-drains', method: 'get', ...variables, signal });\n\nexport type CreateLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateLogDrainResponse = {\n /**\n * The oauth2 client application id that created this log drain\n *\n * @example oac_xRhY4LAB7yLhUADD69EvV7ct\n */\n clientId?: string;\n /**\n * The client configuration this log drain was created with\n *\n * @example icfg_cuwj0AdCdH3BwWT4LPijCC7t\n */\n configurationId?: string;\n /**\n * A timestamp that tells you when the log drain was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the log drain. Always prefixed with `ld_`\n *\n * @example ld_nBuA7zCID8g4QZ8g\n */\n id: string;\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat?: 'json' | 'ndjson' | 'syslog';\n /**\n * The name of the log drain\n *\n * @example My first log drain\n */\n name: string;\n /**\n * The identifier of the team or user whose events will trigger the log drain\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectId?: string | null;\n /**\n * The identifier of the projects this log drain is associated with\n *\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectIds?: string[];\n /**\n * The URL to call when logs are generated\n *\n * @example https://example.com/log-drain\n */\n url: string;\n /**\n * The sources from which logs are currently being delivered to this log drain.\n *\n * @example build\n * @example edge\n */\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n /**\n * Whether the log drain was created by an integration or by a user\n *\n * @example integration\n */\n createdFrom?: 'self-served' | 'integration';\n /**\n * The headers to send with the request\n *\n * @example {\"Authorization\": \"Bearer 123\"}\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * The environment of log drain\n *\n * @example production\n */\n environments: ('production' | 'preview')[];\n /**\n * The branch regexp of log drain\n *\n * @example feature/*\n */\n branch?: string;\n /**\n * The sampling rate of log drain\n *\n * @example 0.5\n */\n samplingRate?: number;\n};\n\nexport type CreateLogDrainRequestBody = {\n /**\n * The name of the log drain\n *\n * @example My first log drain\n * @maxLength 100\n * @pattern ^[A-z0-9_ -]+$\n */\n name: string;\n /**\n * @minItems 1\n * @maxItems 50\n */\n projectIds?: string[];\n /**\n * A secret to sign log drain notification headers so a consumer can verify their authenticity\n *\n * @example a1Xsfd325fXcs\n * @maxLength 100\n * @pattern ^[A-z0-9_ -]+$\n */\n secret?: string;\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat?: 'json' | 'ndjson' | 'syslog';\n /**\n * The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`, and `syslog+tls:` or `syslog:` when the type is `syslog`.\n *\n * @example https://example.com/log-drain\n * @format uri\n * @pattern ^(https?|syslog\\\\+tls|syslog)://\n */\n url: string;\n /**\n * @uniqueItems true\n * @minItems 1\n */\n sources?: ('static' | 'lambda' | 'build' | 'edge' | 'external')[];\n /**\n * Headers to be sent together with the request\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * @uniqueItems true\n * @minItems 1\n */\n environments?: ('preview' | 'production')[];\n};\n\nexport type CreateLogDrainVariables = {\n body: CreateLogDrainRequestBody;\n queryParams?: CreateLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.\n */\nexport const createLogDrain = (variables: CreateLogDrainVariables, signal?: AbortSignal) =>\n fetch<CreateLogDrainResponse, CreateLogDrainError, CreateLogDrainRequestBody, {}, CreateLogDrainQueryParams, {}>({\n url: '/v2/integrations/log-drains',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type DeleteIntegrationLogDrainPathParams = {\n /**\n * ID of the log drain to be deleted\n */\n id: string;\n};\n\nexport type DeleteIntegrationLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteIntegrationLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteIntegrationLogDrainVariables = {\n pathParams: DeleteIntegrationLogDrainPathParams;\n queryParams?: DeleteIntegrationLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.\n */\nexport const deleteIntegrationLogDrain = (variables: DeleteIntegrationLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteIntegrationLogDrainError,\n undefined,\n {},\n DeleteIntegrationLogDrainQueryParams,\n DeleteIntegrationLogDrainPathParams\n >({ url: '/v1/integrations/log-drains/{id}', method: 'delete', ...variables, signal });\n\nexport type GitNamespacesQueryParams = {\n /**\n * The custom Git host if using a custom Git provider, like GitHub Enterprise Server\n *\n * @example ghes-test.now.systems\n */\n host?: string;\n provider?: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GitNamespacesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GitNamespacesResponse = {\n provider: string;\n slug: string;\n id: string | number;\n ownerType: string;\n name?: string;\n isAccessRestricted?: boolean;\n installationId?: number;\n requireReauth?: boolean;\n}[];\n\nexport type GitNamespacesVariables = {\n queryParams?: GitNamespacesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Lists git namespaces for a supported provider. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider is not provided, it will try to obtain it from the user that authenticated the request.\n */\nexport const gitNamespaces = (variables: GitNamespacesVariables, signal?: AbortSignal) =>\n fetch<GitNamespacesResponse, GitNamespacesError, undefined, {}, GitNamespacesQueryParams, {}>({\n url: '/v1/integrations/git-namespaces',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type SearchRepoQueryParams = {\n query?: string;\n namespaceId?: void | null;\n provider?: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n installationId?: string;\n /**\n * The custom Git host if using a custom Git provider, like GitHub Enterprise Server\n *\n * @example ghes-test.now.systems\n */\n host?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type SearchRepoError = Fetcher.ErrorWrapper<undefined>;\n\nexport type SearchRepoResponse = {\n gitAccount: {\n provider: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n namespaceId: string | number | null;\n };\n repos: {\n id: string | number;\n provider: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n url: string;\n name: string;\n slug: string;\n namespace: string;\n owner: {\n id: string | number;\n name: string;\n };\n ownerType: 'user' | 'team';\n private: boolean;\n defaultBranch: string;\n updatedAt: number;\n }[];\n};\n\nexport type SearchRepoVariables = {\n queryParams?: SearchRepoQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Lists git repositories linked to a namespace `id` for a supported provider. A specific namespace `id` can be obtained via the `git-namespaces` endpoint. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider or namespace is not provided, it will try to obtain it from the user that authenticated the request.\n */\nexport const searchRepo = (variables: SearchRepoVariables, signal?: AbortSignal) =>\n fetch<SearchRepoResponse, SearchRepoError, undefined, {}, SearchRepoQueryParams, {}>({\n url: '/v1/integrations/search-repo',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetConfigurableLogDrainPathParams = {\n id: string;\n};\n\nexport type GetConfigurableLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetConfigurableLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetConfigurableLogDrainResponse = {\n id: string;\n deliveryFormat: 'json' | 'ndjson' | 'syslog';\n url: string;\n name: string;\n clientId?: string;\n configurationId?: string;\n teamId?: string | null;\n ownerId: string;\n projectIds?: string[];\n createdAt: number;\n deletedAt: number | null;\n updatedAt: number;\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n headers?: {\n [key: string]: string;\n };\n environments: ('production' | 'preview')[];\n status?: 'enabled' | 'disabled' | 'errored';\n disabledAt?: number;\n disabledReason?: 'disabled-by-owner' | 'feature-not-available' | 'disabled-by-admin';\n disabledBy?: string;\n firstErrorTimestamp?: number;\n samplingRate?: number;\n compression?: 'gzip' | 'zstd' | 'none';\n secret: string;\n createdFrom?: 'self-served';\n};\n\nexport type GetConfigurableLogDrainVariables = {\n pathParams: GetConfigurableLogDrainPathParams;\n queryParams?: GetConfigurableLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.\n */\nexport const getConfigurableLogDrain = (variables: GetConfigurableLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n GetConfigurableLogDrainResponse,\n GetConfigurableLogDrainError,\n undefined,\n {},\n GetConfigurableLogDrainQueryParams,\n GetConfigurableLogDrainPathParams\n >({ url: '/v1/log-drains/{id}', method: 'get', ...variables, signal });\n\nexport type DeleteConfigurableLogDrainPathParams = {\n id: string;\n};\n\nexport type DeleteConfigurableLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteConfigurableLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteConfigurableLogDrainVariables = {\n pathParams: DeleteConfigurableLogDrainPathParams;\n queryParams?: DeleteConfigurableLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.\n */\nexport const deleteConfigurableLogDrain = (variables: DeleteConfigurableLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteConfigurableLogDrainError,\n undefined,\n {},\n DeleteConfigurableLogDrainQueryParams,\n DeleteConfigurableLogDrainPathParams\n >({ url: '/v1/log-drains/{id}', method: 'delete', ...variables, signal });\n\nexport type GetAllLogDrainsQueryParams = {\n /**\n * @pattern ^[a-zA-z0-9_]+$\n */\n projectId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetAllLogDrainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAllLogDrainsResponse = {\n id: string;\n deliveryFormat: 'json' | 'ndjson' | 'syslog';\n url: string;\n name: string;\n clientId?: string;\n configurationId?: string;\n teamId?: string | null;\n ownerId: string;\n projectIds?: string[];\n createdAt: number;\n deletedAt: number | null;\n updatedAt: number;\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n headers?: {\n [key: string]: string;\n };\n environments: ('production' | 'preview')[];\n status?: 'enabled' | 'disabled' | 'errored';\n disabledAt?: number;\n disabledReason?: 'disabled-by-owner' | 'feature-not-available' | 'disabled-by-admin';\n disabledBy?: string;\n firstErrorTimestamp?: number;\n samplingRate?: number;\n compression?: 'gzip' | 'zstd' | 'none';\n secret: string;\n createdFrom?: 'self-served';\n}[];\n\nexport type GetAllLogDrainsVariables = {\n queryParams?: GetAllLogDrainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed.\n */\nexport const getAllLogDrains = (variables: GetAllLogDrainsVariables, signal?: AbortSignal) =>\n fetch<GetAllLogDrainsResponse, GetAllLogDrainsError, undefined, {}, GetAllLogDrainsQueryParams, {}>({\n url: '/v1/log-drains',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateConfigurableLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateConfigurableLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateConfigurableLogDrainResponse = {\n /**\n * The secret to validate the log-drain payload\n */\n secret?: string;\n id: string;\n deliveryFormat: 'json' | 'ndjson' | 'syslog';\n url: string;\n name: string;\n clientId?: string;\n configurationId?: string;\n teamId?: string | null;\n ownerId: string;\n projectIds?: string[];\n createdAt: number;\n deletedAt: number | null;\n updatedAt: number;\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n headers?: {\n [key: string]: string;\n };\n environments: ('production' | 'preview')[];\n status?: 'enabled' | 'disabled' | 'errored';\n disabledAt?: number;\n disabledReason?: 'disabled-by-owner' | 'feature-not-available' | 'disabled-by-admin';\n disabledBy?: string;\n firstErrorTimestamp?: number;\n samplingRate?: number;\n compression?: 'gzip' | 'zstd' | 'none';\n createdFrom?: 'self-served';\n};\n\nexport type CreateConfigurableLogDrainRequestBody = {\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat: 'json' | 'ndjson';\n /**\n * The log drain url\n *\n * @format uri\n * @pattern ^(http|https)?://\n */\n url: string;\n /**\n * Headers to be sent together with the request\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * @minItems 1\n * @maxItems 50\n */\n projectIds?: string[];\n /**\n * @uniqueItems true\n * @minItems 1\n */\n sources: ('static' | 'lambda' | 'build' | 'edge' | 'external')[];\n /**\n * @uniqueItems true\n * @minItems 1\n */\n environments?: ('preview' | 'production')[];\n /**\n * Custom secret of log drain\n */\n secret?: string;\n /**\n * The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points\n *\n * @minimum 0.01\n * @maximum 1\n */\n samplingRate?: number;\n};\n\nexport type CreateConfigurableLogDrainVariables = {\n body: CreateConfigurableLogDrainRequestBody;\n queryParams?: CreateConfigurableLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)\n */\nexport const createConfigurableLogDrain = (variables: CreateConfigurableLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n CreateConfigurableLogDrainResponse,\n CreateConfigurableLogDrainError,\n CreateConfigurableLogDrainRequestBody,\n {},\n CreateConfigurableLogDrainQueryParams,\n {}\n >({ url: '/v1/log-drains', method: 'post', ...variables, signal });\n\nexport type GetProjectMembersPathParams = {\n /**\n * The ID or name of the Project.\n *\n * @example prj_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type GetProjectMembersQueryParams = {\n /**\n * Limit how many project members should be returned\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Timestamp in milliseconds to only include members added since then.\n *\n * @example 1540095775951\n */\n since?: number;\n /**\n * Timestamp in milliseconds to only include members added until then.\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Search project members by their name, username, and email.\n */\n search?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectMembersError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectMembersVariables = {\n pathParams: GetProjectMembersPathParams;\n queryParams?: GetProjectMembersQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Lists all members of a project.\n */\nexport const getProjectMembers = (variables: GetProjectMembersVariables, signal?: AbortSignal) =>\n fetch<\n | Record<string, any>\n | {\n members: {\n /**\n * ID of the file for the Avatar of this member.\n *\n * @example 123a6c5209bc3778245d011443644c8d27dc2c50\n */\n avatar?: string;\n /**\n * The email of this member.\n *\n * @example jane.doe@example.com\n */\n email: string;\n /**\n * Role of this user in the project.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n /**\n * Role of this user in the project.\n *\n * @example ADMIN\n */\n computedProjectRole: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n /**\n * The ID of this user.\n *\n * @example zTuNVUXEAvvnNN3IaqinkyMw\n */\n uid: string;\n /**\n * The unique username of this user.\n *\n * @example jane-doe\n */\n username: string;\n /**\n * The name of this user.\n *\n * @example Jane Doe\n */\n name?: string;\n /**\n * Timestamp in milliseconds when this member was added.\n *\n * @example 1588720733602\n */\n createdAt: number;\n /**\n * The role of this user in the team.\n *\n * @example CONTRIBUTOR\n */\n teamRole: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n }[];\n pagination: {\n hasNext: boolean;\n /**\n * Amount of items in the current page.\n *\n * @example 20\n */\n count: number;\n /**\n * Timestamp that must be used to request the next page.\n *\n * @example 1540095775951\n */\n next: number | null;\n /**\n * Timestamp that must be used to request the previous page.\n *\n * @example 1540095775951\n */\n prev: number | null;\n };\n },\n GetProjectMembersError,\n undefined,\n {},\n GetProjectMembersQueryParams,\n GetProjectMembersPathParams\n >({ url: '/v1/projects/{idOrName}/members', method: 'get', ...variables, signal });\n\nexport type AddProjectMemberPathParams = {\n /**\n * The ID or name of the Project.\n *\n * @example prj_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type AddProjectMemberQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type AddProjectMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type AddProjectMemberResponse = {\n id: string;\n};\n\nexport type AddProjectMemberVariables = {\n body:\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n };\n pathParams: AddProjectMemberPathParams;\n queryParams?: AddProjectMemberQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Adds a new member to the project.\n */\nexport const addProjectMember = (variables: AddProjectMemberVariables, signal?: AbortSignal) =>\n fetch<\n AddProjectMemberResponse,\n AddProjectMemberError,\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n },\n {},\n AddProjectMemberQueryParams,\n AddProjectMemberPathParams\n >({ url: '/v1/projects/{idOrName}/members', method: 'post', ...variables, signal });\n\nexport type RemoveProjectMemberPathParams = {\n /**\n * The ID or name of the Project.\n *\n * @example prj_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n /**\n * The user ID of the member.\n *\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n};\n\nexport type RemoveProjectMemberQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveProjectMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveProjectMemberResponse = {\n id: string;\n};\n\nexport type RemoveProjectMemberVariables = {\n pathParams: RemoveProjectMemberPathParams;\n queryParams?: RemoveProjectMemberQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove a member from a specific project\n */\nexport const removeProjectMember = (variables: RemoveProjectMemberVariables, signal?: AbortSignal) =>\n fetch<\n RemoveProjectMemberResponse,\n RemoveProjectMemberError,\n undefined,\n {},\n RemoveProjectMemberQueryParams,\n RemoveProjectMemberPathParams\n >({ url: '/v1/projects/{idOrName}/members/{uid}', method: 'delete', ...variables, signal });\n\nexport type GetProjectsQueryParams = {\n /**\n * Query only projects updated after the given timestamp\n */\n from?: string;\n /**\n * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed\n *\n * @example 1\n */\n gitForkProtection?: '1' | '0';\n /**\n * Limit the number of projects returned\n */\n limit?: string;\n /**\n * Search projects by the name field\n */\n search?: string;\n /**\n * Filter results by repo. Also used for project count\n */\n repo?: string;\n /**\n * Filter results by Repository ID.\n */\n repoId?: string;\n /**\n * Filter results by Repository URL.\n *\n * @example https://github.com/vercel/next.js\n */\n repoUrl?: string;\n /**\n * Filter results by excluding those projects that belong to a repo\n */\n excludeRepos?: string;\n /**\n * Filter results by connected Edge Config ID\n */\n edgeConfigId?: string;\n /**\n * Filter results by connected Edge Config Token ID\n */\n edgeConfigTokenId?: string;\n deprecated?: boolean;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectsResponse = {\n projects: {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetProjectsVariables = {\n queryParams?: GetProjectsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve the list of projects of the authenticated user or team. The list will be paginated and the provided query parameters allow filtering the returned projects.\n */\nexport const getProjects = (variables: GetProjectsVariables, signal?: AbortSignal) =>\n fetch<GetProjectsResponse, GetProjectsError, undefined, {}, GetProjectsQueryParams, {}>({\n url: '/v9/projects',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateProjectResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type CreateProjectRequestBody = {\n /**\n * The build command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n buildCommand?: string | null;\n /**\n * @maxLength 256\n */\n commandForIgnoringBuildStep?: string | null;\n /**\n * The dev command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n devCommand?: string | null;\n /**\n * Collection of ENV Variables the Project will use\n */\n environmentVariables?: {\n /**\n * Name of the ENV variable\n */\n key: string;\n /**\n * Deployment Target or Targets in which the ENV variable will be used\n */\n target: ('production' | 'preview' | 'development') | ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n */\n gitBranch?: string;\n /**\n * Type of the ENV variable\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * Value for the ENV variable\n */\n value: string;\n }[];\n /**\n * The framework that is being used for this project. When `null` is used no framework is selected\n */\n framework?:\n | any\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook';\n /**\n * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed\n */\n gitRepository?: {\n /**\n * The name of the git repository. For example: \\\"vercel/next.js\\\"\n */\n repo: string;\n /**\n * The Git Provider of the repository\n */\n type: 'github' | 'gitlab' | 'bitbucket';\n };\n /**\n * The install command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n installCommand?: string | null;\n /**\n * The desired name for the project\n *\n * @example a-project-name\n * @maxLength 100\n * @pattern ^(?!.*---)[a-z0-9-_.]+$\n */\n name: string;\n /**\n * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.\n *\n * @deprecated true\n */\n skipGitConnectDuringLink?: boolean;\n /**\n * The output directory of the project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n outputDirectory?: string | null;\n /**\n * Specifies whether the source code and logs of the deployments for this project should be public or not\n */\n publicSource?: boolean | null;\n /**\n * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root\n *\n * @maxLength 256\n */\n rootDirectory?: string | null;\n /**\n * The region to deploy Serverless Functions in this project\n *\n * @maxLength 4\n */\n serverlessFunctionRegion?: string | null;\n /**\n * Specifies whether Zero Config Failover is enabled for this project.\n */\n serverlessFunctionZeroConfigFailover?: boolean;\n};\n\nexport type CreateProjectVariables = {\n body: CreateProjectRequestBody;\n queryParams?: CreateProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.\n */\nexport const createProject = (variables: CreateProjectVariables, signal?: AbortSignal) =>\n fetch<CreateProjectResponse, CreateProjectError, CreateProjectRequestBody, {}, CreateProjectQueryParams, {}>({\n url: '/v10/projects',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetProjectPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string | boolean;\n};\n\nexport type GetProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type GetProjectVariables = {\n pathParams: GetProjectPathParams;\n queryParams?: GetProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get the information for a specific project by passing either the project `id` or `name` in the URL.\n */\nexport const getProject = (variables: GetProjectVariables, signal?: AbortSignal) =>\n fetch<GetProjectResponse, GetProjectError, undefined, {}, GetProjectQueryParams, GetProjectPathParams>({\n url: '/v9/projects/{idOrName}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UpdateProjectPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n idOrName: string;\n};\n\nexport type UpdateProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateProjectResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'exclusive' | 'additional';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type UpdateProjectRequestBody = {\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n /**\n * The build command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n buildCommand?: string | null;\n /**\n * @maxLength 256\n */\n commandForIgnoringBuildStep?: string | null;\n /**\n * Specifies whether customer support can see git source for a deployment\n */\n customerSupportCodeVisibility?: boolean;\n /**\n * The dev command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n devCommand?: string | null;\n directoryListing?: boolean;\n /**\n * The framework that is being used for this project. When `null` is used no framework is selected\n */\n framework?:\n | any\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n /**\n * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed\n */\n gitForkProtection?: boolean;\n /**\n * Specifies whether Git LFS is enabled for this project.\n */\n gitLFS?: boolean;\n /**\n * The install command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n installCommand?: string | null;\n /**\n * The desired name for the project\n *\n * @example a-project-name\n * @maxLength 100\n * @pattern ^(?!.*---)[a-z0-9-_.]+$\n */\n name?: string;\n nodeVersion?: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x';\n /**\n * The output directory of the project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n outputDirectory?: string | null;\n /**\n * Specifies whether the source code and logs of the deployments for this project should be public or not\n */\n publicSource?: boolean | null;\n /**\n * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root\n *\n * @maxLength 256\n */\n rootDirectory?: string | null;\n /**\n * The region to deploy Serverless Functions in this project\n *\n * @maxLength 4\n */\n serverlessFunctionRegion?: string | null;\n /**\n * Specifies whether Zero Config Failover is enabled for this project.\n */\n serverlessFunctionZeroConfigFailover?: boolean;\n /**\n * Deployments created before this absolute datetime have Skew Protection disabled. Value is in milliseconds since epoch to match \\\"createdAt\\\" fields.\n *\n * @minimum 0\n */\n skewProtectionBoundaryAt?: number;\n /**\n * Deployments created before this rolling window have Skew Protection disabled. Value is in seconds to match \\\"revalidate\\\" fields.\n *\n * @minimum 0\n */\n skewProtectionMaxAge?: number;\n /**\n * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.\n *\n * @deprecated true\n */\n skipGitConnectDuringLink?: boolean;\n /**\n * Indicates if there are source files outside of the root directory\n */\n sourceFilesOutsideRootDirectory?: boolean;\n /**\n * Opt-in to Preview comments on the project level\n */\n enablePreviewFeedback?: boolean | null;\n /**\n * Allows to protect project deployments with a password\n */\n passwordProtection?: {\n /**\n * Specify if the password will apply to every Deployment Target or just Preview\n */\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n /**\n * The password that will be used to protect Project Deployments\n *\n * @maxLength 72\n */\n password?: string | null;\n } | null;\n /**\n * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team\n */\n ssoProtection?: {\n /**\n * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview\n *\n * @default preview\n */\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n /**\n * Restricts access to deployments based on the incoming request IP address\n */\n trustedIps?: {\n /**\n * Specify if the Trusted IPs will apply to every Deployment Target or just Preview\n */\n deploymentType: 'all' | 'preview' | 'production' | 'prod_deployment_urls_and_all_previews';\n /**\n * @minItems 1\n */\n addresses: {\n /**\n * The IP addresses that are allowlisted. Supports IPv4 addresses and CIDR notations. IPv6 is not supported\n */\n value: string;\n /**\n * An optional note explaining what the IP address or subnet is used for\n *\n * @maxLength 20\n */\n note?: string;\n }[];\n /**\n * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param)\n */\n protectionMode: 'exclusive' | 'additional';\n } | null;\n /**\n * Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests\n */\n optionsAllowlist?: {\n paths: {\n /**\n * The regex path that should not be protected by Deployment Protection\n */\n value: string;\n }[];\n } | null;\n};\n\nexport type UpdateProjectVariables = {\n body?: UpdateProjectRequestBody;\n pathParams: UpdateProjectPathParams;\n queryParams?: UpdateProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update the fields of a project using either its `name` or `id`.\n */\nexport const updateProject = (variables: UpdateProjectVariables, signal?: AbortSignal) =>\n fetch<\n UpdateProjectResponse,\n UpdateProjectError,\n UpdateProjectRequestBody,\n {},\n UpdateProjectQueryParams,\n UpdateProjectPathParams\n >({ url: '/v9/projects/{idOrName}', method: 'patch', ...variables, signal });\n\nexport type DeleteProjectPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n idOrName: string;\n};\n\nexport type DeleteProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteProjectVariables = {\n pathParams: DeleteProjectPathParams;\n queryParams?: DeleteProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a specific project by passing either the project `id` or `name` in the URL.\n */\nexport const deleteProject = (variables: DeleteProjectVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteProjectError, undefined, {}, DeleteProjectQueryParams, DeleteProjectPathParams>({\n url: '/v9/projects/{idOrName}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type GetProjectDomainsPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string | number;\n};\n\nexport type GetProjectDomainsQueryParams = {\n /**\n * Filters only production domains when set to `true`.\n *\n * @default false\n */\n production?: 'true' | 'false';\n /**\n * Filters domains based on specific branch.\n */\n gitBranch?: string;\n /**\n * Excludes redirect project domains when \\\"false\\\". Includes redirect project domains when \\\"true\\\" (default).\n *\n * @default true\n */\n redirects?: 'true' | 'false';\n /**\n * Filters domains based on their redirect target.\n *\n * @example example.com\n */\n redirect?: string;\n /**\n * Filters domains based on their verification status.\n */\n verified?: 'true' | 'false';\n /**\n * Maximum number of domains to list from a request (max 100).\n *\n * @example 20\n */\n limit?: number;\n /**\n * Get domains created after this JavaScript timestamp.\n *\n * @example 1609499532000\n */\n since?: number;\n /**\n * Get domains created before this JavaScript timestamp.\n *\n * @example 1612264332000\n */\n until?: number;\n /**\n * Domains sort order by createdAt\n *\n * @default DESC\n */\n order?: 'ASC' | 'DESC';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectDomainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectDomainsResponse = {\n domains: {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetProjectDomainsVariables = {\n pathParams: GetProjectDomainsPathParams;\n queryParams?: GetProjectDomainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve the domains associated with a given project by passing either the project `id` or `name` in the URL.\n */\nexport const getProjectDomains = (variables: GetProjectDomainsVariables, signal?: AbortSignal) =>\n fetch<\n GetProjectDomainsResponse,\n GetProjectDomainsError,\n undefined,\n {},\n GetProjectDomainsQueryParams,\n GetProjectDomainsPathParams\n >({ url: '/v9/projects/{idOrName}/domains', method: 'get', ...variables, signal });\n\nexport type GetProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n domain: string;\n};\n\nexport type GetProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type GetProjectDomainVariables = {\n pathParams: GetProjectDomainPathParams;\n queryParams?: GetProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get project domain by project id/name and domain name.\n */\nexport const getProjectDomain = (variables: GetProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n GetProjectDomainResponse,\n GetProjectDomainError,\n undefined,\n {},\n GetProjectDomainQueryParams,\n GetProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}', method: 'get', ...variables, signal });\n\nexport type UpdateProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n domain: string;\n};\n\nexport type UpdateProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type UpdateProjectDomainRequestBody = {\n /**\n * Git branch to link the project domain\n *\n * @example null\n * @maxLength 250\n */\n gitBranch?: string | null;\n /**\n * The unique custom environment identifier within the project\n */\n customEnvironmentId?: string;\n /**\n * Target destination domain for redirect\n *\n * @example foobar.com\n */\n redirect?: string | null;\n /**\n * Status code for domain redirect\n *\n * @example 307\n */\n redirectStatusCode?: any | 301 | 302 | 307 | 308 | null;\n};\n\nexport type UpdateProjectDomainVariables = {\n body?: UpdateProjectDomainRequestBody;\n pathParams: UpdateProjectDomainPathParams;\n queryParams?: UpdateProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update a project domain's configuration, including the name, git branch and redirect of the domain.\n */\nexport const updateProjectDomain = (variables: UpdateProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n UpdateProjectDomainResponse,\n UpdateProjectDomainError,\n UpdateProjectDomainRequestBody,\n {},\n UpdateProjectDomainQueryParams,\n UpdateProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}', method: 'patch', ...variables, signal });\n\nexport type RemoveProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n domain: string;\n};\n\nexport type RemoveProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveProjectDomainVariables = {\n pathParams: RemoveProjectDomainPathParams;\n queryParams?: RemoveProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove a domain from a project by passing the domain name and by specifying the project by either passing the project `id` or `name` in the URL.\n */\nexport const removeProjectDomain = (variables: RemoveProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n Record<string, any>,\n RemoveProjectDomainError,\n undefined,\n {},\n RemoveProjectDomainQueryParams,\n RemoveProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}', method: 'delete', ...variables, signal });\n\nexport type AddProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n};\n\nexport type AddProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type AddProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type AddProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type AddProjectDomainRequestBody = {\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n name: string;\n /**\n * Git branch to link the project domain\n *\n * @example null\n * @maxLength 250\n */\n gitBranch?: string | null;\n /**\n * Target destination domain for redirect\n *\n * @example foobar.com\n */\n redirect?: string | null;\n /**\n * Status code for domain redirect\n *\n * @example 307\n */\n redirectStatusCode?: any | 301 | 302 | 307 | 308 | null;\n};\n\nexport type AddProjectDomainVariables = {\n body: AddProjectDomainRequestBody;\n pathParams: AddProjectDomainPathParams;\n queryParams?: AddProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Add a domain to the project by passing its domain name and by specifying the project by either passing the project `id` or `name` in the URL. If the domain is not yet verified to be used on this project, the request will return `verified = false`, and the domain will need to be verified according to the `verification` challenge via `POST /projects/:idOrName/domains/:domain/verify`. If the domain already exists on the project, the request will fail with a `400` status code.\n */\nexport const addProjectDomain = (variables: AddProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n AddProjectDomainResponse,\n AddProjectDomainError,\n AddProjectDomainRequestBody,\n {},\n AddProjectDomainQueryParams,\n AddProjectDomainPathParams\n >({ url: '/v10/projects/{idOrName}/domains', method: 'post', ...variables, signal });\n\nexport type VerifyProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n idOrName: string;\n /**\n * The domain name you want to verify\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type VerifyProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type VerifyProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type VerifyProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type VerifyProjectDomainVariables = {\n pathParams: VerifyProjectDomainPathParams;\n queryParams?: VerifyProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge.\n */\nexport const verifyProjectDomain = (variables: VerifyProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n VerifyProjectDomainResponse,\n VerifyProjectDomainError,\n undefined,\n {},\n VerifyProjectDomainQueryParams,\n VerifyProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}/verify', method: 'post', ...variables, signal });\n\nexport type FilterProjectEnvsPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n};\n\nexport type FilterProjectEnvsQueryParams = {\n /**\n * If defined, the git branch of the environment variable to filter the results (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string;\n /**\n * If true, the environment variable value will be decrypted\n *\n * @example true\n * @deprecated true\n */\n decrypt?: 'true' | 'false';\n /**\n * The source that is calling the endpoint.\n *\n * @example vercel-cli:pull\n */\n source?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type FilterProjectEnvsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type FilterProjectEnvsVariables = {\n pathParams: FilterProjectEnvsPathParams;\n queryParams?: FilterProjectEnvsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve the environment variables for a given project by passing either the project `id` or `name` in the URL.\n */\nexport const filterProjectEnvs = (variables: FilterProjectEnvsVariables, signal?: AbortSignal) =>\n fetch<\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }\n | {\n envs: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }[];\n pagination: Schemas.Pagination;\n }\n | {\n envs: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }[];\n },\n FilterProjectEnvsError,\n undefined,\n {},\n FilterProjectEnvsQueryParams,\n FilterProjectEnvsPathParams\n >({ url: '/v9/projects/{idOrName}/env', method: 'get', ...variables, signal });\n\nexport type GetProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n /**\n * The unique ID for the environment variable to get the decrypted value.\n */\n id: string;\n};\n\nexport type GetProjectEnvQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectEnvVariables = {\n pathParams: GetProjectEnvPathParams;\n queryParams?: GetProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve the environment variable for a given project.\n */\nexport const getProjectEnv = (variables: GetProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n | {\n decrypted: boolean;\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n comment?: string;\n customEnvironmentIds?: string[];\n }\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n },\n GetProjectEnvError,\n undefined,\n {},\n GetProjectEnvQueryParams,\n GetProjectEnvPathParams\n >({ url: '/v1/projects/{idOrName}/env/{id}', method: 'get', ...variables, signal });\n\nexport type CreateProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n};\n\nexport type CreateProjectEnvQueryParams = {\n /**\n * Allow override of environment variable if it already exists\n *\n * @example true\n */\n upsert?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateProjectEnvResponse = {\n created:\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }[];\n failed: {\n error: {\n code: string;\n message: string;\n key?: string;\n envVarId?: string;\n envVarKey?: string;\n action?: string;\n link?: string;\n value?:\n | string\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[];\n gitBranch?: string;\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n project?: string;\n };\n }[];\n};\n\nexport type CreateProjectEnvVariables = {\n body?:\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )[];\n pathParams: CreateProjectEnvPathParams;\n queryParams?: CreateProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Create one ore more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL.\n */\nexport const createProjectEnv = (variables: CreateProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n CreateProjectEnvResponse,\n CreateProjectEnvError,\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )[],\n {},\n CreateProjectEnvQueryParams,\n CreateProjectEnvPathParams\n >({ url: '/v10/projects/{idOrName}/env', method: 'post', ...variables, signal });\n\nexport type RemoveProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n /**\n * The unique environment variable identifier\n *\n * @example XMbOEya1gUUO1ir4\n */\n id: string;\n};\n\nexport type RemoveProjectEnvQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveProjectEnvVariables = {\n pathParams: RemoveProjectEnvPathParams;\n queryParams?: RemoveProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL.\n */\nexport const removeProjectEnv = (variables: RemoveProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[]\n | {\n system?: boolean;\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n },\n RemoveProjectEnvError,\n undefined,\n {},\n RemoveProjectEnvQueryParams,\n RemoveProjectEnvPathParams\n >({ url: '/v9/projects/{idOrName}/env/{id}', method: 'delete', ...variables, signal });\n\nexport type EditProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n /**\n * The unique environment variable identifier\n *\n * @example XMbOEya1gUUO1ir4\n */\n id: string;\n};\n\nexport type EditProjectEnvQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type EditProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type EditProjectEnvResponse = {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n};\n\nexport type EditProjectEnvRequestBody = {\n /**\n * The name of the environment variable\n *\n * @example GITHUB_APP_ID\n */\n key?: string;\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The value of the environment variable\n *\n * @example bkWIjbnxcvo78\n */\n value?: string;\n customEnvironmentIds?: string[];\n /**\n * A comment to add context on what this env var is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n};\n\nexport type EditProjectEnvVariables = {\n body?: EditProjectEnvRequestBody;\n pathParams: EditProjectEnvPathParams;\n queryParams?: EditProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Edit a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL.\n */\nexport const editProjectEnv = (variables: EditProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n EditProjectEnvResponse,\n EditProjectEnvError,\n EditProjectEnvRequestBody,\n {},\n EditProjectEnvQueryParams,\n EditProjectEnvPathParams\n >({ url: '/v9/projects/{idOrName}/env/{id}', method: 'patch', ...variables, signal });\n\nexport type RequestPromotePathParams = {\n projectId: string;\n deploymentId: string;\n};\n\nexport type RequestPromoteQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RequestPromoteError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RequestPromoteVariables = {\n pathParams: RequestPromotePathParams;\n queryParams?: RequestPromoteQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows users to promote a deployment to production. Note: This does NOT rebuild the deployment. If you need that, then call create-deployments endpoint.\n */\nexport const requestPromote = (variables: RequestPromoteVariables, signal?: AbortSignal) =>\n fetch<undefined, RequestPromoteError, undefined, {}, RequestPromoteQueryParams, RequestPromotePathParams>({\n url: '/v10/projects/{projectId}/promote/{deploymentId}',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type ListPromoteAliasesPathParams = {\n projectId: string;\n};\n\nexport type ListPromoteAliasesQueryParams = {\n /**\n * Maximum number of aliases to list from a request (max 100).\n *\n * @example 20\n * @maximum 100\n */\n limit?: number;\n /**\n * Get aliases created after this epoch timestamp.\n *\n * @example 1609499532000\n */\n since?: number;\n /**\n * Get aliases created before this epoch timestamp.\n *\n * @example 1612264332000\n */\n until?: number;\n /**\n * Filter results down to aliases that failed to map to the requested deployment\n */\n failedOnly?: boolean;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListPromoteAliasesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListPromoteAliasesVariables = {\n pathParams: ListPromoteAliasesPathParams;\n queryParams?: ListPromoteAliasesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a list of aliases related to the last promote request with their mapping status\n */\nexport const listPromoteAliases = (variables: ListPromoteAliasesVariables, signal?: AbortSignal) =>\n fetch<\n | Record<string, any>\n | {\n aliases: {\n status: string;\n alias: string;\n id: string;\n }[];\n pagination: Schemas.Pagination;\n },\n ListPromoteAliasesError,\n undefined,\n {},\n ListPromoteAliasesQueryParams,\n ListPromoteAliasesPathParams\n >({ url: '/v1/projects/{projectId}/promote/aliases', method: 'get', ...variables, signal });\n\nexport type PauseProjectPathParams = {\n /**\n * The unique project identifier\n */\n projectId: string;\n};\n\nexport type PauseProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PauseProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PauseProjectVariables = {\n pathParams: PauseProjectPathParams;\n queryParams?: PauseProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Pause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project disables auto assigning custom production domains and blocks the active Production Deployment then the request will return with 200 status code.\n */\nexport const pauseProject = (variables: PauseProjectVariables, signal?: AbortSignal) =>\n fetch<undefined, PauseProjectError, undefined, {}, PauseProjectQueryParams, PauseProjectPathParams>({\n url: '/v1/projects/{projectId}/pause',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UnpauseProjectPathParams = {\n /**\n * The unique project identifier\n */\n projectId: string;\n};\n\nexport type UnpauseProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UnpauseProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UnpauseProjectVariables = {\n pathParams: UnpauseProjectPathParams;\n queryParams?: UnpauseProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Unpause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project enables auto assigning custom production domains and unblocks the active Production Deployment then the request will return with 200 status code.\n */\nexport const unpauseProject = (variables: UnpauseProjectVariables, signal?: AbortSignal) =>\n fetch<undefined, UnpauseProjectError, undefined, {}, UnpauseProjectQueryParams, UnpauseProjectPathParams>({\n url: '/v1/projects/{projectId}/unpause',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetTeamMembersQueryParams = {\n /**\n * Limit how many teams should be returned\n *\n * @example 20\n * @minimum 1\n */\n limit?: number;\n /**\n * Timestamp in milliseconds to only include members added since then.\n *\n * @example 1540095775951\n */\n since?: number;\n /**\n * Timestamp in milliseconds to only include members added until then.\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Search team members by their name, username, and email.\n */\n search?: string;\n /**\n * Only return members with the specified team role.\n *\n * @example OWNER\n */\n role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER' | 'BILLING' | 'CONTRIBUTOR';\n /**\n * Exclude members who belong to the specified project.\n */\n excludeProject?: string;\n /**\n * Include team members who are eligible to be members of the specified project.\n */\n eligibleMembersForProjectId?: string;\n};\n\nexport type GetTeamMembersError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamMembersResponse = {\n members: {\n /**\n * ID of the file for the Avatar of this member.\n *\n * @example 123a6c5209bc3778245d011443644c8d27dc2c50\n */\n avatar?: string;\n /**\n * Boolean that indicates if this member was confirmed by an owner.\n *\n * @example true\n */\n confirmed: boolean;\n /**\n * The email of this member.\n *\n * @example jane.doe@example.com\n */\n email: string;\n /**\n * Information about the GitHub account for this user.\n */\n github?: {\n login?: string;\n };\n /**\n * Information about the GitLab account of this user.\n */\n gitlab?: {\n login?: string;\n };\n /**\n * Information about the Bitbucket account of this user.\n */\n bitbucket?: {\n login?: string;\n };\n /**\n * Role of this user in the team.\n *\n * @example OWNER\n */\n role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n /**\n * The ID of this user.\n *\n * @example zTuNVUXEAvvnNN3IaqinkyMw\n */\n uid: string;\n /**\n * The unique username of this user.\n *\n * @example jane-doe\n */\n username: string;\n /**\n * The name of this user.\n *\n * @example Jane Doe\n */\n name?: string;\n /**\n * Timestamp in milliseconds when this member was added.\n *\n * @example 1588720733602\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds for when this team member was accepted by an owner.\n *\n * @example 1588820733602\n */\n accessRequestedAt?: number;\n /**\n * Map with information about the members origin if they joined by requesting access.\n */\n joinedFrom?: {\n origin:\n | 'teams'\n | 'link'\n | 'mail'\n | 'import'\n | 'github'\n | 'gitlab'\n | 'bitbucket'\n | 'saml'\n | 'dsync'\n | 'feedback'\n | 'organization-teams';\n commitId?: string;\n repoId?: string;\n repoPath?: string;\n gitUserId?: string | number;\n gitUserLogin?: string;\n ssoUserId?: string;\n ssoConnectedAt?: number;\n idpUserId?: string;\n dsyncUserId?: string;\n dsyncConnectedAt?: number;\n };\n /**\n * Array of project memberships\n */\n projects?: {\n name?: string;\n id?: string;\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }[];\n }[];\n emailInviteCodes?: (\n | {\n id: string;\n email?: string;\n role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n isDSyncUser: boolean;\n createdAt?: number;\n expired?: boolean;\n projects?: {\n [key: string]: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n };\n }\n | {\n accessGroups?: string[];\n id: string;\n email?: string;\n role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n isDSyncUser: boolean;\n createdAt?: number;\n expired?: boolean;\n projects?: {\n [key: string]: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n };\n }\n )[];\n pagination: {\n hasNext: boolean;\n /**\n * Amount of items in the current page.\n *\n * @example 20\n */\n count: number;\n /**\n * Timestamp that must be used to request the next page.\n *\n * @example 1540095775951\n */\n next: number | null;\n /**\n * Timestamp that must be used to request the previous page.\n *\n * @example 1540095775951\n */\n prev: number | null;\n };\n};\n\nexport type GetTeamMembersVariables = {\n queryParams?: GetTeamMembersQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a paginated list of team members for the provided team.\n */\nexport const getTeamMembers = (variables: GetTeamMembersVariables, signal?: AbortSignal) =>\n fetch<GetTeamMembersResponse, GetTeamMembersError, undefined, {}, GetTeamMembersQueryParams, {}>({\n url: '/v2/teams/{teamId}/members',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type InviteUserToTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type InviteUserToTeamRequestBody = {\n /**\n * The id of the user to invite\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n uid?: string;\n /**\n * The email address of the user to invite\n *\n * @format email\n * @example john@example.com\n */\n email?: string;\n /**\n * The role of the user to invite\n *\n * @default MEMBER\n * @default VIEWER\n * @example MEMBER\n * @example VIEWER\n */\n role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 64\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * Sets the project roles for the invited user\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER';\n }[];\n};\n\nexport type InviteUserToTeamVariables = {\n body?: InviteUserToTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.\n */\nexport const inviteUserToTeam = (variables: InviteUserToTeamVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * The ID of the invited user\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n uid: string;\n /**\n * The username of the invited user\n *\n * @example john-doe\n */\n username: string;\n /**\n * The email of the invited user. Not included if the user was invited via their UID.\n *\n * @example john@user.co\n */\n email?: string;\n /**\n * The role used for the invitation\n *\n * @example MEMBER\n */\n role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n }\n | {\n uid: string;\n username: string;\n role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n },\n InviteUserToTeamError,\n InviteUserToTeamRequestBody,\n {},\n {},\n {}\n >({ url: '/v1/teams/{teamId}/members', method: 'post', ...variables, signal });\n\nexport type RequestAccessToTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RequestAccessToTeamResponse = {\n teamSlug: string;\n teamName: string;\n confirmed?: boolean;\n joinedFrom?: {\n origin:\n | 'import'\n | 'teams'\n | 'github'\n | 'gitlab'\n | 'bitbucket'\n | 'feedback'\n | 'organization-teams'\n | 'mail'\n | 'link'\n | 'saml'\n | 'dsync';\n commitId?: string;\n repoId?: string;\n repoPath?: string;\n gitUserId?: string | number;\n gitUserLogin?: string;\n ssoUserId?: string;\n ssoConnectedAt?: number;\n idpUserId?: string;\n dsyncUserId?: string;\n dsyncConnectedAt?: number;\n };\n accessRequestedAt?: number;\n github: {\n login?: string;\n } | null;\n gitlab: {\n login?: string;\n } | null;\n bitbucket: {\n login?: string;\n } | null;\n};\n\nexport type RequestAccessToTeamRequestBody = {\n joinedFrom: {\n /**\n * The origin of the request.\n *\n * @example github\n */\n origin: 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'feedback' | 'organization-teams';\n /**\n * The commit sha if the origin is a git provider.\n *\n * @example f498d25d8bd654b578716203be73084b31130cd7\n */\n commitId?: string;\n /**\n * The ID of the repository for the given Git provider.\n *\n * @example 67753070\n */\n repoId?: string;\n /**\n * The path to the repository for the given Git provider.\n *\n * @example jane-doe/example\n */\n repoPath?: string;\n /**\n * The ID of the Git account of the user who requests access.\n *\n * @example 103053343\n */\n gitUserId?: string | number;\n /**\n * The login name for the Git account of the user who requests access.\n *\n * @example jane-doe\n */\n gitUserLogin?: string;\n };\n};\n\nexport type RequestAccessToTeamVariables = {\n body: RequestAccessToTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.\n */\nexport const requestAccessToTeam = (variables: RequestAccessToTeamVariables, signal?: AbortSignal) =>\n fetch<RequestAccessToTeamResponse, RequestAccessToTeamError, RequestAccessToTeamRequestBody, {}, {}, {}>({\n url: '/v1/teams/{teamId}/request',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetTeamAccessRequestPathParams = {\n userId?: string;\n};\n\nexport type GetTeamAccessRequestError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamAccessRequestResponse = {\n /**\n * The slug of the team.\n *\n * @example my-team\n */\n teamSlug: string;\n /**\n * The name of the team.\n *\n * @example My Team\n */\n teamName: string;\n /**\n * Current status of the membership. Will be `true` if confirmed, if pending it'll be `false`.\n *\n * @example false\n */\n confirmed: boolean;\n /**\n * A map that describes the origin from where the user joined.\n */\n joinedFrom: {\n origin:\n | 'mail'\n | 'link'\n | 'import'\n | 'teams'\n | 'github'\n | 'gitlab'\n | 'bitbucket'\n | 'saml'\n | 'dsync'\n | 'feedback'\n | 'organization-teams';\n commitId?: string;\n repoId?: string;\n repoPath?: string;\n gitUserId?: string | number;\n gitUserLogin?: string;\n ssoUserId?: string;\n ssoConnectedAt?: number;\n idpUserId?: string;\n dsyncUserId?: string;\n dsyncConnectedAt?: number;\n };\n /**\n * Timestamp in milliseconds when the user requested access to the team.\n *\n * @example 1588720733602\n */\n accessRequestedAt: number;\n /**\n * Map of the connected GitHub account.\n */\n github: {\n login?: string;\n } | null;\n /**\n * Map of the connected GitLab account.\n */\n gitlab: {\n login?: string;\n } | null;\n /**\n * Map of the connected Bitbucket account.\n */\n bitbucket: {\n login?: string;\n } | null;\n};\n\nexport type GetTeamAccessRequestVariables = {\n pathParams?: GetTeamAccessRequestPathParams;\n} & FetcherExtraProps;\n\n/**\n * Check the status of a join request. It'll respond with a 404 if the request has been declined. If no `userId` path segment was provided, this endpoint will instead return the status of the authenticated user.\n */\nexport const getTeamAccessRequest = (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) =>\n fetch<GetTeamAccessRequestResponse, GetTeamAccessRequestError, undefined, {}, {}, GetTeamAccessRequestPathParams>({\n url: '/v1/teams/{teamId}/request/{userId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type JoinTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type JoinTeamResponse = {\n /**\n * The ID of the team the user joined.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId: string;\n /**\n * The slug of the team the user joined.\n *\n * @example my-team\n */\n slug: string;\n /**\n * The name of the team the user joined.\n *\n * @example My Team\n */\n name: string;\n /**\n * The origin of how the user joined.\n *\n * @example email\n */\n from: string;\n};\n\nexport type JoinTeamRequestBody = {\n /**\n * The invite code to join the team.\n *\n * @example fisdh38aejkeivn34nslfore9vjtn4ls\n */\n inviteCode?: string;\n};\n\nexport type JoinTeamVariables = {\n body?: JoinTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Join a team with a provided invite code or team ID.\n */\nexport const joinTeam = (variables: JoinTeamVariables, signal?: AbortSignal) =>\n fetch<JoinTeamResponse, JoinTeamError, JoinTeamRequestBody, {}, {}, {}>({\n url: '/v1/teams/{teamId}/members/teams/join',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UpdateTeamMemberPathParams = {\n /**\n * The ID of the member.\n *\n * @example ndfasllgPyCtREAqxxdyFKb\n */\n uid: string;\n};\n\nexport type UpdateTeamMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateTeamMemberResponse = {\n /**\n * ID of the team.\n */\n id: string;\n};\n\nexport type UpdateTeamMemberRequestBody = {\n /**\n * Accept a user who requested access to the team.\n *\n * @example true\n */\n confirmed?: true;\n /**\n * The role in the team of the member.\n *\n * @default MEMBER\n * @default VIEWER\n * @example MEMBER\n * @example VIEWER\n */\n role?: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role of the member that will be added. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n joinedFrom?: {\n ssoUserId?: null;\n };\n};\n\nexport type UpdateTeamMemberVariables = {\n body?: UpdateTeamMemberRequestBody;\n pathParams: UpdateTeamMemberPathParams;\n} & FetcherExtraProps;\n\n/**\n * Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. The authenticated user must be an `OWNER` of the Team.\n */\nexport const updateTeamMember = (variables: UpdateTeamMemberVariables, signal?: AbortSignal) =>\n fetch<\n UpdateTeamMemberResponse,\n UpdateTeamMemberError,\n UpdateTeamMemberRequestBody,\n {},\n {},\n UpdateTeamMemberPathParams\n >({ url: '/v1/teams/{teamId}/members/{uid}', method: 'patch', ...variables, signal });\n\nexport type RemoveTeamMemberPathParams = {\n /**\n * The user ID of the member.\n *\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n};\n\nexport type RemoveTeamMemberQueryParams = {\n /**\n * The ID of the team to set as the new default team for the Northstar user.\n *\n * @example team_nllPyCtREAqxxdyFKbbMDlxd\n */\n newDefaultTeamId?: string;\n};\n\nexport type RemoveTeamMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveTeamMemberResponse = {\n /**\n * ID of the team.\n */\n id: string;\n};\n\nexport type RemoveTeamMemberVariables = {\n pathParams: RemoveTeamMemberPathParams;\n queryParams?: RemoveTeamMemberQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.\n */\nexport const removeTeamMember = (variables: RemoveTeamMemberVariables, signal?: AbortSignal) =>\n fetch<\n RemoveTeamMemberResponse,\n RemoveTeamMemberError,\n undefined,\n {},\n RemoveTeamMemberQueryParams,\n RemoveTeamMemberPathParams\n >({ url: '/v1/teams/{teamId}/members/{uid}', method: 'delete', ...variables, signal });\n\nexport type GetTeamPathParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n};\n\nexport type GetTeamQueryParams = {\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamVariables = {\n pathParams?: GetTeamPathParams;\n queryParams?: GetTeamQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get information for the Team specified by the `teamId` parameter.\n */\nexport const getTeam = (variables: GetTeamVariables, signal?: AbortSignal) =>\n fetch<Schemas.Team, GetTeamError, undefined, {}, GetTeamQueryParams, GetTeamPathParams>({\n url: '/v2/teams/{teamId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type PatchTeamPathParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId: string;\n};\n\nexport type PatchTeamQueryParams = {\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchTeamRequestBody = {\n /**\n * The hash value of an uploaded image.\n *\n * @format regex\n */\n avatar?: string;\n /**\n * A short text that describes the team.\n *\n * @maxLength 140\n * @example Our mission is to make cloud computing accessible to everyone\n */\n description?: string;\n /**\n * @format regex\n * @example example.com\n */\n emailDomain?: string | null;\n /**\n * The name of the team.\n *\n * @maxLength 256\n * @example My Team\n */\n name?: string;\n /**\n * Suffix that will be used for all preview deployments.\n *\n * @format hostname\n * @example example.dev\n */\n previewDeploymentSuffix?: string | null;\n /**\n * Create a new invite code and replace the current one.\n *\n * @example true\n */\n regenerateInviteCode?: boolean;\n saml?: {\n /**\n * Require that members of the team use SAML Single Sign-On.\n *\n * @example true\n */\n enforced?: boolean;\n roles?: {\n [key: string]: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n };\n };\n /**\n * A new slug for the team.\n *\n * @example my-team\n */\n slug?: string;\n /**\n * Enable preview comments: one of on, off or default.\n *\n * @example on\n */\n enablePreviewFeedback?: string;\n /**\n * Sensitive environment variable policy: one of on, off or default.\n *\n * @example on\n */\n sensitiveEnvironmentVariablePolicy?: string;\n /**\n * Whether or not remote caching is enabled for the team\n */\n remoteCaching?: {\n /**\n * Enable or disable remote caching for the team.\n *\n * @example true\n */\n enabled?: boolean;\n };\n /**\n * Display or hide IP addresses in Monitoring queries.\n *\n * @example false\n */\n hideIpAddresses?: boolean;\n};\n\nexport type PatchTeamVariables = {\n body?: PatchTeamRequestBody;\n pathParams: PatchTeamPathParams;\n queryParams?: PatchTeamQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team.\n */\nexport const patchTeam = (variables: PatchTeamVariables, signal?: AbortSignal) =>\n fetch<Schemas.Team, PatchTeamError, PatchTeamRequestBody, {}, PatchTeamQueryParams, PatchTeamPathParams>({\n url: '/v2/teams/{teamId}',\n method: 'patch',\n ...variables,\n signal\n });\n\nexport type GetTeamsQueryParams = {\n /**\n * Maximum number of Teams which may be returned.\n *\n * @example 20\n */\n limit?: number;\n /**\n * Timestamp (in milliseconds) to only include Teams created since then.\n *\n * @example 1540095775951\n */\n since?: number;\n /**\n * Timestamp (in milliseconds) to only include Teams created until then.\n *\n * @example 1540095775951\n */\n until?: number;\n};\n\nexport type GetTeamsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamsResponse = {\n teams: (Schemas.Team | Schemas.TeamLimited)[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetTeamsVariables = {\n queryParams?: GetTeamsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a paginated list of all the Teams the authenticated User is a member of.\n */\nexport const getTeams = (variables: GetTeamsVariables, signal?: AbortSignal) =>\n fetch<GetTeamsResponse, GetTeamsError, undefined, {}, GetTeamsQueryParams, {}>({\n url: '/v2/teams',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateTeamResponse = {\n /**\n * Id of the created team\n *\n * @example team_nLlpyC6RE1qxqglFKbrMxlud\n */\n id: string;\n slug: string;\n billing: {\n currency?: 'usd' | 'eur';\n cancelation?: number | null;\n period: {\n start: number;\n end: number;\n } | null;\n contract?: {\n start: number;\n end: number;\n } | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n planIteration?: string;\n platform?: 'stripe' | 'stripeTestMode';\n orbCustomerId?: string;\n syncedAt?: number;\n programType?: 'startup' | 'agency';\n trial?: {\n start: number;\n end: number;\n } | null;\n email?: string | null;\n tax?: {\n type: string;\n id: string;\n } | null;\n language?: string | null;\n address?: {\n line1?: string;\n line2?: string;\n postalCode?: string;\n city?: string;\n country?: string;\n state?: string;\n } | null;\n name?: string | null;\n invoiceItems?: {\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n pro?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n enterprise?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n analytics?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n concurrentBuilds?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n monitoring?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n passwordProtection?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n previewDeploymentSuffix?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n saml?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n teamSeats?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n webAnalytics?: {\n tier?: number;\n price: number;\n quantity: number;\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n analyticsUsage?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n artifacts?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n bandwidth?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobStores?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalAdvancedRequests?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalAvgSizeInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalGetResponseObjectSizeInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalSimpleRequests?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n buildMinute?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n dataCacheRead?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n dataCacheRevalidation?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n dataCacheWrite?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeConfigRead?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeConfigWrite?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeFunctionExecutionUnits?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeMiddlewareInvocations?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeRequest?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeRequestAdditionalCpuDuration?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n fastDataTransfer?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n fastOriginTransfer?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n functionDuration?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n functionInvocation?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n logDrainsVolume?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n monitoringMetric?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresComputeTime?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresDataStorage?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresDataTransfer?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresDatabase?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresWrittenData?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n serverlessFunctionExecution?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n sourceImages?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalBandwidthInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalCommands?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalDailyAvgStorageInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalDatabases?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n wafOwaspExcessBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n wafOwaspRequests?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n webAnalyticsEvent?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n } | null;\n invoiceSettings?: {\n footer?: string;\n };\n subscriptions?:\n | {\n id: string;\n trial: {\n start: number;\n end: number;\n } | null;\n period: {\n start: number;\n end: number;\n };\n frequency: {\n interval: 'month' | 'day' | 'week' | 'year';\n intervalCount: number;\n };\n discount: {\n id: string;\n coupon: {\n id: string;\n name: string | null;\n amountOff: number | null;\n percentageOff: number | null;\n durationInMonths: number | null;\n duration: 'forever' | 'repeating' | 'once';\n };\n } | null;\n items: {\n id: string;\n priceId: string;\n productId: string;\n amount: number;\n quantity: number;\n }[];\n }[]\n | null;\n controls?: {\n analyticsSampleRateInPercent?: number | null;\n analyticsSpendLimitInDollars?: number | null;\n } | null;\n purchaseOrder?: string | null;\n status?: 'active' | 'trialing' | 'overdue' | 'expired' | 'canceled';\n pricingExperiment?: 'august-2022';\n orbMigrationScheduledAt?: number | null;\n };\n};\n\nexport type CreateTeamRequestBody = {\n /**\n * The desired slug for the Team\n *\n * @example a-random-team\n * @maxLength 48\n */\n slug: string;\n /**\n * The desired name for the Team. It will be generated from the provided slug if nothing is provided\n *\n * @example A Random Team\n * @maxLength 256\n */\n name?: string;\n /**\n * Attribution information for the session or current page\n */\n attribution?: {\n /**\n * Session referrer\n */\n sessionReferrer?: string;\n /**\n * Session landing page\n */\n landingPage?: string;\n /**\n * Referrer to the signup page\n */\n pageBeforeConversionPage?: string;\n utm?: {\n /**\n * UTM source\n */\n utmSource?: string;\n /**\n * UTM medium\n */\n utmMedium?: string;\n /**\n * UTM campaign\n */\n utmCampaign?: string;\n /**\n * UTM term\n */\n utmTerm?: string;\n };\n };\n};\n\nexport type CreateTeamVariables = {\n body: CreateTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.\n */\nexport const createTeam = (variables: CreateTeamVariables, signal?: AbortSignal) =>\n fetch<CreateTeamResponse, CreateTeamError, CreateTeamRequestBody, {}, {}, {}>({\n url: '/v1/teams',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type DeleteTeamPathParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId: string;\n};\n\nexport type DeleteTeamQueryParams = {\n /**\n * Id of the team to be set as the new default team\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n newDefaultTeamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteTeamResponse = {\n /**\n * The ID of the deleted Team\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n id: string;\n /**\n * Signifies whether the default team update has failed, when newDefaultTeamId is provided in request query.\n *\n * @example true\n */\n newDefaultTeamIdError?: boolean;\n};\n\nexport type DeleteTeamRequestBody = {\n /**\n * Optional array of objects that describe the reason why the team is being deleted.\n */\n reasons?: {\n /**\n * Idenitifier slug of the reason why the team is being deleted.\n */\n slug: string;\n /**\n * Description of the reason why the team is being deleted.\n */\n description: string;\n }[];\n};\n\nexport type DeleteTeamVariables = {\n body?: DeleteTeamRequestBody;\n pathParams: DeleteTeamPathParams;\n queryParams?: DeleteTeamQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a team under your account. You need to send a `DELETE` request with the desired team `id`. An optional array of reasons for deletion may also be sent.\n */\nexport const deleteTeam = (variables: DeleteTeamVariables, signal?: AbortSignal) =>\n fetch<DeleteTeamResponse, DeleteTeamError, DeleteTeamRequestBody, {}, DeleteTeamQueryParams, DeleteTeamPathParams>({\n url: '/v1/teams/{teamId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type DeleteTeamInviteCodePathParams = {\n /**\n * The Team invite code ID.\n *\n * @example 2wn2hudbr4chb1ecywo9dvzo7g9sscs6mzcz8htdde0txyom4l\n */\n inviteId: string;\n};\n\nexport type DeleteTeamInviteCodeError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteTeamInviteCodeResponse = {\n /**\n * ID of the team.\n */\n id: string;\n};\n\nexport type DeleteTeamInviteCodeVariables = {\n pathParams: DeleteTeamInviteCodePathParams;\n} & FetcherExtraProps;\n\n/**\n * Delete an active Team invite code.\n */\nexport const deleteTeamInviteCode = (variables: DeleteTeamInviteCodeVariables, signal?: AbortSignal) =>\n fetch<DeleteTeamInviteCodeResponse, DeleteTeamInviteCodeError, undefined, {}, {}, DeleteTeamInviteCodePathParams>({\n url: '/v1/teams/{teamId}/invites/{inviteId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type UploadFileQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UploadFileHeaders = {\n /**\n * The file size in bytes\n */\n ['Content-Length']?: number;\n /**\n * The file SHA1 used to check the integrity\n *\n * @maxLength 40\n */\n ['x-vercel-digest']?: string;\n /**\n * The file SHA1 used to check the integrity\n *\n * @deprecated true\n * @maxLength 40\n */\n ['x-now-digest']?: string;\n /**\n * The file size as an alternative to `Content-Length`\n *\n * @deprecated true\n */\n ['x-now-size']?: number;\n};\n\nexport type UploadFileError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UploadFileVariables = {\n headers?: UploadFileHeaders;\n queryParams?: UploadFileQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Before you create a deployment you need to upload the required files for that deployment. To do it, you need to first upload each file to this endpoint. Once that's completed, you can create a new deployment with the uploaded files. The file content must be placed inside the body of the request. In the case of a successful response you'll receive a status code 200 with an empty body.\n */\nexport const uploadFile = (variables: UploadFileVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * Array of URLs where the file was updated\n *\n * @example example-upload.aws.com\n */\n urls: string[];\n }\n | Record<string, any>,\n UploadFileError,\n undefined,\n UploadFileHeaders,\n UploadFileQueryParams,\n {}\n >({ url: '/v2/files', method: 'post', ...variables, signal });\n\nexport type GetAuthUserError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAuthUserResponse = {\n user: Schemas.AuthUser | Schemas.AuthUserLimited;\n};\n\nexport type GetAuthUserVariables = FetcherExtraProps;\n\n/**\n * Retrieves information related to the currently authenticated User.\n */\nexport const getAuthUser = (variables: GetAuthUserVariables, signal?: AbortSignal) =>\n fetch<GetAuthUserResponse, GetAuthUserError, undefined, {}, {}, {}>({\n url: '/v2/user',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type RequestDeleteError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RequestDeleteResponse = {\n /**\n * Unique identifier of the User who has initiated deletion.\n */\n id: string;\n /**\n * Email address of the User who has initiated deletion.\n */\n email: string;\n /**\n * User deletion progress status.\n *\n * @example Verification email sent\n */\n message: string;\n};\n\nexport type RequestDeleteRequestBody = {\n /**\n * Optional array of objects that describe the reason why the User account is being deleted.\n */\n reasons?: {\n /**\n * Idenitifier slug of the reason why the User account is being deleted.\n */\n slug: string;\n /**\n * Description of the reason why the User account is being deleted.\n */\n description: string;\n }[];\n};\n\nexport type RequestDeleteVariables = {\n body?: RequestDeleteRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Initiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process.\n */\nexport const requestDelete = (variables: RequestDeleteVariables, signal?: AbortSignal) =>\n fetch<RequestDeleteResponse, RequestDeleteError, RequestDeleteRequestBody, {}, {}, {}>({\n url: '/v1/user',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListAuthTokensError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAuthTokensResponse = {\n tokens: Schemas.AuthToken[];\n testingToken?: Schemas.AuthToken;\n pagination: Schemas.Pagination;\n};\n\nexport type ListAuthTokensVariables = FetcherExtraProps;\n\n/**\n * Retrieve a list of the current User's authentication tokens.\n */\nexport const listAuthTokens = (variables: ListAuthTokensVariables, signal?: AbortSignal) =>\n fetch<ListAuthTokensResponse, ListAuthTokensError, undefined, {}, {}, {}>({\n url: '/v5/user/tokens',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateAuthTokenQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateAuthTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateAuthTokenResponse = {\n token: Schemas.AuthToken;\n /**\n * The authentication token's actual value. This token is only provided in this response, and can never be retrieved again in the future. Be sure to save it somewhere safe!\n *\n * @example uRKJSTt0L4RaSkiMj41QTkxM\n */\n bearerToken: string;\n};\n\nexport type CreateAuthTokenVariables = {\n body?:\n | {\n name: string;\n expiresAt?: number;\n }\n | {\n type: 'oauth2-token';\n name: string;\n clientId?: string;\n installationId?: string;\n expiresAt?: number;\n };\n queryParams?: CreateAuthTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates and returns a new authentication token for the currently authenticated User. The `bearerToken` property is only provided once, in the response body, so be sure to save it on the client for use with API requests.\n */\nexport const createAuthToken = (variables: CreateAuthTokenVariables, signal?: AbortSignal) =>\n fetch<\n CreateAuthTokenResponse,\n CreateAuthTokenError,\n | {\n name: string;\n expiresAt?: number;\n }\n | {\n type: 'oauth2-token';\n name: string;\n clientId?: string;\n installationId?: string;\n expiresAt?: number;\n },\n {},\n CreateAuthTokenQueryParams,\n {}\n >({ url: '/v3/user/tokens', method: 'post', ...variables, signal });\n\nexport type GetAuthTokenPathParams = {\n /**\n * The identifier of the token to retrieve. The special value \\\"current\\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with.\n *\n * @example 5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391\n */\n tokenId: string;\n};\n\nexport type GetAuthTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAuthTokenResponse = {\n token: Schemas.AuthToken;\n};\n\nexport type GetAuthTokenVariables = {\n pathParams: GetAuthTokenPathParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve metadata about an authentication token belonging to the currently authenticated User.\n */\nexport const getAuthToken = (variables: GetAuthTokenVariables, signal?: AbortSignal) =>\n fetch<GetAuthTokenResponse, GetAuthTokenError, undefined, {}, {}, GetAuthTokenPathParams>({\n url: '/v5/user/tokens/{tokenId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteAuthTokenPathParams = {\n /**\n * The identifier of the token to invalidate. The special value \\\"current\\\" may be supplied, which invalidates the token that the HTTP request was authenticated with.\n *\n * @example 5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391\n */\n tokenId: string;\n};\n\nexport type DeleteAuthTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteAuthTokenResponse = {\n /**\n * The unique identifier of the token that was deleted.\n *\n * @example 5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391\n */\n tokenId: string;\n};\n\nexport type DeleteAuthTokenVariables = {\n pathParams: DeleteAuthTokenPathParams;\n} & FetcherExtraProps;\n\n/**\n * Invalidate an authentication token, such that it will no longer be valid for future HTTP requests.\n */\nexport const deleteAuthToken = (variables: DeleteAuthTokenVariables, signal?: AbortSignal) =>\n fetch<DeleteAuthTokenResponse, DeleteAuthTokenError, undefined, {}, {}, DeleteAuthTokenPathParams>({\n url: '/v3/user/tokens/{tokenId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type CreateWebhookQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateWebhookError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateWebhookResponse = {\n /**\n * The webhook secret used to sign the payload\n */\n secret: string;\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n};\n\nexport type CreateWebhookRequestBody = {\n /**\n * @format uri\n * @pattern ^https?://\n */\n url: string;\n /**\n * @minItems 1\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * @minItems 1\n * @maxItems 50\n */\n projectIds?: string[];\n};\n\nexport type CreateWebhookVariables = {\n body: CreateWebhookRequestBody;\n queryParams?: CreateWebhookQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a webhook\n */\nexport const createWebhook = (variables: CreateWebhookVariables, signal?: AbortSignal) =>\n fetch<CreateWebhookResponse, CreateWebhookError, CreateWebhookRequestBody, {}, CreateWebhookQueryParams, {}>({\n url: '/v1/webhooks',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetWebhooksQueryParams = {\n /**\n * @pattern ^[a-zA-z0-9_]+$\n */\n projectId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetWebhooksError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetWebhooksVariables = {\n queryParams?: GetWebhooksQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a list of webhooks\n */\nexport const getWebhooks = (variables: GetWebhooksVariables, signal?: AbortSignal) =>\n fetch<\n | {\n projectsMetadata:\n | {\n id: string;\n name: string;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n latestDeployment?: string;\n }[]\n | null;\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n }[]\n | {\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n }[],\n GetWebhooksError,\n undefined,\n {},\n GetWebhooksQueryParams,\n {}\n >({ url: '/v1/webhooks', method: 'get', ...variables, signal });\n\nexport type GetWebhookPathParams = {\n id: string;\n};\n\nexport type GetWebhookQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetWebhookError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetWebhookResponse = {\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n};\n\nexport type GetWebhookVariables = {\n pathParams: GetWebhookPathParams;\n queryParams?: GetWebhookQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a webhook\n */\nexport const getWebhook = (variables: GetWebhookVariables, signal?: AbortSignal) =>\n fetch<GetWebhookResponse, GetWebhookError, undefined, {}, GetWebhookQueryParams, GetWebhookPathParams>({\n url: '/v1/webhooks/{id}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteWebhookPathParams = {\n id: string;\n};\n\nexport type DeleteWebhookQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteWebhookError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteWebhookVariables = {\n pathParams: DeleteWebhookPathParams;\n queryParams?: DeleteWebhookQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes a webhook\n */\nexport const deleteWebhook = (variables: DeleteWebhookVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteWebhookError, undefined, {}, DeleteWebhookQueryParams, DeleteWebhookPathParams>({\n url: '/v1/webhooks/{id}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListAliasesQueryParams = {\n /**\n * Get only aliases of the given domain name\n *\n * @example my-test-domain.com\n * @maxItems 20\n */\n domain?: string[] | string;\n /**\n * Get only aliases created after the provided timestamp\n *\n * @deprecated true\n * @example 1540095775951\n */\n from?: number;\n /**\n * Maximum number of aliases to list from a request\n *\n * @example 10\n */\n limit?: number;\n /**\n * Filter aliases from the given `projectId`\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId?: string;\n /**\n * Get aliases created after this JavaScript timestamp\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Get aliases created before this JavaScript timestamp\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Get aliases that would be rolled back for the given deployment\n *\n * @example dpl_XXX\n */\n rollbackDeploymentId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAliasesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAliasesResponse = {\n aliases: {\n /**\n * The alias name, it could be a `.vercel.app` subdomain or a custom domain\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * The date when the alias was created in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n createdAt?: number;\n /**\n * Information of the user who created the alias\n */\n creator?: {\n /**\n * ID of the user who created the alias\n *\n * @example 96SnxkFiMyVKsK3pnoHfx3Hz\n */\n uid: string;\n /**\n * Email of the user who created the alias\n *\n * @example john-doe@gmail.com\n */\n email: string;\n /**\n * Username of the user who created the alias\n *\n * @example john-doe\n */\n username: string;\n };\n /**\n * The date when the alias was deleted in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n deletedAt?: number;\n /**\n * A map with the deployment ID, URL and metadata\n */\n deployment?: {\n /**\n * The deployment unique identifier\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n id: string;\n /**\n * The deployment unique URL\n *\n * @example my-instant-deployment-3ij3cxz9qr.now.sh\n */\n url: string;\n /**\n * The deployment metadata\n *\n * @example {}\n */\n meta?: string;\n };\n /**\n * The deployment ID\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n deploymentId: string | null;\n /**\n * The unique identifier of the project\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId: string | null;\n /**\n * Target destination domain for redirect when the alias is a redirect\n */\n redirect?: string | null;\n /**\n * Status code to be used on redirect\n */\n redirectStatusCode?: 301 | 302 | 307 | 308 | null;\n /**\n * The unique identifier of the alias\n */\n uid: string;\n /**\n * The date when the alias was updated in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n updatedAt?: number;\n /**\n * The protection bypass for the alias\n */\n protectionBypass?: {\n [key: string]:\n | {\n createdAt: number;\n createdBy: string;\n scope: 'shareable-link';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n access: 'requested' | 'granted';\n scope: 'user';\n }\n | {\n createdAt: number;\n createdBy: string;\n scope: 'alias-protection-override';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n scope: 'email_invite';\n };\n };\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type ListAliasesVariables = {\n queryParams?: ListAliasesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of aliases for the authenticated User or Team. When `domain` is provided, only aliases for that domain will be returned. When `projectId` is provided, it will only return the given project aliases.\n */\nexport const listAliases = (variables: ListAliasesVariables, signal?: AbortSignal) =>\n fetch<ListAliasesResponse, ListAliasesError, undefined, {}, ListAliasesQueryParams, {}>({\n url: '/v4/aliases',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetAliasPathParams = {\n /**\n * The alias or alias ID to be retrieved\n *\n * @example example.vercel.app\n */\n idOrAlias: string;\n};\n\nexport type GetAliasQueryParams = {\n /**\n * Get the alias only if it was created after the provided timestamp\n *\n * @deprecated true\n * @example 1540095775951\n */\n from?: number;\n /**\n * Get the alias only if it is assigned to the provided project ID\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId?: string;\n /**\n * Get the alias only if it was created after this JavaScript timestamp\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Get the alias only if it was created before this JavaScript timestamp\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetAliasError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAliasResponse = {\n /**\n * The alias name, it could be a `.vercel.app` subdomain or a custom domain\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * The date when the alias was created in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n createdAt?: number;\n /**\n * Information of the user who created the alias\n */\n creator?: {\n /**\n * ID of the user who created the alias\n *\n * @example 96SnxkFiMyVKsK3pnoHfx3Hz\n */\n uid: string;\n /**\n * Email of the user who created the alias\n *\n * @example john-doe@gmail.com\n */\n email: string;\n /**\n * Username of the user who created the alias\n *\n * @example john-doe\n */\n username: string;\n };\n /**\n * The date when the alias was deleted in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n deletedAt?: number;\n /**\n * A map with the deployment ID, URL and metadata\n */\n deployment?: {\n /**\n * The deployment unique identifier\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n id: string;\n /**\n * The deployment unique URL\n *\n * @example my-instant-deployment-3ij3cxz9qr.now.sh\n */\n url: string;\n /**\n * The deployment metadata\n *\n * @example {}\n */\n meta?: string;\n };\n /**\n * The deployment ID\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n deploymentId: string | null;\n /**\n * The unique identifier of the project\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId: string | null;\n /**\n * Target destination domain for redirect when the alias is a redirect\n */\n redirect?: string | null;\n /**\n * Status code to be used on redirect\n */\n redirectStatusCode?: 301 | 302 | 307 | 308 | null;\n /**\n * The unique identifier of the alias\n */\n uid: string;\n /**\n * The date when the alias was updated in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n updatedAt?: number;\n /**\n * The protection bypass for the alias\n */\n protectionBypass?: {\n [key: string]:\n | {\n createdAt: number;\n createdBy: string;\n scope: 'shareable-link';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n access: 'requested' | 'granted';\n scope: 'user';\n }\n | {\n createdAt: number;\n createdBy: string;\n scope: 'alias-protection-override';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n scope: 'email_invite';\n };\n };\n};\n\nexport type GetAliasVariables = {\n pathParams: GetAliasPathParams;\n queryParams?: GetAliasQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves an Alias for the given host name or alias ID.\n */\nexport const getAlias = (variables: GetAliasVariables, signal?: AbortSignal) =>\n fetch<GetAliasResponse, GetAliasError, undefined, {}, GetAliasQueryParams, GetAliasPathParams>({\n url: '/v4/aliases/{idOrAlias}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteAliasPathParams = {\n /**\n * The ID or alias that will be removed\n *\n * @example 2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n aliasId: string;\n};\n\nexport type DeleteAliasQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteAliasError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteAliasResponse = {\n status: 'SUCCESS';\n};\n\nexport type DeleteAliasVariables = {\n pathParams: DeleteAliasPathParams;\n queryParams?: DeleteAliasQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete an Alias with the specified ID.\n */\nexport const deleteAlias = (variables: DeleteAliasVariables, signal?: AbortSignal) =>\n fetch<DeleteAliasResponse, DeleteAliasError, undefined, {}, DeleteAliasQueryParams, DeleteAliasPathParams>({\n url: '/v2/aliases/{aliasId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListDeploymentAliasesPathParams = {\n /**\n * The ID of the deployment the aliases should be listed for\n *\n * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa\n */\n id: string;\n};\n\nexport type ListDeploymentAliasesQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListDeploymentAliasesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListDeploymentAliasesResponse = {\n /**\n * A list of the aliases assigned to the deployment\n */\n aliases: {\n /**\n * The unique identifier of the alias\n *\n * @example 2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n uid: string;\n /**\n * The alias name, it could be a `.vercel.app` subdomain or a custom domain\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * Target destination domain for redirect when the alias is a redirect\n */\n redirect?: string | null;\n /**\n * The protection bypass for the alias\n */\n protectionBypass?: {\n [key: string]:\n | {\n createdAt: number;\n createdBy: string;\n scope: 'shareable-link';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n access: 'requested' | 'granted';\n scope: 'user';\n }\n | {\n createdAt: number;\n createdBy: string;\n scope: 'alias-protection-override';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n scope: 'email_invite';\n };\n };\n }[];\n};\n\nexport type ListDeploymentAliasesVariables = {\n pathParams: ListDeploymentAliasesPathParams;\n queryParams?: ListDeploymentAliasesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.\n */\nexport const listDeploymentAliases = (variables: ListDeploymentAliasesVariables, signal?: AbortSignal) =>\n fetch<\n ListDeploymentAliasesResponse,\n ListDeploymentAliasesError,\n undefined,\n {},\n ListDeploymentAliasesQueryParams,\n ListDeploymentAliasesPathParams\n >({ url: '/v2/deployments/{id}/aliases', method: 'get', ...variables, signal });\n\nexport type AssignAliasPathParams = {\n /**\n * The ID of the deployment the aliases should be listed for\n *\n * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa\n */\n id: string;\n};\n\nexport type AssignAliasQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type AssignAliasError = Fetcher.ErrorWrapper<undefined>;\n\nexport type AssignAliasResponse = {\n /**\n * The unique identifier of the alias\n *\n * @example 2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n uid: string;\n /**\n * The assigned alias name\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * The unique identifier of the previously aliased deployment, only received when the alias was used before\n *\n * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa\n */\n oldDeploymentId?: string | null;\n};\n\nexport type AssignAliasRequestBody = {\n /**\n * The alias we want to assign to the deployment defined in the URL\n *\n * @example my-alias.vercel.app\n */\n alias?: string;\n /**\n * The redirect property will take precedence over the deployment id from the URL and consists of a hostname (like test.com) to which the alias should redirect using status code 307\n *\n * @example null\n */\n redirect?: string | null;\n};\n\nexport type AssignAliasVariables = {\n body?: AssignAliasRequestBody;\n pathParams: AssignAliasPathParams;\n queryParams?: AssignAliasQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a new alias for the deployment with the given deployment ID. The authenticated user or team must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.\n */\nexport const assignAlias = (variables: AssignAliasVariables, signal?: AbortSignal) =>\n fetch<\n AssignAliasResponse,\n AssignAliasError,\n AssignAliasRequestBody,\n {},\n AssignAliasQueryParams,\n AssignAliasPathParams\n >({ url: '/v2/deployments/{id}/aliases', method: 'post', ...variables, signal });\n\nexport type GetCertByIdPathParams = {\n /**\n * The cert id\n */\n id: string;\n};\n\nexport type GetCertByIdQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetCertByIdError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetCertByIdResponse = {\n id: string;\n createdAt: number;\n expiresAt: number;\n autoRenew: boolean;\n cns: string[];\n};\n\nexport type GetCertByIdVariables = {\n pathParams: GetCertByIdPathParams;\n queryParams?: GetCertByIdQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get cert by id\n */\nexport const getCertById = (variables: GetCertByIdVariables, signal?: AbortSignal) =>\n fetch<GetCertByIdResponse, GetCertByIdError, undefined, {}, GetCertByIdQueryParams, GetCertByIdPathParams>({\n url: '/v7/certs/{id}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type RemoveCertPathParams = {\n /**\n * The cert id to remove\n */\n id: string;\n};\n\nexport type RemoveCertQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveCertError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveCertVariables = {\n pathParams: RemoveCertPathParams;\n queryParams?: RemoveCertQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove cert\n */\nexport const removeCert = (variables: RemoveCertVariables, signal?: AbortSignal) =>\n fetch<Record<string, any>, RemoveCertError, undefined, {}, RemoveCertQueryParams, RemoveCertPathParams>({\n url: '/v7/certs/{id}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type IssueCertQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type IssueCertError = Fetcher.ErrorWrapper<undefined>;\n\nexport type IssueCertResponse = {\n id: string;\n createdAt: number;\n expiresAt: number;\n autoRenew: boolean;\n cns: string[];\n};\n\nexport type IssueCertRequestBody = {\n /**\n * The common names the cert should be issued for\n */\n cns?: string[];\n};\n\nexport type IssueCertVariables = {\n body?: IssueCertRequestBody;\n queryParams?: IssueCertQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Issue a new cert\n */\nexport const issueCert = (variables: IssueCertVariables, signal?: AbortSignal) =>\n fetch<IssueCertResponse, IssueCertError, IssueCertRequestBody, {}, IssueCertQueryParams, {}>({\n url: '/v7/certs',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UploadCertQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UploadCertError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UploadCertResponse = {\n id: string;\n createdAt: number;\n expiresAt: number;\n autoRenew: boolean;\n cns: string[];\n};\n\nexport type UploadCertRequestBody = {\n /**\n * The certificate authority\n */\n ca: string;\n /**\n * The certificate key\n */\n key: string;\n /**\n * The certificate\n */\n cert: string;\n /**\n * Skip validation of the certificate\n */\n skipValidation?: boolean;\n};\n\nexport type UploadCertVariables = {\n body: UploadCertRequestBody;\n queryParams?: UploadCertQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Upload a cert\n */\nexport const uploadCert = (variables: UploadCertVariables, signal?: AbortSignal) =>\n fetch<UploadCertResponse, UploadCertError, UploadCertRequestBody, {}, UploadCertQueryParams, {}>({\n url: '/v7/certs',\n method: 'put',\n ...variables,\n signal\n });\n\nexport type ListDeploymentFilesPathParams = {\n /**\n * The unique deployment identifier\n */\n id: string;\n};\n\nexport type ListDeploymentFilesQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListDeploymentFilesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListDeploymentFilesResponse = Schemas.FileTree[];\n\nexport type ListDeploymentFilesVariables = {\n pathParams: ListDeploymentFilesPathParams;\n queryParams?: ListDeploymentFilesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve the file structure of a deployment by supplying the deployment unique identifier.\n */\nexport const listDeploymentFiles = (variables: ListDeploymentFilesVariables, signal?: AbortSignal) =>\n fetch<\n ListDeploymentFilesResponse,\n ListDeploymentFilesError,\n undefined,\n {},\n ListDeploymentFilesQueryParams,\n ListDeploymentFilesPathParams\n >({ url: '/v6/deployments/{id}/files', method: 'get', ...variables, signal });\n\nexport type GetDeploymentFileContentsPathParams = {\n /**\n * The unique deployment identifier\n */\n id: string;\n /**\n * The unique file identifier\n */\n fileId: string;\n};\n\nexport type GetDeploymentFileContentsQueryParams = {\n /**\n * Path to the file to fetch (only for Git deployments)\n */\n path?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentFileContentsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentFileContentsVariables = {\n pathParams: GetDeploymentFileContentsPathParams;\n queryParams?: GetDeploymentFileContentsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64.\n */\nexport const getDeploymentFileContents = (variables: GetDeploymentFileContentsVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n GetDeploymentFileContentsError,\n undefined,\n {},\n GetDeploymentFileContentsQueryParams,\n GetDeploymentFileContentsPathParams\n >({ url: '/v7/deployments/{id}/files/{fileId}', method: 'get', ...variables, signal });\n\nexport type GetDeploymentsQueryParams = {\n /**\n * Name of the deployment.\n *\n * @example docs\n */\n app?: string;\n /**\n * Gets the deployment created after this Date timestamp. (default: current time)\n *\n * @example 1612948664566\n * @deprecated true\n */\n from?: number;\n /**\n * Maximum number of deployments to list from a request.\n *\n * @example 10\n */\n limit?: number;\n /**\n * Filter deployments from the given `projectId`.\n *\n * @example QmXGTs7mvAMMC7WW5ebrM33qKG32QK3h4vmQMjmY\n */\n projectId?: string;\n /**\n * Filter deployments based on the environment.\n *\n * @example production\n */\n target?: 'production' | 'preview';\n /**\n * Gets the deployment created before this Date timestamp. (default: current time)\n *\n * @example 1612948664566\n * @deprecated true\n */\n to?: number;\n /**\n * Filter out deployments based on users who have created the deployment.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf,K4amb7K9dAt5R2vBJWF32bmY\n */\n users?: string;\n /**\n * Get Deployments created after this JavaScript timestamp.\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Get Deployments created before this JavaScript timestamp.\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)\n *\n * @example BUILDING,READY\n */\n state?: string;\n /**\n * Filter deployments based on their rollback candidacy\n */\n rollbackCandidate?: boolean;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentsResponse = {\n pagination: Schemas.Pagination;\n deployments: {\n /**\n * The unique identifier of the deployment.\n *\n * @example dpl_2euZBFqxYdDMDG1jTrHFnNZ2eUVa\n */\n uid: string;\n /**\n * The name of the deployment.\n *\n * @example docs\n */\n name: string;\n /**\n * The URL of the deployment.\n *\n * @example docs-9jaeg38me.vercel.app\n */\n url: string;\n /**\n * Timestamp of when the deployment got created.\n *\n * @example 1609492210000\n */\n created: number;\n /**\n * Timestamp of when the deployment got deleted.\n *\n * @example 1609492210000\n */\n deleted?: number;\n /**\n * The source of the deployment.\n *\n * @example cli\n */\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n /**\n * In which state is the deployment.\n *\n * @example READY\n */\n state?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n /**\n * In which state is the deployment.\n *\n * @example READY\n */\n readyState?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n /**\n * The type of the deployment.\n *\n * @example LAMBDAS\n */\n type: 'LAMBDAS';\n /**\n * Metadata information of the user who created the deployment.\n */\n creator: {\n /**\n * The unique identifier of the user.\n *\n * @example eLrCnEgbKhsHyfbiNR7E8496\n */\n uid: string;\n /**\n * The email address of the user.\n *\n * @example example@example.com\n */\n email?: string;\n /**\n * The username of the user.\n *\n * @example johndoe\n */\n username?: string;\n /**\n * The GitHub login of the user.\n *\n * @example johndoe\n */\n githubLogin?: string;\n /**\n * The GitLab login of the user.\n *\n * @example johndoe\n */\n gitlabLogin?: string;\n };\n /**\n * Metadata information from the Git provider.\n */\n meta?: {\n [key: string]: string;\n };\n /**\n * On which environment has the deployment been deployed to.\n *\n * @example production\n */\n target?: 'production' | 'staging' | null;\n /**\n * An error object in case aliasing of the deployment failed.\n */\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasAssigned?: number | boolean | null;\n /**\n * Timestamp of when the deployment got created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * Timestamp of when the deployment started building at.\n *\n * @example 1609492210000\n */\n buildingAt?: number;\n /**\n * Timestamp of when the deployment got ready.\n *\n * @example 1609492210000\n */\n ready?: number;\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n /**\n * State of all registered checks\n */\n checksState?: 'registered' | 'running' | 'completed';\n /**\n * Conclusion for checks\n */\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n /**\n * Vercel URL to inspect the deployment.\n *\n * @example https://vercel.com/acme/nextjs/J1hXN00qjUeoYfpEEf7dnDtpSiVq\n */\n inspectorUrl: string | null;\n /**\n * Deployment can be used for instant rollback\n */\n isRollbackCandidate?: boolean | null;\n /**\n * The project settings which was used for this deployment\n */\n projectSettings?: {\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n customerSupportCodeVisibility?: boolean;\n gitLFS?: boolean;\n devCommand?: string | null;\n installCommand?: string | null;\n buildCommand?: string | null;\n nodeVersion?: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n outputDirectory?: string | null;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n sourceFilesOutsideRootDirectory?: boolean;\n commandForIgnoringBuildStep?: string | null;\n createdAt?: number;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n skipGitConnectDuringLink?: boolean;\n /**\n * Since June '23\n */\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n };\n /**\n * The flag saying if Vercel Connect configuration is used for builds\n */\n connectBuildsEnabled?: boolean;\n /**\n * The ID of Vercel Connect configuration used for this deployment\n */\n connectConfigurationId?: string;\n /**\n * The ID of Vercel Connect configuration used for this deployment's passive functions\n */\n passiveConnectConfigurationId?: string;\n }[];\n};\n\nexport type GetDeploymentsVariables = {\n queryParams?: GetDeploymentsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the `url` property will have a value of `null`.\n */\nexport const getDeployments = (variables: GetDeploymentsVariables, signal?: AbortSignal) =>\n fetch<GetDeploymentsResponse, GetDeploymentsError, undefined, {}, GetDeploymentsQueryParams, {}>({\n url: '/v6/deployments',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type VerifyTokenQueryParams = {\n /**\n * Email to verify the login.\n */\n email?: string;\n /**\n * The token returned when the login was requested.\n */\n token: string;\n /**\n * The desired name for the token. It will be displayed on the user account details.\n *\n * @example Your Client App Name\n */\n tokenName?: string;\n /**\n * The SAML Profile ID, when connecting a SAML Profile to a Team member for the first time.\n */\n ssoUserId?: string;\n /**\n * The name of this user's team.\n */\n teamName?: string;\n /**\n * The slug for this user's team.\n */\n teamSlug?: string;\n /**\n * The plan for this user's team (pro or hobby).\n */\n teamPlan?: 'pro' | 'hobby';\n /**\n * Referrer to the session.\n */\n sessionReferrer?: string;\n /**\n * The page on which the user started their session.\n */\n landingPage?: string;\n /**\n * The page that sent the user to the signup page.\n */\n pageBeforeConversionPage?: string;\n utmSource?: string;\n utmMedium?: string;\n utmCampaign?: string;\n utmTerm?: string;\n oppId?: string;\n};\n\nexport type VerifyTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type VerifyTokenResponse = {\n /**\n * The user authentication token that can be used to perform API requests.\n *\n * @example 1ioXyz9Ue4xdCYGROet1dlKd\n */\n token: string;\n /**\n * Email address of the authenticated user.\n *\n * @example amy@example.com\n */\n email: string;\n /**\n * When completing SAML Single Sign-On authentication, this will be the ID of the Team that was authenticated for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string;\n};\n\nexport type VerifyTokenVariables = {\n queryParams: VerifyTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Verify the user accepted the login request and get a authentication token. The user email address and the token received after requesting the login must be added to the URL as a query string with the names `email` and `token`.\n */\nexport const verifyToken = (variables: VerifyTokenVariables, signal?: AbortSignal) =>\n fetch<VerifyTokenResponse, VerifyTokenError, undefined, {}, VerifyTokenQueryParams, {}>({\n url: '/registration/verify',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type EmailLoginError = Fetcher.ErrorWrapper<undefined>;\n\nexport type EmailLoginRequestBody = {\n /**\n * The user email.\n *\n * @example user@mail.com\n */\n email: string;\n /**\n * The desired name for the token. It will be displayed on the user account details.\n *\n * @example Your Client App Name\n */\n tokenName?: string;\n};\n\nexport type EmailLoginVariables = {\n body: EmailLoginRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Request a new login for a user to get a token. This will respond with a verification token and send an email to confirm the request. Once confirmed you can use the verification token to get an authentication token.\n */\nexport const emailLogin = (variables: EmailLoginVariables, signal?: AbortSignal) =>\n fetch<\n | {\n token: string;\n securityCode: string;\n }\n | {\n /**\n * The token used to verify the user accepted the login request\n *\n * @example T1dmvPu36nmyYisXAs7IRzcR\n */\n token: string;\n /**\n * The code the user is going to receive on the email. **Must** be displayed to the user so they can verify the request is the correct.\n *\n * @example Practical Saola\n */\n securityCode: string;\n },\n EmailLoginError,\n EmailLoginRequestBody,\n {},\n {},\n {}\n >({ url: '/registration', method: 'post', ...variables, signal });\n\nexport type DeleteDeploymentPathParams = {\n /**\n * The ID of the deployment to be deleted\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n id: string;\n};\n\nexport type DeleteDeploymentQueryParams = {\n /**\n * A Deployment or Alias URL. In case it is passed, the ID will be ignored\n *\n * @example https://files-orcin-xi.vercel.app/\n */\n url?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteDeploymentResponse = {\n /**\n * The removed deployment ID.\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n uid: string;\n /**\n * A constant with the final state of the deployment.\n */\n state: 'DELETED';\n};\n\nexport type DeleteDeploymentVariables = {\n pathParams: DeleteDeploymentPathParams;\n queryParams?: DeleteDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This API allows you to delete a deployment, either by supplying its `id` in the URL or the `url` of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments.\n */\nexport const deleteDeployment = (variables: DeleteDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n DeleteDeploymentResponse,\n DeleteDeploymentError,\n undefined,\n {},\n DeleteDeploymentQueryParams,\n DeleteDeploymentPathParams\n >({ url: '/v13/deployments/{id}', method: 'delete', ...variables, signal });\n\nexport type GetSecretsQueryParams = {\n /**\n * Filter out secrets based on comma separated secret ids.\n *\n * @example sec_RKc5iV0rV3ZSrFrHiruRno7k,sec_fGc5iV0rV3ZSrFrHiruRnouQ\n * @deprecated true\n */\n id?: string;\n /**\n * Filter out secrets that belong to a project.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n * @deprecated true\n */\n projectId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetSecretsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetSecretsResponse = {\n secrets: {\n /**\n * The date when the secret was created.\n *\n * @format date-time\n * @example 2021-02-10T13:11:49.180Z\n */\n created: string;\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The unique identifier of the team the secret was created for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string | null;\n /**\n * The unique identifier of the secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The unique identifier of the user who created the secret.\n *\n * @example 2qDDuGFTWXBLDNnqZfWPDp1A\n */\n userId?: string;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * Timestamp for when the secret was created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * The unique identifier of the project which the secret belongs to.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n projectId?: string;\n /**\n * Indicates whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetSecretsVariables = {\n queryParams?: GetSecretsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves the active Vercel secrets for the authenticated user or team. By default it returns 20 secrets. The rest can be retrieved using the pagination options. The body will contain an entry for each secret.\n */\nexport const getSecrets = (variables: GetSecretsVariables, signal?: AbortSignal) =>\n fetch<GetSecretsResponse, GetSecretsError, undefined, {}, GetSecretsQueryParams, {}>({\n url: '/v3/secrets',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateSecretQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateSecretResponse = {\n value: {\n type?: 'Buffer';\n data?: number[];\n };\n /**\n * The date when the secret was created.\n *\n * @format date-time\n * @example 2021-02-10T13:11:49.180Z\n */\n created: string;\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The unique identifier of the team the secret was created for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string | null;\n /**\n * The unique identifier of the secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The unique identifier of the user who created the secret.\n *\n * @example 2qDDuGFTWXBLDNnqZfWPDp1A\n */\n userId?: string;\n /**\n * Timestamp for when the secret was created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * The unique identifier of the project which the secret belongs to.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n projectId?: string;\n /**\n * Indicates whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n};\n\nexport type CreateSecretRequestBody = {\n /**\n * The name of the secret (max 100 characters).\n *\n * @example my-api-key\n * @maximum 100\n */\n name: string;\n /**\n * The value of the new secret.\n *\n * @example some secret value\n */\n value: string;\n /**\n * Whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n /**\n * Associate a secret to a project.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n * @deprecated true\n */\n projectId?: string;\n};\n\nexport type CreateSecretVariables = {\n body: CreateSecretRequestBody;\n queryParams?: CreateSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to create a new secret.\n */\nexport const createSecret = (variables: CreateSecretVariables, signal?: AbortSignal) =>\n fetch<CreateSecretResponse, CreateSecretError, CreateSecretRequestBody, {}, CreateSecretQueryParams, {}>({\n url: '/v2/secrets/{name}',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type RenameSecretPathParams = {\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n};\n\nexport type RenameSecretQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RenameSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RenameSecretResponse = {\n uid: string;\n name: string;\n /**\n * @format date-time\n */\n created: string;\n oldName: string;\n};\n\nexport type RenameSecretRequestBody = {\n /**\n * The name of the new secret.\n *\n * @example my-api-key\n * @maximum 100\n */\n name: string;\n};\n\nexport type RenameSecretVariables = {\n body: RenameSecretRequestBody;\n pathParams: RenameSecretPathParams;\n queryParams?: RenameSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Enables to edit the name of a secret. The name has to be unique to the user or team’s secrets.\n */\nexport const renameSecret = (variables: RenameSecretVariables, signal?: AbortSignal) =>\n fetch<\n RenameSecretResponse,\n RenameSecretError,\n RenameSecretRequestBody,\n {},\n RenameSecretQueryParams,\n RenameSecretPathParams\n >({ url: '/v2/secrets/{name}', method: 'patch', ...variables, signal });\n\nexport type GetSecretPathParams = {\n /**\n * The name or the unique identifier to which the secret belongs to.\n *\n * @example sec_RKc5iV0rV3ZSrFrHiruRno7k\n */\n idOrName: string;\n};\n\nexport type GetSecretQueryParams = {\n /**\n * Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.\n *\n * @example true\n */\n decrypt?: 'true' | 'false';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetSecretResponse = {\n /**\n * The date when the secret was created.\n *\n * @format date-time\n * @example 2021-02-10T13:11:49.180Z\n */\n created: string;\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The unique identifier of the team the secret was created for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string | null;\n /**\n * The unique identifier of the secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The unique identifier of the user who created the secret.\n *\n * @example 2qDDuGFTWXBLDNnqZfWPDp1A\n */\n userId?: string;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * Timestamp for when the secret was created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * The unique identifier of the project which the secret belongs to.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n projectId?: string;\n /**\n * Indicates whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n};\n\nexport type GetSecretVariables = {\n pathParams: GetSecretPathParams;\n queryParams?: GetSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves the information for a specific secret by passing either the secret id or name in the URL.\n */\nexport const getSecret = (variables: GetSecretVariables, signal?: AbortSignal) =>\n fetch<GetSecretResponse, GetSecretError, undefined, {}, GetSecretQueryParams, GetSecretPathParams>({\n url: '/v3/secrets/{idOrName}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteSecretPathParams = {\n /**\n * The name or the unique identifier to which the secret belongs to.\n *\n * @example sec_RKc5iV0rV3ZSrFrHiruRno7k\n */\n idOrName: string;\n};\n\nexport type DeleteSecretQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteSecretResponse = {\n /**\n * The unique identifier of the deleted secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The name of the deleted secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The date when the secret was created.\n *\n * @example 2021-02-10T13:11:49.180Z\n */\n created: number;\n};\n\nexport type DeleteSecretVariables = {\n pathParams: DeleteSecretPathParams;\n queryParams?: DeleteSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This deletes the user or team’s secret defined in the URL.\n */\nexport const deleteSecret = (variables: DeleteSecretVariables, signal?: AbortSignal) =>\n fetch<DeleteSecretResponse, DeleteSecretError, undefined, {}, DeleteSecretQueryParams, DeleteSecretPathParams>({\n url: '/v2/secrets/{idOrName}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport const operationsByTag = {\n accessGroups: {\n readAccessGroup,\n updateAccessGroup,\n deleteAccessGroup,\n listAccessGroupMembers,\n listAccessGroups,\n createAccessGroup,\n listAccessGroupProjects\n },\n artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, artifactQuery },\n checks: { createCheck, getAllChecks, getCheck, updateCheck, rerequestCheck },\n projects: {\n updateProjectDataCache,\n getProjects,\n createProject,\n getProject,\n updateProject,\n deleteProject,\n getProjectDomains,\n getProjectDomain,\n updateProjectDomain,\n removeProjectDomain,\n addProjectDomain,\n verifyProjectDomain,\n filterProjectEnvs,\n getProjectEnv,\n createProjectEnv,\n removeProjectEnv,\n editProjectEnv,\n requestPromote,\n listPromoteAliases,\n pauseProject,\n unpauseProject\n },\n deployments: {\n getDeploymentEvents,\n getDeployment,\n createDeployment,\n cancelDeployment,\n uploadFile,\n listDeploymentFiles,\n getDeploymentFileContents,\n getDeployments,\n deleteDeployment\n },\n domains: {\n buyDomain,\n checkDomainPrice,\n checkDomainStatus,\n getDomainTransfer,\n getDomainConfig,\n getDomain,\n getDomains,\n createOrTransferDomain,\n patchDomain,\n deleteDomain\n },\n dns: { getRecords, createRecord, updateRecord, removeRecord },\n edgeConfig: {\n getEdgeConfigs,\n createEdgeConfig,\n getEdgeConfig,\n updateEdgeConfig,\n deleteEdgeConfig,\n getEdgeConfigItems,\n patchEdgeConfigItems,\n getEdgeConfigSchema,\n patchEdgeConfigSchema,\n deleteEdgeConfigSchema,\n getEdgeConfigItem,\n getEdgeConfigTokens,\n deleteEdgeConfigTokens,\n getEdgeConfigToken,\n createEdgeConfigToken\n },\n user: { listUserEvents, getAuthUser, requestDelete },\n integrations: { getConfigurations, getConfiguration, deleteConfiguration, gitNamespaces, searchRepo },\n logDrains: {\n getIntegrationLogDrains,\n createLogDrain,\n deleteIntegrationLogDrain,\n getConfigurableLogDrain,\n deleteConfigurableLogDrain,\n getAllLogDrains,\n createConfigurableLogDrain\n },\n projectMembers: { getProjectMembers, addProjectMember, removeProjectMember },\n teams: {\n getTeamMembers,\n inviteUserToTeam,\n requestAccessToTeam,\n getTeamAccessRequest,\n joinTeam,\n updateTeamMember,\n removeTeamMember,\n getTeam,\n patchTeam,\n getTeams,\n createTeam,\n deleteTeam,\n deleteTeamInviteCode\n },\n authentication: { listAuthTokens, createAuthToken, getAuthToken, deleteAuthToken, verifyToken, emailLogin },\n webhooks: { createWebhook, getWebhooks, getWebhook, deleteWebhook },\n aliases: { listAliases, getAlias, deleteAlias, listDeploymentAliases, assignAlias },\n certs: { getCertById, removeCert, issueCert, uploadCert },\n secrets: { getSecrets, createSecret, renameSecret, getSecret, deleteSecret }\n};\n","export type RequestInit = {\n body?: string | FormData | undefined;\n headers?: Record<string, string> | undefined;\n method?: string | undefined;\n signal?: any | undefined;\n};\n\nexport type Response = {\n ok: boolean;\n status: number;\n url: string;\n json(): Promise<any>;\n text(): Promise<string>;\n headers?:\n | {\n get(name: string): string | null;\n }\n | undefined;\n};\n\n// Typed only the subset of the spec we actually use (to be able to build a simple mock)\nexport type FetchImpl = (url: string, init?: RequestInit | undefined) => Promise<Response>;\n\nexport function formEncoded<T extends Record<string, string>>(data: T): string {\n return Object.entries(data)\n .map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)\n .join('&');\n}\n","import { operationsByTag } from './api/components';\nimport { operationsByPath } from './api/extra';\nimport { FetcherExtraProps, fetch as vercelFetch } from './api/fetcher';\nimport { FetchImpl, formEncoded } from './utils/fetch';\nimport { RequiredKeys } from './utils/types';\n\nexport interface VercelApiOptions {\n token: string | null;\n fetch?: FetchImpl;\n}\n\ntype ApiProxy = {\n [Tag in keyof typeof operationsByTag]: {\n [Method in keyof (typeof operationsByTag)[Tag]]: (typeof operationsByTag)[Tag][Method] extends infer Operation extends (\n ...args: any\n ) => any\n ? Omit<Parameters<Operation>[0], keyof FetcherExtraProps> extends infer Params\n ? RequiredKeys<Params> extends never\n ? (params?: Params) => ReturnType<Operation>\n : (params: Params) => ReturnType<Operation>\n : never\n : never;\n };\n};\n\ntype RequestEndpointParams<T extends keyof typeof operationsByPath> = Omit<\n Parameters<(typeof operationsByPath)[T]>[0],\n keyof FetcherExtraProps\n>;\n\ntype RequestEndpointResult<T extends keyof typeof operationsByPath> = ReturnType<(typeof operationsByPath)[T]>;\n\nexport class VercelApi {\n #token: string | null;\n #fetch: FetchImpl;\n\n constructor(options: VercelApiOptions) {\n this.#token = options.token;\n\n this.#fetch = options.fetch || (fetch as FetchImpl);\n if (!this.#fetch) throw new Error('Fetch is required');\n }\n\n get api() {\n const token = this.#token;\n const fetchImpl = this.#fetch;\n\n return new Proxy(\n {},\n {\n get: (_target, namespace: keyof typeof operationsByTag) => {\n if (operationsByTag[namespace] === undefined) {\n return undefined;\n }\n\n return new Proxy(\n {},\n {\n get: (_target, operation: keyof (typeof operationsByTag)[keyof typeof operationsByTag]) => {\n if (operationsByTag[namespace][operation] === undefined) {\n return undefined;\n }\n\n const method = operationsByTag[namespace][operation] as any;\n\n return async (params: Record<string, unknown>) => {\n return await method({ ...params, token, fetchImpl });\n };\n }\n }\n );\n }\n }\n ) as ApiProxy;\n }\n\n get auth() {\n return {\n accessToken: async ({\n code,\n redirectUri,\n clientId,\n clientSecret\n }: AccessTokenOptions): Promise<AccessTokenResult> => {\n const result: {\n access_token: string;\n token_type: string;\n installation_id: string;\n user_id: string;\n team_id: string | null;\n } = await vercelFetch({\n method: 'POST',\n url: `/v2/oauth/access_token`,\n token: null,\n fetchImpl: this.#fetch,\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n body: formEncoded({ code, redirect_uri: redirectUri, client_id: clientId, client_secret: clientSecret })\n });\n\n return {\n accessToken: result.access_token,\n tokenType: result.token_type,\n installationId: result.installation_id,\n userId: result.user_id,\n teamId: result.team_id\n };\n }\n };\n }\n\n public async request<Endpoint extends keyof typeof operationsByPath>(\n endpoint: Endpoint,\n params: RequestEndpointParams<Endpoint>\n ) {\n const [method = '', url = ''] = endpoint.split(' ');\n const extraParams = (params || {}) as Record<string, unknown>;\n\n const result = await vercelFetch({ ...extraParams, method, url, token: this.#token, fetchImpl: this.#fetch });\n return result as RequestEndpointResult<Endpoint>;\n }\n}\n\ntype AccessTokenOptions = {\n redirectUri: string;\n code: string;\n clientId: string;\n clientSecret: string;\n};\n\ntype AccessTokenResult = {\n accessToken: string;\n tokenType: string;\n installationId: string;\n userId: string;\n teamId: string | null;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,SAAS,SAAY,OAAyC;AAC5D,SAAO,UAAU,QAAQ,UAAU;AACrC;AAEO,SAAS,cAAiB,KAA8D;AAC7F,SAAO,OAAO,YAAY,OAAO,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC,EAAE,KAAK,MAAM,SAAS,KAAK,CAAC,CAAC;AACtF;;;ACEA,IAAM,UAAU;AAchB,eAAsBA,OAOpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAA+E;AAC7E,MAAI;AACF,UAAM,iBAA8B,cAAc;AAAA,MAChD,gBAAgB;AAAA,MAChB,eAAe,QAAQ,UAAU,KAAK,KAAK;AAAA,MAC3C,GAAG;AAAA,IACL,CAAC;AAQD,QAAI,eAAe,cAAc,GAAG,YAAY,EAAE,SAAS,qBAAqB,GAAG;AACjF,aAAO,eAAe,cAAc;AAAA,IACtC;AAEA,UAAM,UACJ,gBAAgB,WACZ,OACA,eAAe,cAAc,MAAM,qBACnC,KAAK,UAAU,IAAI,IAClB;AAEP,UAAM,WAAW,MAAM,UAAU,GAAG,OAAO,GAAG,WAAW,KAAK,aAAa,UAAU,CAAC,IAAI;AAAA,MACxF;AAAA,MACA,QAAQ,OAAO,YAAY;AAAA,MAC3B,MAAM;AAAA,MACN,SAAS;AAAA,IACX,CAAC;AAED,QAAI,CAAC,SAAS,IAAI;AAChB,UAAI;AACJ,UAAI;AACF,gBAAQ,MAAM,SAAS,KAAK;AAAA,MAC9B,SAAS,GAAG;AACV,gBAAQ;AAAA,UACN,QAAQ;AAAA,UACR,SAAS,aAAa,QAAQ,qBAAqB,EAAE,OAAO,MAAM;AAAA,QACpE;AAAA,MACF;AAEA,YAAM;AAAA,IACR;AAEA,QAAI,SAAS,SAAS,IAAI,cAAc,GAAG,SAAS,MAAM,GAAG;AAC3D,aAAO,MAAM,SAAS,KAAK;AAAA,IAC7B,OAAO;AAEL,aAAQ,MAAM,SAAS,KAAK;AAAA,IAC9B;AAAA,EACF,SAAS,GAAG;AACV,QAAI,cAAqB;AAAA,MACvB,MAAM;AAAA,MACN,SAAS,aAAa,QAAQ,kBAAkB,EAAE,OAAO,MAAM;AAAA,MAC/D,OAAO;AAAA,IACT;AACA,UAAM;AAAA,EACR;AACF;AAEA,IAAM,aAAa,CAAC,KAAa,cAAsC,CAAC,GAAG,aAAqC,CAAC,MAAM;AACrH,MAAI,QAAQ,IAAI,gBAAgB,WAAW,EAAE,SAAS;AACtD,MAAI;AAAO,YAAQ,IAAI,KAAK;AAC5B,SAAO,IAAI,QAAQ,YAAY,CAAC,QAAQ,WAAW,IAAI,MAAM,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI;AAChF;;;ACzBO,IAAM,kBAAkB,CAAC,WAAqC,WACnEC,OAOE,EAAE,KAAK,gCAAgC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAgKzE,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OA0IE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA2B1E,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAAmH;AAAA,EACjH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgEI,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA8DjF,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA4DE,EAAE,KAAK,qBAAqB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAwF9D,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAOE,EAAE,KAAK,qBAAqB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA8D/D,IAAM,0BAA0B,CAAC,WAA6C,WACnFA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAqElF,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0BI,IAAM,SAAS,CAAC,WAA4B,WACjDA,OAAyE;AAAA,EACvE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8EI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAOE,EAAE,KAAK,wBAAwB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAmDjE,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,wBAAwB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA6CjE,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA6G;AAAA,EAC3G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAyHI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA8EnF,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqFI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAA+F;AAAA,EAC7F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAoNI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAOE,EAAE,KAAK,mDAAmD,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAsC9F,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAoH;AAAA,EAClH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4tBI,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,uCAAuC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAuLlF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAsC7E,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OA8yBE,EAAE,KAAK,8BAA8B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA0yBvE,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oBAAoB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAgiB9D,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,gCAAgC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAsD3E,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAA6F;AAAA,EAC3F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAiDI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAwCE,EAAE,KAAK,gCAAgC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAqXzE,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAqWE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA2G1E,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAOE,EAAE,KAAK,kCAAkC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAkC7E,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA8G;AAAA,EAC5G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgCI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAyCI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAmDI,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAOE,EAAE,KAAK,+BAA+B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAyIxE,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAAmG;AAAA,EACjG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAiJI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAqF;AAAA,EACnF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkMI,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAyEE,EAAE,KAAK,eAAe,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA4DzD,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAiDE,EAAE,KAAK,wBAAwB,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAoCnE,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA6CI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2DI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,mBAAmB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAkD7D,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAmH;AAAA,EACjH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2DI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,kCAAkC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2B3E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAAgH;AAAA,EAC9G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,qBAAqB,CAAC,WAAwC,WACzEA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAuDjF,IAAM,uBAAuB,CAAC,WAA0C,WAC7EA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AA2BnF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAiClF,IAAM,wBAAwB,CAAC,WAA2C,WAC/EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA2BnF,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA+BrF,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAOE,EAAE,KAAK,2DAA2D,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2BpG,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAgClF,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA4BrF,IAAM,qBAAqB,CAAC,WAAwC,WACzEA,OAOE,EAAE,KAAK,gDAAgD,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAwCzF,IAAM,wBAAwB,CAAC,WAA2C,WAC/EA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAiElF,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuBI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OA8TE,EAAE,KAAK,mCAAmC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAgC5E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA6TE,EAAE,KAAK,uCAAuC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2BhF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,uCAAuC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA0HnF,IAAM,0BAA0B,CAAC,WAA6C,WACnFA,OAOE,EAAE,KAAK,+BAA+B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAiLxE,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiH;AAAA,EAC/G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,4BAA4B,CAAC,WAA+C,WACvFA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAwChF,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA8F;AAAA,EAC5F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAqF;AAAA,EACnF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAwDI,IAAM,0BAA0B,CAAC,WAA6C,WACnFA,OAOE,EAAE,KAAK,uBAAuB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2BhE,IAAM,6BAA6B,CAAC,WAAgD,WACzFA,OAOE,EAAE,KAAK,uBAAuB,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAuDnE,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAAoG;AAAA,EAClG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuGI,IAAM,6BAA6B,CAAC,WAAgD,WACzFA,OAOE,EAAE,KAAK,kBAAkB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAwD5D,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAsFE,EAAE,KAAK,mCAAmC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA4H5E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA6FE,EAAE,KAAK,mCAAmC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA0C7E,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAwvBrF,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAk2BI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA6G;AAAA,EAC3G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgtBI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA26BI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAOE,EAAE,KAAK,2BAA2B,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAgCtE,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4GI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAOE,EAAE,KAAK,mCAAmC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA6D5E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,4CAA4C,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAwFrF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,4CAA4C,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAoCvF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,4CAA4C,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAoFxF,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA+D9E,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,mDAAmD,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAoD7F,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OA2SE,EAAE,KAAK,+BAA+B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAoCxE,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAgME,EAAE,KAAK,oCAAoC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAka7E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA0KE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAsC1E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAoSE,EAAE,KAAK,oCAAoC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAiLhF,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AA4B/E,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkDI,IAAM,qBAAqB,CAAC,WAAwC,WACzEA,OAeE,EAAE,KAAK,4CAA4C,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA8BrF,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAAoG;AAAA,EAClG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAiNI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAmDI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAqCE,EAAE,KAAK,8BAA8B,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA4FxE,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAAyG;AAAA,EACvG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuFI,IAAM,uBAAuB,CAAC,WAA0C,WAC7EA,OAAkH;AAAA,EAChH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA+CI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAAwE;AAAA,EACtE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgEI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAqC/E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA0BhF,IAAM,UAAU,CAAC,WAA6B,WACnDA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkHI,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAAyG;AAAA,EACvG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqCI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAA+E;AAAA,EAC7E,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAk7BI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAA8E;AAAA,EAC5E,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgEI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAmH;AAAA,EACjH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2BI,IAAM,uBAAuB,CAAC,WAA0C,WAC7EA,OAAkH;AAAA,EAChH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAiDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAeE,EAAE,KAAK,aAAa,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAavD,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAoE;AAAA,EAClE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4CI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAuF;AAAA,EACrF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAeI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAA0E;AAAA,EACxE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4CI,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAiBE,EAAE,KAAK,mBAAmB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAwB7D,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA0F;AAAA,EACxF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA6BI,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAAmG;AAAA,EACjG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAmJI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA6G;AAAA,EAC3G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0BI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OA4ME,EAAE,KAAK,gBAAgB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAqGzD,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2BI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0MI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8LI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAA+F;AAAA,EAC7F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAoCI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAA2G;AAAA,EACzG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4FI,IAAM,wBAAwB,CAAC,WAA2C,WAC/EA,OAOE,EAAE,KAAK,gCAAgC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA4EzE,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAOE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAsC1E,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAA2G;AAAA,EACzG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAwG;AAAA,EACtG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAsCI,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAA6F;AAAA,EAC3F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgCI,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,8BAA8B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAsCvE,IAAM,4BAA4B,CAAC,WAA+C,WACvFA,OAOE,EAAE,KAAK,uCAAuC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA4VhF,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkFI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0BI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAwBE,EAAE,KAAK,iBAAiB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAmD3D,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,yBAAyB,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA+FrE,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAqF;AAAA,EACnF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4GI,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAAyG;AAAA,EACvG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqDI,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAOE,EAAE,KAAK,sBAAsB,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AA8FjE,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAAmG;AAAA,EACjG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqDI,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAEI,IAAM,kBAAkB;AAAA,EAC7B,cAAc;AAAA,IACZ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,WAAW,EAAE,cAAc,QAAQ,gBAAgB,kBAAkB,cAAc;AAAA,EACnF,QAAQ,EAAE,aAAa,cAAc,UAAU,aAAa,eAAe;AAAA,EAC3E,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,aAAa;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,SAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,KAAK,EAAE,YAAY,cAAc,cAAc,aAAa;AAAA,EAC5D,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,MAAM,EAAE,gBAAgB,aAAa,cAAc;AAAA,EACnD,cAAc,EAAE,mBAAmB,kBAAkB,qBAAqB,eAAe,WAAW;AAAA,EACpG,WAAW;AAAA,IACT;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,gBAAgB,EAAE,mBAAmB,kBAAkB,oBAAoB;AAAA,EAC3E,OAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,gBAAgB,EAAE,gBAAgB,iBAAiB,cAAc,iBAAiB,aAAa,WAAW;AAAA,EAC1G,UAAU,EAAE,eAAe,aAAa,YAAY,cAAc;AAAA,EAClE,SAAS,EAAE,aAAa,UAAU,aAAa,uBAAuB,YAAY;AAAA,EAClF,OAAO,EAAE,aAAa,YAAY,WAAW,WAAW;AAAA,EACxD,SAAS,EAAE,YAAY,cAAc,cAAc,WAAW,aAAa;AAC7E;;;AClzmBO,SAAS,YAA8C,MAAiB;AAC7E,SAAO,OAAO,QAAQ,IAAI,EACvB,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,GAAG,mBAAmB,GAAG,CAAC,IAAI,mBAAmB,KAAK,CAAC,EAAE,EAC/E,KAAK,GAAG;AACb;;;AC3BA;AAgCO,IAAM,YAAN,MAAgB;AAAA,EAIrB,YAAY,SAA2B;AAHvC;AACA;AAGE,uBAAK,QAAS,QAAQ;AAEtB,uBAAK,QAAS,QAAQ,SAAU;AAChC,QAAI,CAAC,mBAAK;AAAQ,YAAM,IAAI,MAAM,mBAAmB;AAAA,EACvD;AAAA,EAEA,IAAI,MAAM;AACR,UAAM,QAAQ,mBAAK;AACnB,UAAM,YAAY,mBAAK;AAEvB,WAAO,IAAI;AAAA,MACT,CAAC;AAAA,MACD;AAAA,QACE,KAAK,CAAC,SAAS,cAA4C;AACzD,cAAI,gBAAgB,SAAS,MAAM,QAAW;AAC5C,mBAAO;AAAA,UACT;AAEA,iBAAO,IAAI;AAAA,YACT,CAAC;AAAA,YACD;AAAA,cACE,KAAK,CAACC,UAAS,cAA4E;AACzF,oBAAI,gBAAgB,SAAS,EAAE,SAAS,MAAM,QAAW;AACvD,yBAAO;AAAA,gBACT;AAEA,sBAAM,SAAS,gBAAgB,SAAS,EAAE,SAAS;AAEnD,uBAAO,OAAO,WAAoC;AAChD,yBAAO,MAAM,OAAO,EAAE,GAAG,QAAQ,OAAO,UAAU,CAAC;AAAA,gBACrD;AAAA,cACF;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,IAAI,OAAO;AACT,WAAO;AAAA,MACL,aAAa,OAAO;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,MAAsD;AACpD,cAAM,SAMF,MAAMC,OAAY;AAAA,UACpB,QAAQ;AAAA,UACR,KAAK;AAAA,UACL,OAAO;AAAA,UACP,WAAW,mBAAK;AAAA,UAChB,SAAS,EAAE,gBAAgB,oCAAoC;AAAA,UAC/D,MAAM,YAAY,EAAE,MAAM,cAAc,aAAa,WAAW,UAAU,eAAe,aAAa,CAAC;AAAA,QACzG,CAAC;AAED,eAAO;AAAA,UACL,aAAa,OAAO;AAAA,UACpB,WAAW,OAAO;AAAA,UAClB,gBAAgB,OAAO;AAAA,UACvB,QAAQ,OAAO;AAAA,UACf,QAAQ,OAAO;AAAA,QACjB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,MAAa,QACX,UACA,QACA;AACA,UAAM,CAAC,SAAS,IAAI,MAAM,EAAE,IAAI,SAAS,MAAM,GAAG;AAClD,UAAM,cAAe,UAAU,CAAC;AAEhC,UAAM,SAAS,MAAMA,OAAY,EAAE,GAAG,aAAa,QAAQ,KAAK,OAAO,mBAAK,SAAQ,WAAW,mBAAK,QAAO,CAAC;AAC5G,WAAO;AAAA,EACT;AACF;AAvFE;AACA;","names":["fetch","fetch","_target","fetch"]}
|
|
1
|
+
{"version":3,"sources":["../src/utils/lang.ts","../src/api/fetcher.ts","../src/api/components.ts","../src/utils/fetch.ts","../src/client.ts"],"sourcesContent":["function notEmpty<T>(value: T | null | undefined): value is T {\n return value !== null && value !== undefined;\n}\n\nexport function compactObject<T>(obj: Record<string, T | null | undefined>): Record<string, T> {\n return Object.fromEntries(Object.entries(obj).filter(([, value]) => notEmpty(value))) as Record<string, T>;\n}\n","import { FetchImpl } from '../utils/fetch';\nimport { compactObject } from '../utils/lang';\n\nexport type FetcherExtraProps = {\n token: string | null;\n fetchImpl: FetchImpl;\n};\n\nconst baseUrl = 'https://api.vercel.com';\n\nexport type ErrorWrapper<TError> = TError | { status: 'unknown'; payload: string };\n\nexport type FetcherOptions<TBody, THeaders, TQueryParams, TPathParams> = {\n url: string;\n method: string;\n body?: TBody | undefined;\n headers?: THeaders | undefined;\n queryParams?: TQueryParams | undefined;\n pathParams?: TPathParams | undefined;\n signal?: AbortSignal | undefined;\n} & FetcherExtraProps;\n\nexport async function fetch<\n TData,\n TError,\n TBody extends {} | FormData | undefined | null,\n THeaders extends {},\n TQueryParams extends {},\n TPathParams extends {}\n>({\n url,\n method,\n body,\n headers,\n pathParams,\n queryParams,\n signal,\n token,\n fetchImpl\n}: FetcherOptions<TBody, THeaders, TQueryParams, TPathParams>): Promise<TData> {\n try {\n const requestHeaders: HeadersInit = compactObject({\n 'Content-Type': 'application/json',\n Authorization: token ? `Bearer ${token}` : undefined,\n ...headers\n });\n\n /**\n * As the fetch API is being used, when multipart/form-data is specified\n * the Content-Type header must be deleted so that the browser can set\n * the correct boundary.\n * https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects#sending_files_using_a_formdata_object\n */\n if (requestHeaders['Content-Type']?.toLowerCase().includes('multipart/form-data')) {\n delete requestHeaders['Content-Type'];\n }\n\n const payload =\n body instanceof FormData\n ? body\n : requestHeaders['Content-Type'] === 'application/json'\n ? JSON.stringify(body)\n : (body as string);\n\n const response = await fetchImpl(`${baseUrl}${resolveUrl(url, queryParams, pathParams)}`, {\n signal,\n method: method.toUpperCase(),\n body: payload,\n headers: requestHeaders\n });\n\n if (!response.ok) {\n let error: ErrorWrapper<TError>;\n try {\n error = await response.json();\n } catch (e) {\n error = {\n status: 'unknown' as const,\n payload: e instanceof Error ? `Unexpected error (${e.message})` : 'Unexpected error'\n };\n }\n\n throw error;\n }\n\n if (response.headers?.get('content-type')?.includes('json')) {\n return await response.json();\n } else {\n // if it is not a json response, assume it is a blob and cast it to TData\n return (await response.text()) as unknown as TData;\n }\n } catch (e) {\n let errorObject: Error = {\n name: 'unknown' as const,\n message: e instanceof Error ? `Network error (${e.message})` : 'Network error',\n stack: e as string\n };\n throw errorObject;\n }\n}\n\nconst resolveUrl = (url: string, queryParams: Record<string, string> = {}, pathParams: Record<string, string> = {}) => {\n let query = new URLSearchParams(queryParams).toString();\n if (query) query = `?${query}`;\n return url.replace(/\\{\\w*\\}/g, (key) => pathParams[key.slice(1, -1)] ?? '') + query;\n};\n","/**\n * Generated by @openapi-codegen\n *\n * @version 0.0.1\n */\nimport type * as Fetcher from './fetcher';\nimport { fetch, FetcherExtraProps } from './fetcher';\nimport type * as Schemas from './schemas';\n\nexport type ReadAccessGroupPathParams = {\n idOrName: string;\n};\n\nexport type ReadAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ReadAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ReadAccessGroupResponse = {\n isDsyncManaged: boolean;\n /**\n * The name of this access group.\n *\n * @example my-access-group\n */\n name: string;\n /**\n * Timestamp in milliseconds when the access group was created.\n *\n * @example 1588720733602\n */\n createdAt: string;\n /**\n * ID of the team that this access group belongs to.\n *\n * @example team_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n teamId: string;\n /**\n * Timestamp in milliseconds when the access group was last updated.\n *\n * @example 1588720733602\n */\n updatedAt: string;\n /**\n * ID of the access group.\n *\n * @example ag_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n accessGroupId: string;\n /**\n * Number of members in the access group.\n *\n * @example 5\n */\n membersCount: number;\n /**\n * Number of projects in the access group.\n *\n * @example 2\n */\n projectsCount: number;\n};\n\nexport type ReadAccessGroupVariables = {\n pathParams: ReadAccessGroupPathParams;\n queryParams?: ReadAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to read an access group\n */\nexport const readAccessGroup = (variables: ReadAccessGroupVariables, signal?: AbortSignal) =>\n fetch<\n ReadAccessGroupResponse,\n ReadAccessGroupError,\n undefined,\n {},\n ReadAccessGroupQueryParams,\n ReadAccessGroupPathParams\n >({ url: '/v1/access-groups/{idOrName}', method: 'get', ...variables, signal });\n\nexport type UpdateAccessGroupPathParams = {\n idOrName: string;\n};\n\nexport type UpdateAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateAccessGroupRequestBody = {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name?: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n /**\n * List of members to remove from the access group.\n */\n membersToRemove?: string[];\n};\n\nexport type UpdateAccessGroupVariables = {\n body?: UpdateAccessGroupRequestBody;\n pathParams: UpdateAccessGroupPathParams;\n queryParams?: UpdateAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to update an access group metadata\n */\nexport const updateAccessGroup = (variables: UpdateAccessGroupVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.AccessGroup,\n UpdateAccessGroupError,\n UpdateAccessGroupRequestBody,\n {},\n UpdateAccessGroupQueryParams,\n UpdateAccessGroupPathParams\n >({ url: '/v1/access-groups/{idOrName}', method: 'post', ...variables, signal });\n\nexport type DeleteAccessGroupPathParams = {\n idOrName: string;\n};\n\nexport type DeleteAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteAccessGroupVariables = {\n pathParams: DeleteAccessGroupPathParams;\n queryParams?: DeleteAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to delete an access group\n */\nexport const deleteAccessGroup = (variables: DeleteAccessGroupVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteAccessGroupError, undefined, {}, DeleteAccessGroupQueryParams, DeleteAccessGroupPathParams>({\n url: '/v1/access-groups/{idOrName}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListAccessGroupMembersPathParams = {\n /**\n * The ID or name of the Access Group.\n *\n * @example ag_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type ListAccessGroupMembersQueryParams = {\n /**\n * Limit how many access group members should be returned.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Continuation cursor to retrieve the next page of results.\n */\n next?: string;\n /**\n * Search project members by their name, username, and email.\n */\n search?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAccessGroupMembersError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAccessGroupMembersResponse = {\n members: {\n avatar?: string;\n email: string;\n uid: string;\n username: string;\n name?: string;\n createdAt?: string;\n teamRole: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n }[];\n pagination: {\n count: number;\n next: string | null;\n };\n};\n\nexport type ListAccessGroupMembersVariables = {\n pathParams: ListAccessGroupMembersPathParams;\n queryParams?: ListAccessGroupMembersQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List members of an access group\n */\nexport const listAccessGroupMembers = (variables: ListAccessGroupMembersVariables, signal?: AbortSignal) =>\n fetch<\n ListAccessGroupMembersResponse,\n ListAccessGroupMembersError,\n undefined,\n {},\n ListAccessGroupMembersQueryParams,\n ListAccessGroupMembersPathParams\n >({ url: '/v1/access-groups/{idOrName}/members', method: 'get', ...variables, signal });\n\nexport type ListAccessGroupsQueryParams = {\n /**\n * Filter access groups by project.\n *\n * @example prj_pavWOn1iLObbx3RowVvzmPrTWyTf\n */\n projectId?: string;\n /**\n * Search for access groups by name.\n *\n * @example example\n */\n search?: string;\n /**\n * Number of members to include in the response.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n membersLimit?: number;\n /**\n * Number of projects to include in the response.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n projectsLimit?: number;\n /**\n * Limit how many access group should be returned.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Continuation cursor to retrieve the next page of results.\n */\n next?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAccessGroupsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAccessGroupsVariables = {\n queryParams?: ListAccessGroupsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List access groups\n */\nexport const listAccessGroups = (variables: ListAccessGroupsVariables, signal?: AbortSignal) =>\n fetch<\n | Record<string, any>\n | {\n accessGroups: {\n members?: string[];\n projects?: string[];\n isDsyncManaged: boolean;\n /**\n * The name of this access group.\n *\n * @example my-access-group\n */\n name: string;\n /**\n * Timestamp in milliseconds when the access group was created.\n *\n * @example 1588720733602\n */\n createdAt: string;\n /**\n * ID of the team that this access group belongs to.\n *\n * @example team_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n teamId: string;\n /**\n * Timestamp in milliseconds when the access group was last updated.\n *\n * @example 1588720733602\n */\n updatedAt: string;\n /**\n * ID of the access group.\n *\n * @example ag_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n accessGroupId: string;\n /**\n * Number of members in the access group.\n *\n * @example 5\n */\n membersCount: number;\n /**\n * Number of projects in the access group.\n *\n * @example 2\n */\n projectsCount: number;\n }[];\n pagination: {\n count: number;\n next: string | null;\n };\n },\n ListAccessGroupsError,\n undefined,\n {},\n ListAccessGroupsQueryParams,\n {}\n >({ url: '/v1/access-groups', method: 'get', ...variables, signal });\n\nexport type CreateAccessGroupQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateAccessGroupError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateAccessGroupResponse = {\n membersCount: number;\n projectsCount: number;\n /**\n * The name of this access group.\n *\n * @example my-access-group\n */\n name: string;\n /**\n * Timestamp in milliseconds when the access group was created.\n *\n * @example 1588720733602\n */\n createdAt: string;\n /**\n * ID of the team that this access group belongs to.\n *\n * @example team_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n teamId: string;\n /**\n * Timestamp in milliseconds when the access group was last updated.\n *\n * @example 1588720733602\n */\n updatedAt: string;\n /**\n * ID of the access group.\n *\n * @example ag_123a6c5209bc3778245d011443644c8d27dc2c50\n */\n accessGroupId: string;\n};\n\nexport type CreateAccessGroupRequestBody = {\n /**\n * The name of the access group\n *\n * @maxLength 50\n * @pattern ^[A-z0-9_ -]+$\n * @example My access group\n */\n name: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role that will be added to this Access Group. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | null;\n }[];\n /**\n * List of members to add to the access group.\n */\n membersToAdd?: string[];\n};\n\nexport type CreateAccessGroupVariables = {\n body: CreateAccessGroupRequestBody;\n queryParams?: CreateAccessGroupQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to create an access group\n */\nexport const createAccessGroup = (variables: CreateAccessGroupVariables, signal?: AbortSignal) =>\n fetch<\n CreateAccessGroupResponse,\n CreateAccessGroupError,\n CreateAccessGroupRequestBody,\n {},\n CreateAccessGroupQueryParams,\n {}\n >({ url: '/v1/access-groups', method: 'post', ...variables, signal });\n\nexport type ListAccessGroupProjectsPathParams = {\n /**\n * The ID or name of the Access Group.\n *\n * @example ag_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type ListAccessGroupProjectsQueryParams = {\n /**\n * Limit how many access group projects should be returned.\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Continuation cursor to retrieve the next page of results.\n */\n next?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAccessGroupProjectsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAccessGroupProjectsResponse = {\n projects: {\n projectId: string;\n role: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n createdAt: string;\n updatedAt: string;\n project: {\n name?: string;\n framework?: string | null;\n latestDeploymentId?: string;\n };\n }[];\n pagination: {\n count: number;\n next: string | null;\n };\n};\n\nexport type ListAccessGroupProjectsVariables = {\n pathParams: ListAccessGroupProjectsPathParams;\n queryParams?: ListAccessGroupProjectsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List projects of an access group\n */\nexport const listAccessGroupProjects = (variables: ListAccessGroupProjectsVariables, signal?: AbortSignal) =>\n fetch<\n ListAccessGroupProjectsResponse,\n ListAccessGroupProjectsError,\n undefined,\n {},\n ListAccessGroupProjectsQueryParams,\n ListAccessGroupProjectsPathParams\n >({ url: '/v1/access-groups/{idOrName}/projects', method: 'get', ...variables, signal });\n\nexport type RecordEventsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RecordEventsHeaders = {\n /**\n * The continuous integration or delivery environment where this artifact is downloaded.\n *\n * @example VERCEL\n * @maxLength 50\n */\n ['x-artifact-client-ci']?: string;\n /**\n * 1 if the client is an interactive shell. Otherwise 0\n *\n * @example 0\n * @minimum 0\n * @maximum 1\n */\n ['x-artifact-client-interactive']?: number;\n};\n\nexport type RecordEventsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RecordEventsRequestBody = {\n /**\n * A UUID (universally unique identifer) for the session that generated this event.\n */\n sessionId: string;\n /**\n * One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache.\n */\n source: 'LOCAL' | 'REMOTE';\n /**\n * One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found.\n */\n event: 'HIT' | 'MISS';\n /**\n * The artifact hash\n *\n * @example 12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n hash: string;\n /**\n * The time taken to generate the artifact. This should be sent as a body parameter on `HIT` events.\n *\n * @example 400\n */\n duration?: number;\n}[];\n\nexport type RecordEventsVariables = {\n body?: RecordEventsRequestBody;\n headers?: RecordEventsHeaders;\n queryParams?: RecordEventsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are `HIT` and `MISS`. The source is either `LOCAL` the cache event was on the users filesystem cache or `REMOTE` if the cache event is for a remote cache. When the event is a `HIT` the request also accepts a number `duration` which is the time taken to generate the artifact in the cache.\n */\nexport const recordEvents = (variables: RecordEventsVariables, signal?: AbortSignal) =>\n fetch<undefined, RecordEventsError, RecordEventsRequestBody, RecordEventsHeaders, RecordEventsQueryParams, {}>({\n url: '/v8/artifacts/events',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type StatusQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type StatusError = Fetcher.ErrorWrapper<undefined>;\n\nexport type StatusResponse = {\n status: 'disabled' | 'enabled' | 'over_limit' | 'paused';\n};\n\nexport type StatusVariables = {\n queryParams?: StatusQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits.\n */\nexport const status = (variables: StatusVariables, signal?: AbortSignal) =>\n fetch<StatusResponse, StatusError, undefined, {}, StatusQueryParams, {}>({\n url: '/v8/artifacts/status',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UploadArtifactPathParams = {\n /**\n * The artifact hash\n *\n * @example 12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n hash: string;\n};\n\nexport type UploadArtifactQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UploadArtifactHeaders = {\n /**\n * The artifact size in bytes\n */\n ['Content-Length']: number;\n /**\n * The time taken to generate the uploaded artifact in milliseconds.\n *\n * @example 400\n */\n ['x-artifact-duration']?: number;\n /**\n * The continuous integration or delivery environment where this artifact was generated.\n *\n * @example VERCEL\n * @maxLength 50\n */\n ['x-artifact-client-ci']?: string;\n /**\n * 1 if the client is an interactive shell. Otherwise 0\n *\n * @example 0\n * @minimum 0\n * @maximum 1\n */\n ['x-artifact-client-interactive']?: number;\n /**\n * The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag`\n *\n * @example Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=\n * @maxLength 600\n */\n ['x-artifact-tag']?: string;\n};\n\nexport type UploadArtifactError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UploadArtifactResponse = {\n /**\n * Array of URLs where the artifact was updated\n *\n * @example https://api.vercel.com/v2/now/artifact/12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n urls: string[];\n};\n\nexport type UploadArtifactVariables = {\n body?: Blob;\n headers: UploadArtifactHeaders;\n pathParams: UploadArtifactPathParams;\n queryParams?: UploadArtifactQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.\n */\nexport const uploadArtifact = (variables: UploadArtifactVariables, signal?: AbortSignal) =>\n fetch<\n UploadArtifactResponse,\n UploadArtifactError,\n Blob,\n UploadArtifactHeaders,\n UploadArtifactQueryParams,\n UploadArtifactPathParams\n >({ url: '/v8/artifacts/{hash}', method: 'put', ...variables, signal });\n\nexport type DownloadArtifactPathParams = {\n /**\n * The artifact hash\n *\n * @example 12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n hash: string;\n};\n\nexport type DownloadArtifactQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DownloadArtifactHeaders = {\n /**\n * The continuous integration or delivery environment where this artifact is downloaded.\n *\n * @example VERCEL\n * @maxLength 50\n */\n ['x-artifact-client-ci']?: string;\n /**\n * 1 if the client is an interactive shell. Otherwise 0\n *\n * @example 0\n * @minimum 0\n * @maximum 1\n */\n ['x-artifact-client-interactive']?: number;\n};\n\nexport type DownloadArtifactError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DownloadArtifactVariables = {\n headers?: DownloadArtifactHeaders;\n pathParams: DownloadArtifactPathParams;\n queryParams?: DownloadArtifactQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body.\n */\nexport const downloadArtifact = (variables: DownloadArtifactVariables, signal?: AbortSignal) =>\n fetch<\n Blob,\n DownloadArtifactError,\n undefined,\n DownloadArtifactHeaders,\n DownloadArtifactQueryParams,\n DownloadArtifactPathParams\n >({ url: '/v8/artifacts/{hash}', method: 'get', ...variables, signal });\n\nexport type ArtifactQueryQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ArtifactQueryError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ArtifactQueryResponse = {\n [key: string]:\n | {\n size: number;\n taskDurationMs: number;\n tag?: string;\n }\n | {\n error: {\n message: string;\n };\n }\n | null;\n};\n\nexport type ArtifactQueryRequestBody = {\n /**\n * artifact hashes\n */\n hashes: string[];\n};\n\nexport type ArtifactQueryVariables = {\n body: ArtifactQueryRequestBody;\n queryParams?: ArtifactQueryQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Query information about an array of artifacts.\n */\nexport const artifactQuery = (variables: ArtifactQueryVariables, signal?: AbortSignal) =>\n fetch<ArtifactQueryResponse, ArtifactQueryError, ArtifactQueryRequestBody, {}, ArtifactQueryQueryParams, {}>({\n url: '/v8/artifacts',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type CreateCheckPathParams = {\n /**\n * The deployment to create the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n};\n\nexport type CreateCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateCheckResponse = {\n id: string;\n name: string;\n path?: string;\n status: 'registered' | 'running' | 'completed';\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n blocking: boolean;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n detailsUrl?: string;\n integrationId: string;\n deploymentId: string;\n externalId?: string;\n createdAt: number;\n updatedAt: number;\n startedAt?: number;\n completedAt?: number;\n rerequestable?: boolean;\n};\n\nexport type CreateCheckRequestBody = {\n /**\n * The name of the check being created\n *\n * @maxLength 100\n * @example Performance Check\n */\n name: string;\n /**\n * Path of the page that is being checked\n *\n * @maxLength 255\n * @example /\n */\n path?: string;\n /**\n * Whether the check should block a deployment from succeeding\n *\n * @example true\n */\n blocking: boolean;\n /**\n * URL to display for further details\n *\n * @example http://example.com\n */\n detailsUrl?: string;\n /**\n * An identifier that can be used as an external reference\n *\n * @example 1234abc\n */\n externalId?: string;\n /**\n * Whether a user should be able to request for the check to be rerun if it fails\n *\n * @example true\n */\n rerequestable?: boolean;\n};\n\nexport type CreateCheckVariables = {\n body: CreateCheckRequestBody;\n pathParams: CreateCheckPathParams;\n queryParams?: CreateCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error.\n */\nexport const createCheck = (variables: CreateCheckVariables, signal?: AbortSignal) =>\n fetch<\n CreateCheckResponse,\n CreateCheckError,\n CreateCheckRequestBody,\n {},\n CreateCheckQueryParams,\n CreateCheckPathParams\n >({ url: '/v1/deployments/{deploymentId}/checks', method: 'post', ...variables, signal });\n\nexport type GetAllChecksPathParams = {\n /**\n * The deployment to get all checks for\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n};\n\nexport type GetAllChecksQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetAllChecksError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAllChecksResponse = {\n checks: {\n completedAt?: number;\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n createdAt: number;\n detailsUrl?: string;\n id: string;\n integrationId: string;\n name: string;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n path?: string;\n rerequestable: boolean;\n startedAt?: number;\n status: 'registered' | 'running' | 'completed';\n updatedAt: number;\n }[];\n};\n\nexport type GetAllChecksVariables = {\n pathParams: GetAllChecksPathParams;\n queryParams?: GetAllChecksQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List all of the checks created for a deployment.\n */\nexport const getAllChecks = (variables: GetAllChecksVariables, signal?: AbortSignal) =>\n fetch<GetAllChecksResponse, GetAllChecksError, undefined, {}, GetAllChecksQueryParams, GetAllChecksPathParams>({\n url: '/v1/deployments/{deploymentId}/checks',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetCheckPathParams = {\n /**\n * The deployment to get the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n /**\n * The check to fetch\n *\n * @example check_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n checkId: string;\n};\n\nexport type GetCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetCheckResponse = {\n id: string;\n name: string;\n path?: string;\n status: 'registered' | 'running' | 'completed';\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n blocking: boolean;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n detailsUrl?: string;\n integrationId: string;\n deploymentId: string;\n externalId?: string;\n createdAt: number;\n updatedAt: number;\n startedAt?: number;\n completedAt?: number;\n rerequestable?: boolean;\n};\n\nexport type GetCheckVariables = {\n pathParams: GetCheckPathParams;\n queryParams?: GetCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Return a detailed response for a single check.\n */\nexport const getCheck = (variables: GetCheckVariables, signal?: AbortSignal) =>\n fetch<GetCheckResponse, GetCheckError, undefined, {}, GetCheckQueryParams, GetCheckPathParams>({\n url: '/v1/deployments/{deploymentId}/checks/{checkId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UpdateCheckPathParams = {\n /**\n * The deployment to update the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n /**\n * The check being updated\n *\n * @example check_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n checkId: string;\n};\n\nexport type UpdateCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateCheckResponse = {\n id: string;\n name: string;\n path?: string;\n status: 'registered' | 'running' | 'completed';\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';\n blocking: boolean;\n output?: {\n metrics?: {\n FCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n value: number | null;\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n detailsUrl?: string;\n integrationId: string;\n deploymentId: string;\n externalId?: string;\n createdAt: number;\n updatedAt: number;\n startedAt?: number;\n completedAt?: number;\n rerequestable?: boolean;\n};\n\nexport type UpdateCheckRequestBody = {\n /**\n * The name of the check being created\n *\n * @maxLength 100\n * @example Performance Check\n */\n name?: string;\n /**\n * Path of the page that is being checked\n *\n * @maxLength 255\n * @example /\n */\n path?: string;\n /**\n * The current status of the check\n */\n status?: 'running' | 'completed';\n /**\n * The result of the check being run\n */\n conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped';\n /**\n * A URL a user may visit to see more information about the check\n *\n * @example https://example.com/check/run/1234abc\n */\n detailsUrl?: string;\n /**\n * The results of the check Run\n */\n output?: {\n /**\n * Metrics about the page\n */\n metrics?: {\n FCP: {\n /**\n * First Contentful Paint value\n *\n * @example 1200\n */\n value: number | null;\n /**\n * Previous First Contentful Paint value to display a delta\n *\n * @example 900\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n LCP: {\n /**\n * Largest Contentful Paint value\n *\n * @example 1200\n */\n value: number | null;\n /**\n * Previous Largest Contentful Paint value to display a delta\n *\n * @example 1000\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n CLS: {\n /**\n * Cumulative Layout Shift value\n *\n * @example 4\n */\n value: number | null;\n /**\n * Previous Cumulative Layout Shift value to display a delta\n *\n * @example 2\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n TBT: {\n /**\n * Total Blocking Time value\n *\n * @example 3000\n */\n value: number | null;\n /**\n * Previous Total Blocking Time value to display a delta\n *\n * @example 3500\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n virtualExperienceScore?: {\n /**\n * The calculated Virtual Experience Score value, between 0 and 100\n *\n * @maximum 100\n * @minimum 0\n * @example 30\n */\n value: number | null;\n /**\n * A previous Virtual Experience Score value to display a delta, between 0 and 100\n *\n * @maximum 100\n * @minimum 0\n * @example 35\n */\n previousValue?: number;\n source: 'web-vitals';\n };\n };\n };\n /**\n * An identifier that can be used as an external reference\n *\n * @example 1234abc\n */\n externalId?: string;\n};\n\nexport type UpdateCheckVariables = {\n body?: UpdateCheckRequestBody;\n pathParams: UpdateCheckPathParams;\n queryParams?: UpdateCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error.\n */\nexport const updateCheck = (variables: UpdateCheckVariables, signal?: AbortSignal) =>\n fetch<\n UpdateCheckResponse,\n UpdateCheckError,\n UpdateCheckRequestBody,\n {},\n UpdateCheckQueryParams,\n UpdateCheckPathParams\n >({ url: '/v1/deployments/{deploymentId}/checks/{checkId}', method: 'patch', ...variables, signal });\n\nexport type RerequestCheckPathParams = {\n /**\n * The deployment to rerun the check for.\n *\n * @example dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n deploymentId: string;\n /**\n * The check to rerun\n *\n * @example check_2qn7PZrx89yxY34vEZPD31Y9XVj6\n */\n checkId: string;\n};\n\nexport type RerequestCheckQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RerequestCheckError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RerequestCheckVariables = {\n pathParams: RerequestCheckPathParams;\n queryParams?: RerequestCheckQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Rerequest a selected check that has failed.\n */\nexport const rerequestCheck = (variables: RerequestCheckVariables, signal?: AbortSignal) =>\n fetch<Record<string, any>, RerequestCheckError, undefined, {}, RerequestCheckQueryParams, RerequestCheckPathParams>({\n url: '/v1/deployments/{deploymentId}/checks/{checkId}/rerequest',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UpdateProjectDataCachePathParams = {\n /**\n * The unique project identifier\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId: string;\n};\n\nexport type UpdateProjectDataCacheQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateProjectDataCacheError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateProjectDataCacheResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type UpdateProjectDataCacheRequestBody = {\n /**\n * Enable or disable data cache for the project - default: false\n *\n * @example true\n */\n disabled?: boolean;\n};\n\nexport type UpdateProjectDataCacheVariables = {\n body?: UpdateProjectDataCacheRequestBody;\n pathParams: UpdateProjectDataCachePathParams;\n queryParams?: UpdateProjectDataCacheQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update the data cache feature on a project.\n */\nexport const updateProjectDataCache = (variables: UpdateProjectDataCacheVariables, signal?: AbortSignal) =>\n fetch<\n UpdateProjectDataCacheResponse,\n UpdateProjectDataCacheError,\n UpdateProjectDataCacheRequestBody,\n {},\n UpdateProjectDataCacheQueryParams,\n UpdateProjectDataCachePathParams\n >({ url: '/v1/data-cache/projects/{projectId}', method: 'patch', ...variables, signal });\n\nexport type GetDeploymentEventsPathParams = {\n /**\n * The unique identifier or hostname of the deployment.\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n idOrUrl: string;\n};\n\nexport type GetDeploymentEventsQueryParams = {\n /**\n * Order of the returned events based on the timestamp.\n *\n * @default forward\n * @example backward\n */\n direction?: 'backward' | 'forward';\n /**\n * When enabled, this endpoint will return live events as they happen.\n *\n * @example 1\n */\n follow?: 0 | 1;\n /**\n * Maximum number of events to return. Provide `-1` to return all available logs.\n *\n * @example 100\n */\n limit?: number;\n /**\n * Deployment build ID.\n *\n * @example bld_cotnkcr76\n */\n name?: string;\n /**\n * Timestamp for when build logs should be pulled from.\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Timestamp for when the build logs should be pulled up until.\n *\n * @example 1540106318643\n */\n until?: number;\n /**\n * HTTP status code range to filter events by.\n *\n * @example 5xx\n */\n statusCode?: number | string;\n /**\n * @example 1\n */\n delimiter?: 0 | 1;\n /**\n * @example 1\n */\n builds?: 0 | 1;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentEventsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentEventsResponse = (\n | {\n created: number;\n date: number;\n deploymentId: string;\n id: string;\n info: {\n type: string;\n name: string;\n entrypoint?: string;\n path?: string;\n step?: string;\n readyState?: string;\n };\n proxy?: {\n timestamp: number;\n method: string;\n host: string;\n path: string;\n statusCode?: number;\n userAgent: string[];\n referer: string;\n clientIp: string;\n region: string;\n scheme?: string;\n responseByteSize?: number;\n cacheId?: string;\n pathType?: string;\n vercelId?: string;\n vercelCache?: 'MISS' | 'HIT' | 'STALE' | 'BYPASS' | 'PRERENDER' | 'REVALIDATED';\n lambdaRegion?: string;\n };\n requestId?: string;\n serial: string;\n statusCode?: number;\n text?: string;\n type:\n | 'command'\n | 'stdout'\n | 'stderr'\n | 'exit'\n | 'deployment-state'\n | 'delimiter'\n | 'middleware'\n | 'middleware-invocation'\n | 'edge-function-invocation'\n | 'fatal';\n }\n | {\n type:\n | 'command'\n | 'stdout'\n | 'stderr'\n | 'exit'\n | 'deployment-state'\n | 'delimiter'\n | 'middleware'\n | 'middleware-invocation'\n | 'edge-function-invocation'\n | 'fatal';\n created: number;\n payload: {\n deploymentId: string;\n info?: {\n type: string;\n name: string;\n entrypoint?: string;\n path?: string;\n step?: string;\n readyState?: string;\n };\n text?: string;\n id: string;\n date: number;\n serial: string;\n created?: number;\n statusCode?: number;\n requestId?: string;\n proxy?: {\n timestamp: number;\n method: string;\n host: string;\n path: string;\n statusCode?: number;\n userAgent: string[];\n referer: string;\n clientIp: string;\n region: string;\n scheme?: string;\n responseByteSize?: number;\n cacheId?: string;\n pathType?: string;\n vercelId?: string;\n vercelCache?: 'MISS' | 'HIT' | 'STALE' | 'BYPASS' | 'PRERENDER' | 'REVALIDATED';\n lambdaRegion?: string;\n };\n };\n }\n)[];\n\nexport type GetDeploymentEventsVariables = {\n pathParams: GetDeploymentEventsPathParams;\n queryParams?: GetDeploymentEventsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters.\n */\nexport const getDeploymentEvents = (variables: GetDeploymentEventsVariables, signal?: AbortSignal) =>\n fetch<\n GetDeploymentEventsResponse,\n GetDeploymentEventsError,\n undefined,\n {},\n GetDeploymentEventsQueryParams,\n GetDeploymentEventsPathParams\n >({ url: '/v2/deployments/{idOrUrl}/events', method: 'get', ...variables, signal });\n\nexport type GetDeploymentPathParams = {\n /**\n * The unique identifier or hostname of the deployment.\n *\n * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ\n */\n idOrUrl: string;\n};\n\nexport type GetDeploymentQueryParams = {\n /**\n * Whether to add in gitRepo information.\n *\n * @example true\n */\n withGitRepoInfo?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentVariables = {\n pathParams: GetDeploymentPathParams;\n queryParams?: GetDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves information for a deployment either by supplying its ID (`id` property) or Hostname (`url` property). Additional details will be included when the authenticated user or team is an owner of the deployment.\n */\nexport const getDeployment = (variables: GetDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n | {\n aliasAssignedAt?: number | boolean | null;\n alwaysRefuseToBuild?: boolean;\n build: {\n env: string[];\n };\n builds?: Record<string, any>[];\n env: string[];\n inspectorUrl: string | null;\n isInConcurrentBuildsQueue: boolean;\n projectSettings: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n readyStateReason?: string;\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n team?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'startsWith' | 'equals' | 'endsWith';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n type: 'LAMBDAS';\n id: string;\n createdAt: number;\n deletedAt?: number | null;\n name: string;\n version: 2;\n readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorMessage?: string | null;\n errorStep?: string;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n regions: string[];\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n target?: 'staging' | 'production' | null;\n undeletedAt?: number;\n url: string;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n plan: 'pro' | 'enterprise' | 'hobby';\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdIn: string;\n crons?: {\n schedule: string;\n path: string;\n }[];\n functions?: {\n [key: string]: {\n memory?: number;\n maxDuration?: number;\n runtime?: string;\n includeFiles?: string;\n excludeFiles?: string;\n };\n } | null;\n monorepoManager?: string | null;\n ownerId: string;\n /**\n * Since November 2023 this field defines a connect configuration that will only be used to deploy passive lambdas to (as in passiveRegions)\n */\n passiveConnectConfigurationId?: string;\n projectId: string;\n routes:\n | (\n | {\n src: string;\n dest?: string;\n headers?: {\n [key: string]: string;\n };\n methods?: string[];\n ['continue']?: boolean;\n override?: boolean;\n caseSensitive?: boolean;\n check?: boolean;\n important?: boolean;\n status?: number;\n has?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n missing?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n locale?: {\n redirect?: {\n [key: string]: string;\n };\n cookie?: string;\n };\n /**\n * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.\n */\n middlewarePath?: string;\n /**\n * The original middleware matchers.\n */\n middlewareRawSrc?: string[];\n /**\n * A middleware index in the `middleware` key under the build result\n */\n middleware?: number;\n }\n | {\n handle: 'error' | 'filesystem' | 'hit' | 'miss' | 'rewrite' | 'resource';\n src?: string;\n dest?: string;\n status?: number;\n }\n | {\n src: string;\n ['continue']: boolean;\n middleware: 0;\n }\n )[]\n | null;\n gitRepo?:\n | {\n namespace: string;\n projectId: number;\n type: 'gitlab';\n url: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n org: string;\n repo: string;\n repoId: number;\n type: 'github';\n repoOwnerId: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n owner: string;\n repoUuid: string;\n slug: string;\n type: 'bitbucket';\n workspaceUuid: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | null;\n flags?:\n | {\n definitions: {\n [key: string]: string;\n };\n }\n | Record<string, any>[];\n }\n | {\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n team?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'startsWith' | 'equals' | 'endsWith';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n type: 'LAMBDAS';\n id: string;\n createdAt: number;\n deletedAt?: number | null;\n name: string;\n version: 2;\n readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorMessage?: string | null;\n errorStep?: string;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n regions: string[];\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n target?: 'staging' | 'production' | null;\n undeletedAt?: number;\n url: string;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n },\n GetDeploymentError,\n undefined,\n {},\n GetDeploymentQueryParams,\n GetDeploymentPathParams\n >({ url: '/v13/deployments/{idOrUrl}', method: 'get', ...variables, signal });\n\nexport type CreateDeploymentQueryParams = {\n /**\n * Forces a new deployment even if there is a previous similar deployment\n */\n forceNew?: '0' | '1';\n /**\n * Allows to skip framework detection so the API would not fail to ask for confirmation\n */\n skipAutoDetectionConfirmation?: '0' | '1';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateDeploymentResponse = {\n aliasAssignedAt?: number | boolean | null;\n alwaysRefuseToBuild?: boolean;\n build: {\n env: string[];\n };\n builds?: Record<string, any>[];\n env: string[];\n inspectorUrl: string | null;\n isInConcurrentBuildsQueue: boolean;\n projectSettings: {\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n readyStateReason?: string;\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'CANCELED' | 'ERROR' | 'QUEUED' | 'BUILDING' | 'INITIALIZING' | 'READY';\n team?: {\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'endsWith' | 'startsWith' | 'equals';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n type: 'LAMBDAS';\n name: string;\n createdAt: number;\n deletedAt?: number | null;\n id: string;\n version: 2;\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n readyState: 'CANCELED' | 'ERROR' | 'QUEUED' | 'BUILDING' | 'INITIALIZING' | 'READY';\n source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo' | 'api-trigger-git-deploy';\n target?: 'staging' | 'production' | null;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n regions: string[];\n errorMessage?: string | null;\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorStep?: string;\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n undeletedAt?: number;\n url: string;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n projectId: string;\n ownerId: string;\n monorepoManager?: string | null;\n functions?: {\n [key: string]: {\n memory?: number;\n maxDuration?: number;\n runtime?: string;\n includeFiles?: string;\n excludeFiles?: string;\n };\n } | null;\n routes:\n | (\n | {\n src: string;\n dest?: string;\n headers?: {\n [key: string]: string;\n };\n methods?: string[];\n ['continue']?: boolean;\n override?: boolean;\n caseSensitive?: boolean;\n check?: boolean;\n important?: boolean;\n status?: number;\n has?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n missing?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n locale?: {\n redirect?: {\n [key: string]: string;\n };\n cookie?: string;\n };\n /**\n * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.\n */\n middlewarePath?: string;\n /**\n * The original middleware matchers.\n */\n middlewareRawSrc?: string[];\n /**\n * A middleware index in the `middleware` key under the build result\n */\n middleware?: number;\n }\n | {\n handle: 'error' | 'filesystem' | 'hit' | 'miss' | 'resource' | 'rewrite';\n src?: string;\n dest?: string;\n status?: number;\n }\n | {\n src: string;\n ['continue']: boolean;\n middleware: 0;\n }\n )[]\n | null;\n crons?: {\n schedule: string;\n path: string;\n }[];\n plan: 'pro' | 'enterprise' | 'hobby';\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdIn: string;\n /**\n * Since November 2023 this field defines a connect configuration that will only be used to deploy passive lambdas to (as in passiveRegions)\n */\n passiveConnectConfigurationId?: string;\n gitRepo?:\n | {\n namespace: string;\n projectId: number;\n type: 'gitlab';\n url: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'user' | 'team';\n }\n | {\n org: string;\n repo: string;\n repoId: number;\n type: 'github';\n repoOwnerId: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'user' | 'team';\n }\n | {\n owner: string;\n repoUuid: string;\n slug: string;\n type: 'bitbucket';\n workspaceUuid: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'user' | 'team';\n }\n | null;\n flags?:\n | {\n definitions: {\n [key: string]: string;\n };\n }\n | Record<string, any>[];\n};\n\nexport type CreateDeploymentRequestBody = {\n /**\n * Deploy to a custom environment, which will override the default environment\n */\n customEnvironmentSlugOrId?: string;\n /**\n * An deployment id for an existing deployment to redeploy\n */\n deploymentId?: string;\n /**\n * A list of objects with the files to be deployed\n */\n files?: (\n | {\n /**\n * The file content, it could be either a `base64` (useful for images, etc.) of the files or the plain content for source code\n */\n data: string;\n /**\n * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code.\n */\n encoding?: 'base64' | 'utf-8';\n /**\n * The file name including the whole path\n *\n * @example folder/file.js\n */\n file: string;\n }\n | {\n /**\n * The file path relative to the project root\n *\n * @example folder/file.js\n */\n file: string;\n /**\n * The file contents hashed with SHA1, used to check the integrity\n */\n sha?: string;\n /**\n * The file size in bytes\n */\n size?: number;\n }\n )[];\n /**\n * Populates initial git metadata for different git providers.\n */\n gitMetadata?: {\n /**\n * The git repository's remote origin url\n *\n * @example https://github.com/vercel/next.js\n */\n remoteUrl?: string;\n /**\n * The name of the author of the commit\n *\n * @example kyliau\n */\n commitAuthorName?: string;\n /**\n * The commit message\n *\n * @example add method to measure Interaction to Next Paint (INP) (#36490)\n */\n commitMessage?: string;\n /**\n * The branch on which the commit was made\n *\n * @example main\n */\n commitRef?: string;\n /**\n * The hash of the commit\n *\n * @example dc36199b2234c6586ebe05ec94078a895c707e29\n */\n commitSha?: string;\n /**\n * Whether or not there have been modifications to the working tree since the latest commit\n *\n * @example true\n */\n dirty?: boolean;\n };\n /**\n * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.\n */\n gitSource?:\n | {\n ref: string;\n repoId: number | string;\n sha?: string;\n type: 'github';\n }\n | {\n org: string;\n ref: string;\n repo: string;\n sha?: string;\n type: 'github';\n }\n | {\n projectId: number | string;\n ref: string;\n sha?: string;\n type: 'gitlab';\n }\n | {\n ref: string;\n repoUuid: string;\n sha?: string;\n type: 'bitbucket';\n workspaceUuid?: string;\n }\n | {\n owner: string;\n ref: string;\n sha?: string;\n slug: string;\n type: 'bitbucket';\n };\n /**\n * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment\n *\n * @example {\"foo\":\"bar\"}\n * @maxProperties 100\n */\n meta?: {\n [key: string]: string;\n };\n /**\n * The monorepo manager that is being used for this deployment. When `null` is used no monorepo manager is selected\n */\n monorepoManager?: string | null;\n /**\n * A string with the project name used in the deployment URL\n *\n * @example my-instant-deployment\n */\n name: string;\n /**\n * The target project identifier in which the deployment will be created. When defined, this parameter overrides name\n *\n * @example my-deployment-project\n */\n project?: string;\n /**\n * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments\n */\n projectSettings?: {\n /**\n * The build command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n buildCommand?: string | null;\n /**\n * @maxLength 256\n */\n commandForIgnoringBuildStep?: string | null;\n /**\n * The dev command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n devCommand?: string | null;\n /**\n * The framework that is being used for this project. When `null` is used no framework is selected\n */\n framework?:\n | any\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n /**\n * The install command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n installCommand?: string | null;\n /**\n * Override the Node.js version that should be used for this deployment\n */\n nodeVersion?: '20.x' | '18.x' | '16.x';\n /**\n * The output directory of the project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n outputDirectory?: string | null;\n /**\n * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root\n *\n * @maxLength 256\n */\n rootDirectory?: string | null;\n /**\n * The region to deploy Serverless Functions in this project\n *\n * @maxLength 4\n */\n serverlessFunctionRegion?: string | null;\n /**\n * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.\n *\n * @deprecated true\n */\n skipGitConnectDuringLink?: boolean;\n /**\n * Indicates if there are source files outside of the root directory, typically used for monorepos\n */\n sourceFilesOutsideRootDirectory?: boolean;\n };\n /**\n * Either not defined, `staging`, or `production`. If `staging`, a staging alias in the format `<project>-<team>.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview`\n */\n target?: 'staging' | 'production';\n /**\n * When `true` and `deploymentId` is passed in, the sha from the previous deployment's `gitSource` is removed forcing the latest commit to be used.\n */\n withLatestCommit?: boolean;\n};\n\nexport type CreateDeploymentVariables = {\n body: CreateDeploymentRequestBody;\n queryParams?: CreateDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Create a new deployment with all the required and intended data. If the deployment is not a git deployment, all files must be provided with the request, either referenced or inlined. Additionally, a deployment id can be specified to redeploy a previous deployment.\n */\nexport const createDeployment = (variables: CreateDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n CreateDeploymentResponse,\n CreateDeploymentError,\n CreateDeploymentRequestBody,\n {},\n CreateDeploymentQueryParams,\n {}\n >({ url: '/v13/deployments', method: 'post', ...variables, signal });\n\nexport type CancelDeploymentPathParams = {\n /**\n * The unique identifier of the deployment.\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n id: string;\n};\n\nexport type CancelDeploymentQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CancelDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CancelDeploymentResponse = {\n aliasAssignedAt?: number | boolean | null;\n alwaysRefuseToBuild?: boolean;\n build: {\n env: string[];\n };\n builds?: Record<string, any>[];\n env: string[];\n inspectorUrl: string | null;\n isInConcurrentBuildsQueue: boolean;\n projectSettings: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n readyStateReason?: string;\n alias?: string[];\n aliasAssigned: boolean;\n bootedAt: number;\n buildingAt: number;\n buildSkipped: boolean;\n creator: {\n uid: string;\n username?: string;\n avatar?: string;\n };\n initReadyAt?: number;\n isFirstBranchDeployment?: boolean;\n lambdas?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n output: {\n path: string;\n functionName: string;\n }[];\n }[];\n public: boolean;\n ready?: number;\n status: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n team?: {\n buildCommand?: string | null;\n devCommand?: string | null;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n commandForIgnoringBuildStep?: string | null;\n installCommand?: string | null;\n outputDirectory?: string | null;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n };\n userAliases?: string[];\n previewCommentsEnabled?: boolean;\n ttyBuildLogs?: boolean;\n customEnvironment?:\n | {\n id: string;\n name: string;\n slug: string;\n type: 'production' | 'preview' | 'development';\n description?: string;\n branchMatcher?: {\n type: 'startsWith' | 'equals' | 'endsWith';\n pattern: string;\n };\n createdAt: number;\n updatedAt: number;\n }\n | {\n id: string;\n };\n id: string;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n aliasWarning?: {\n code: string;\n message: string;\n link?: string;\n action?: string;\n } | null;\n /**\n * applies to custom domains only, defaults to `true`\n */\n autoAssignCustomDomains?: boolean;\n automaticAliases?: string[];\n buildErrorAt?: number;\n checksState?: 'registered' | 'running' | 'completed';\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n createdAt: number;\n deletedAt?: number | null;\n canceledAt?: number;\n errorCode?: string;\n errorLink?: string;\n errorMessage?: string | null;\n errorStep?: string;\n /**\n * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service\n */\n passiveRegions?: string[];\n gitSource?:\n | {\n type: 'github';\n repoId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'github';\n org: string;\n repo: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'gitlab';\n projectId: string | number;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n workspaceUuid?: string;\n repoUuid: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'bitbucket';\n owner: string;\n slug: string;\n ref?: string | null;\n sha?: string;\n prId?: number | null;\n }\n | {\n type: 'custom';\n ref: string;\n sha: string;\n gitUrl: string;\n }\n | {\n type: 'github';\n ref: string;\n sha: string;\n repoId: number;\n org?: string;\n repo?: string;\n }\n | {\n type: 'gitlab';\n ref: string;\n sha: string;\n projectId: number;\n }\n | {\n type: 'bitbucket';\n ref: string;\n sha: string;\n owner?: string;\n slug?: string;\n workspaceUuid: string;\n repoUuid: string;\n };\n name: string;\n meta: {\n [key: string]: string;\n };\n project?: {\n id: string;\n name: string;\n framework?: string | null;\n };\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n regions: string[];\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n target?: 'production' | 'staging' | null;\n type: 'LAMBDAS';\n undeletedAt?: number;\n url: string;\n version: 2;\n oidcTokenClaims?: {\n [key: string]: string;\n };\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdIn: string;\n crons?: {\n schedule: string;\n path: string;\n }[];\n functions?: {\n [key: string]: {\n memory?: number;\n maxDuration?: number;\n runtime?: string;\n includeFiles?: string;\n excludeFiles?: string;\n };\n } | null;\n monorepoManager?: string | null;\n ownerId: string;\n /**\n * Since November 2023 this field defines a connect configuration that will only be used to deploy passive lambdas to (as in passiveRegions)\n */\n passiveConnectConfigurationId?: string;\n plan: 'pro' | 'enterprise' | 'hobby';\n projectId: string;\n routes:\n | (\n | {\n src: string;\n dest?: string;\n headers?: {\n [key: string]: string;\n };\n methods?: string[];\n ['continue']?: boolean;\n override?: boolean;\n caseSensitive?: boolean;\n check?: boolean;\n important?: boolean;\n status?: number;\n has?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n missing?: (\n | {\n type: 'host';\n value: string;\n }\n | {\n type: 'header' | 'cookie' | 'query';\n key: string;\n value?: string;\n }\n )[];\n locale?: {\n redirect?: {\n [key: string]: string;\n };\n cookie?: string;\n };\n /**\n * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.\n */\n middlewarePath?: string;\n /**\n * The original middleware matchers.\n */\n middlewareRawSrc?: string[];\n /**\n * A middleware index in the `middleware` key under the build result\n */\n middleware?: number;\n }\n | {\n handle: 'filesystem' | 'hit' | 'miss' | 'rewrite' | 'error' | 'resource';\n src?: string;\n dest?: string;\n status?: number;\n }\n | {\n src: string;\n ['continue']: boolean;\n middleware: 0;\n }\n )[]\n | null;\n gitRepo?:\n | {\n namespace: string;\n projectId: number;\n type: 'gitlab';\n url: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n org: string;\n repo: string;\n repoId: number;\n type: 'github';\n repoOwnerId: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | {\n owner: string;\n repoUuid: string;\n slug: string;\n type: 'bitbucket';\n workspaceUuid: string;\n path: string;\n defaultBranch: string;\n name: string;\n private: boolean;\n ownerType: 'team' | 'user';\n }\n | null;\n flags?:\n | {\n definitions: {\n [key: string]: string;\n };\n }\n | Record<string, any>[];\n};\n\nexport type CancelDeploymentVariables = {\n pathParams: CancelDeploymentPathParams;\n queryParams?: CancelDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This endpoint allows you to cancel a deployment which is currently building, by supplying its `id` in the URL.\n */\nexport const cancelDeployment = (variables: CancelDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n CancelDeploymentResponse,\n CancelDeploymentError,\n undefined,\n {},\n CancelDeploymentQueryParams,\n CancelDeploymentPathParams\n >({ url: '/v12/deployments/{id}/cancel', method: 'patch', ...variables, signal });\n\nexport type BuyDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type BuyDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type BuyDomainResponse = {\n domain: {\n uid: string;\n ns: string[];\n verified: boolean;\n created: number;\n pending: boolean;\n };\n};\n\nexport type BuyDomainRequestBody = {\n /**\n * The domain name to purchase.\n *\n * @example example.com\n */\n name: string;\n /**\n * The price you expect to be charged for the purchase.\n *\n * @example 10\n */\n expectedPrice?: number;\n /**\n * Indicates whether the domain should be automatically renewed.\n *\n * @example true\n */\n renew?: boolean;\n};\n\nexport type BuyDomainVariables = {\n body: BuyDomainRequestBody;\n queryParams?: BuyDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to purchase the specified domain.\n */\nexport const buyDomain = (variables: BuyDomainVariables, signal?: AbortSignal) =>\n fetch<BuyDomainResponse, BuyDomainError, BuyDomainRequestBody, {}, BuyDomainQueryParams, {}>({\n url: '/v4/domains/buy',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type CheckDomainPriceQueryParams = {\n /**\n * The name of the domain for which the price needs to be checked.\n *\n * @example example.com\n */\n name: string;\n /**\n * In which status of the domain the price needs to be checked.\n *\n * @example new\n */\n type?: 'new' | 'renewal';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CheckDomainPriceError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CheckDomainPriceResponse = {\n /**\n * The domain price in USD.\n *\n * @example 20\n */\n price: number;\n /**\n * The number of years the domain could be held before paying again.\n *\n * @example 1\n */\n period: number;\n};\n\nexport type CheckDomainPriceVariables = {\n queryParams: CheckDomainPriceQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Check the price to purchase a domain and how long a single purchase period is.\n */\nexport const checkDomainPrice = (variables: CheckDomainPriceVariables, signal?: AbortSignal) =>\n fetch<CheckDomainPriceResponse, CheckDomainPriceError, undefined, {}, CheckDomainPriceQueryParams, {}>({\n url: '/v4/domains/price',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetRecordsPathParams = {\n /**\n * @example example.com\n */\n domain: string;\n};\n\nexport type GetRecordsQueryParams = {\n /**\n * Maximum number of records to list from a request.\n *\n * @example 20\n */\n limit?: string;\n /**\n * Get records created after this JavaScript timestamp.\n *\n * @example 1609499532000\n */\n since?: string;\n /**\n * Get records created before this JavaScript timestamp.\n *\n * @example 1612264332000\n */\n until?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetRecordsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetRecordsVariables = {\n pathParams: GetRecordsPathParams;\n queryParams?: GetRecordsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options.\n */\nexport const getRecords = (variables: GetRecordsVariables, signal?: AbortSignal) =>\n fetch<\n | string\n | {\n records: {\n id: string;\n slug: string;\n name: string;\n type: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS';\n value: string;\n mxPriority?: number;\n priority?: number;\n creator: string;\n created: number | null;\n updated: number | null;\n createdAt: number | null;\n updatedAt: number | null;\n }[];\n }\n | {\n records: {\n id: string;\n slug: string;\n name: string;\n type: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS';\n value: string;\n mxPriority?: number;\n priority?: number;\n creator: string;\n created: number | null;\n updated: number | null;\n createdAt: number | null;\n updatedAt: number | null;\n }[];\n pagination: Schemas.Pagination;\n },\n GetRecordsError,\n undefined,\n {},\n GetRecordsQueryParams,\n GetRecordsPathParams\n >({ url: '/v4/domains/{domain}/records', method: 'get', ...variables, signal });\n\nexport type CreateRecordPathParams = {\n /**\n * The domain used to create the DNS record.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type CreateRecordQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateRecordError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateRecordVariables = {\n body:\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `A`.\n */\n type: 'A';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * The record value must be a valid IPv4 address.\n *\n * @format ipv4\n * @example 192.0.2.42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `AAAA`.\n */\n type: 'AAAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An AAAA record pointing to an IPv6 address.\n *\n * @format ipv6\n * @example 2001:DB8::42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `ALIAS`.\n */\n type: 'ALIAS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An ALIAS virtual record pointing to a hostname resolved to an A record on server side.\n *\n * @example cname.vercel-dns.com\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CAA`.\n */\n type: 'CAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain.\n *\n * @example 0 issue \\\"letsencrypt.org\\\"\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CNAME`.\n */\n type: 'CNAME';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CNAME record mapping to another domain name.\n *\n * @example cname.vercel-dns.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `MX`.\n */\n type: 'MX';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An MX record specifying the mail server responsible for accepting messages on behalf of the domain name.\n *\n * @example 10 mail.example.com.\n */\n value: string;\n /**\n * @minimum 0\n * @maximum 65535\n * @example 10\n */\n mxPriority: number;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `SRV`.\n */\n type: 'SRV';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n srv: {\n priority: number | null;\n weight: number | null;\n port: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `TXT`.\n */\n type: 'TXT';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A TXT record containing arbitrary text.\n *\n * @example hello\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `NS`.\n */\n type: 'NS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An NS domain value.\n *\n * @example ns1.example.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `HTTPS`.\n */\n type: 'HTTPS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n https: {\n priority: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n /**\n * @example alpn=h2,h3\n */\n params?: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n };\n pathParams: CreateRecordPathParams;\n queryParams?: CreateRecordQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a DNS record for a domain.\n */\nexport const createRecord = (variables: CreateRecordVariables, signal?: AbortSignal) =>\n fetch<\n | {\n uid: string;\n updated: number;\n }\n | {\n /**\n * The id of the newly created DNS record\n *\n * @example rec_V0fra8eEgQwEpFhYG2vTzC3K\n */\n uid: string;\n },\n CreateRecordError,\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `A`.\n */\n type: 'A';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * The record value must be a valid IPv4 address.\n *\n * @format ipv4\n * @example 192.0.2.42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `AAAA`.\n */\n type: 'AAAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An AAAA record pointing to an IPv6 address.\n *\n * @format ipv6\n * @example 2001:DB8::42\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `ALIAS`.\n */\n type: 'ALIAS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An ALIAS virtual record pointing to a hostname resolved to an A record on server side.\n *\n * @example cname.vercel-dns.com\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CAA`.\n */\n type: 'CAA';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CAA record to specify which Certificate Authorities (CAs) are allowed to issue certificates for the domain.\n *\n * @example 0 issue \\\"letsencrypt.org\\\"\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `CNAME`.\n */\n type: 'CNAME';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A CNAME record mapping to another domain name.\n *\n * @example cname.vercel-dns.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `MX`.\n */\n type: 'MX';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An MX record specifying the mail server responsible for accepting messages on behalf of the domain name.\n *\n * @example 10 mail.example.com.\n */\n value: string;\n /**\n * @minimum 0\n * @maximum 65535\n * @example 10\n */\n mxPriority: number;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `SRV`.\n */\n type: 'SRV';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n srv: {\n priority: number | null;\n weight: number | null;\n port: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `TXT`.\n */\n type: 'TXT';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * A TXT record containing arbitrary text.\n *\n * @example hello\n */\n value: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name.\n *\n * @example subdomain\n */\n name: string;\n /**\n * Must be of type `NS`.\n */\n type: 'NS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n /**\n * An NS domain value.\n *\n * @example ns1.example.com\n */\n value?: string;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * A subdomain name or an empty string for the root domain.\n */\n name: string;\n /**\n * Must be of type `HTTPS`.\n */\n type: 'HTTPS';\n /**\n * The TTL value. Must be a number between 60 and 2147483647. Default value is 60.\n *\n * @minimum 60\n * @maximum 2147483647\n * @example 60\n */\n ttl?: number;\n https: {\n priority: number | null;\n /**\n * @example host.example.com\n */\n target: string;\n /**\n * @example alpn=h2,h3\n */\n params?: string;\n };\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n },\n {},\n CreateRecordQueryParams,\n CreateRecordPathParams\n >({ url: '/v2/domains/{domain}/records', method: 'post', ...variables, signal });\n\nexport type UpdateRecordPathParams = {\n /**\n * The id of the DNS record\n *\n * @example rec_2qn7pzrx89yxy34vezpd31y9\n */\n recordId: string;\n};\n\nexport type UpdateRecordQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateRecordError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateRecordResponse = {\n createdAt?: number | null;\n creator: string;\n domain: string;\n id: string;\n name: string;\n recordType: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS';\n ttl?: number;\n type: 'record' | 'record-sys';\n value: string;\n comment?: string;\n};\n\nexport type UpdateRecordRequestBody = {\n additionalProperties?: void;\n /**\n * The name of the DNS record\n *\n * @example example-1\n */\n name?: string | null;\n /**\n * The value of the DNS record\n *\n * @example google.com\n */\n value?: string | null;\n /**\n * The type of the DNS record\n *\n * @example A\n * @maxLength 255\n */\n type?: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'HTTPS' | 'MX' | 'SRV' | 'TXT' | 'NS' | null;\n /**\n * The Time to live (TTL) value of the DNS record\n *\n * @example 60\n * @minimum 60\n * @maximum 2147483647\n */\n ttl?: number | null;\n /**\n * The MX priority value of the DNS record\n */\n mxPriority?: number | null;\n srv?: {\n /**\n * @example example2.com.\n * @maxLength 255\n */\n target: string | null;\n weight: number | null;\n port: number | null;\n priority: number | null;\n } | null;\n https?: {\n priority: number | null;\n /**\n * @example example2.com.\n * @maxLength 255\n */\n target: string | null;\n params?: string | null;\n } | null;\n /**\n * A comment to add context on what this DNS record is for\n *\n * @example used to verify ownership of domain\n * @maxLength 500\n */\n comment?: string;\n};\n\nexport type UpdateRecordVariables = {\n body?: UpdateRecordRequestBody;\n pathParams: UpdateRecordPathParams;\n queryParams?: UpdateRecordQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Updates an existing DNS record for a domain name.\n */\nexport const updateRecord = (variables: UpdateRecordVariables, signal?: AbortSignal) =>\n fetch<\n UpdateRecordResponse,\n UpdateRecordError,\n UpdateRecordRequestBody,\n {},\n UpdateRecordQueryParams,\n UpdateRecordPathParams\n >({ url: '/v1/domains/records/{recordId}', method: 'patch', ...variables, signal });\n\nexport type RemoveRecordPathParams = {\n /**\n * @example example.com\n */\n domain: string;\n /**\n * @example rec_V0fra8eEgQwEpFhYG2vTzC3K\n */\n recordId: string;\n};\n\nexport type RemoveRecordQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveRecordError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveRecordVariables = {\n pathParams: RemoveRecordPathParams;\n queryParams?: RemoveRecordQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Removes an existing DNS record from a domain name.\n */\nexport const removeRecord = (variables: RemoveRecordVariables, signal?: AbortSignal) =>\n fetch<Record<string, any>, RemoveRecordError, undefined, {}, RemoveRecordQueryParams, RemoveRecordPathParams>({\n url: '/v2/domains/{domain}/records/{recordId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type CheckDomainStatusQueryParams = {\n /**\n * The name of the domain for which we would like to check the status.\n *\n * @example example.com\n */\n name: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CheckDomainStatusError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CheckDomainStatusResponse = {\n available: boolean;\n};\n\nexport type CheckDomainStatusVariables = {\n queryParams: CheckDomainStatusQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Check if a domain name is available for purchase.\n */\nexport const checkDomainStatus = (variables: CheckDomainStatusVariables, signal?: AbortSignal) =>\n fetch<CheckDomainStatusResponse, CheckDomainStatusError, undefined, {}, CheckDomainStatusQueryParams, {}>({\n url: '/v4/domains/status',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetDomainTransferQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainTransferError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainTransferResponse = {\n /**\n * Whether or not the domain is transferable\n */\n transferable: boolean;\n /**\n * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.\n */\n transferPolicy: 'charge-and-renew' | 'no-charge-no-change' | 'no-change' | 'new-term' | 'not-supported' | null;\n /**\n * Description associated with transferable state.\n */\n reason: string;\n /**\n * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.\n */\n status: 'pending_owner' | 'pending_admin' | 'pending_registry' | 'completed' | 'cancelled' | 'undef' | 'unknown';\n};\n\nexport type GetDomainTransferVariables = {\n queryParams?: GetDomainTransferQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Fetch domain transfer availability or transfer status if a transfer is in progress.\n */\nexport const getDomainTransfer = (variables: GetDomainTransferVariables, signal?: AbortSignal) =>\n fetch<GetDomainTransferResponse, GetDomainTransferError, undefined, {}, GetDomainTransferQueryParams, {}>({\n url: '/v1/domains/{domain}/registry',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetDomainConfigPathParams = {\n /**\n * The name of the domain.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type GetDomainConfigQueryParams = {\n /**\n * When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone.\n */\n strict?: 'true' | 'false';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainConfigResponse = {\n /**\n * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel.\n */\n configuredBy?: 'CNAME' | 'A' | 'http' | 'dns-01' | null;\n /**\n * Which challenge types the domain can use for issuing certs.\n */\n acceptedChallenges?: ('dns-01' | 'http-01')[];\n /**\n * Whether or not the domain is configured AND we can automatically generate a TLS certificate.\n */\n misconfigured: boolean;\n};\n\nexport type GetDomainConfigVariables = {\n pathParams: GetDomainConfigPathParams;\n queryParams?: GetDomainConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a Domain's configuration.\n */\nexport const getDomainConfig = (variables: GetDomainConfigVariables, signal?: AbortSignal) =>\n fetch<\n GetDomainConfigResponse,\n GetDomainConfigError,\n undefined,\n {},\n GetDomainConfigQueryParams,\n GetDomainConfigPathParams\n >({ url: '/v6/domains/{domain}/config', method: 'get', ...variables, signal });\n\nexport type GetDomainPathParams = {\n /**\n * The name of the domain.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type GetDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainResponse = {\n domain: {\n suffix: boolean;\n /**\n * If the domain has the ownership verified.\n *\n * @example true\n */\n verified: boolean;\n /**\n * A list of the current nameservers of the domain.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n nameservers: string[];\n /**\n * A list of the intended nameservers for the domain to point to Vercel DNS.\n *\n * @example ns1.vercel-dns.com\n * @example ns2.vercel-dns.com\n */\n intendedNameservers: string[];\n /**\n * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n customNameservers?: string[];\n /**\n * An object containing information of the domain creator, including the user's id, username, and email.\n *\n * @example {\"id\":\"ZspSRT4ljIEEmMHgoDwKWDei\",\"username\":\"vercel_user\",\"email\":\"demo@example.com\"}\n */\n creator: {\n username: string;\n email: string;\n customerId?: string | null;\n isDomainReseller?: boolean;\n id: string;\n };\n /**\n * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.\n *\n * @example 1613602938882\n */\n boughtAt: number | null;\n /**\n * Timestamp in milliseconds when the domain was created in the registry.\n *\n * @example 1613602938882\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.\n *\n * @example 1613602938882\n */\n expiresAt: number | null;\n /**\n * The unique identifier of the domain.\n *\n * @example EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1\n */\n id: string;\n /**\n * The domain name.\n *\n * @example example.com\n */\n name: string;\n /**\n * Timestamp in milliseconds at which the domain was ordered.\n *\n * @example 1613602938882\n */\n orderedAt?: number;\n /**\n * Indicates whether the domain is set to automatically renew.\n *\n * @example true\n */\n renew?: boolean;\n /**\n * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.\n *\n * @example zeit.world\n */\n serviceType: 'zeit.world' | 'external' | 'na';\n /**\n * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.\n *\n * @example 1613602938882\n */\n transferredAt?: number | null;\n /**\n * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.\n *\n * @example 1613602938882\n */\n transferStartedAt?: number;\n };\n};\n\nexport type GetDomainVariables = {\n pathParams: GetDomainPathParams;\n queryParams?: GetDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get information for a single domain in an account or team.\n */\nexport const getDomain = (variables: GetDomainVariables, signal?: AbortSignal) =>\n fetch<GetDomainResponse, GetDomainError, undefined, {}, GetDomainQueryParams, GetDomainPathParams>({\n url: '/v5/domains/{domain}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetDomainsQueryParams = {\n /**\n * Maximum number of domains to list from a request.\n *\n * @example 20\n */\n limit?: number;\n /**\n * Get domains created after this JavaScript timestamp.\n *\n * @example 1609499532000\n */\n since?: number;\n /**\n * Get domains created before this JavaScript timestamp.\n *\n * @example 1612264332000\n */\n until?: number;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDomainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDomainsResponse = {\n domains: {\n /**\n * If the domain has the ownership verified.\n *\n * @example true\n */\n verified: boolean;\n /**\n * A list of the current nameservers of the domain.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n nameservers: string[];\n /**\n * A list of the intended nameservers for the domain to point to Vercel DNS.\n *\n * @example ns1.vercel-dns.com\n * @example ns2.vercel-dns.com\n */\n intendedNameservers: string[];\n /**\n * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n customNameservers?: string[];\n /**\n * An object containing information of the domain creator, including the user's id, username, and email.\n *\n * @example {\"id\":\"ZspSRT4ljIEEmMHgoDwKWDei\",\"username\":\"vercel_user\",\"email\":\"demo@example.com\"}\n */\n creator: {\n username: string;\n email: string;\n customerId?: string | null;\n isDomainReseller?: boolean;\n id: string;\n };\n /**\n * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.\n *\n * @example 1613602938882\n */\n boughtAt: number | null;\n /**\n * Timestamp in milliseconds when the domain was created in the registry.\n *\n * @example 1613602938882\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.\n *\n * @example 1613602938882\n */\n expiresAt: number | null;\n /**\n * The unique identifier of the domain.\n *\n * @example EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1\n */\n id: string;\n /**\n * The domain name.\n *\n * @example example.com\n */\n name: string;\n /**\n * Timestamp in milliseconds at which the domain was ordered.\n *\n * @example 1613602938882\n */\n orderedAt?: number;\n /**\n * Indicates whether the domain is set to automatically renew.\n *\n * @example true\n */\n renew?: boolean;\n /**\n * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.\n *\n * @example zeit.world\n */\n serviceType: 'zeit.world' | 'external' | 'na';\n /**\n * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.\n *\n * @example 1613602938882\n */\n transferredAt?: number | null;\n /**\n * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.\n *\n * @example 1613602938882\n */\n transferStartedAt?: number;\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetDomainsVariables = {\n queryParams?: GetDomainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided.\n */\nexport const getDomains = (variables: GetDomainsVariables, signal?: AbortSignal) =>\n fetch<GetDomainsResponse, GetDomainsError, undefined, {}, GetDomainsQueryParams, {}>({\n url: '/v5/domains',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateOrTransferDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateOrTransferDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateOrTransferDomainResponse = {\n domain: {\n /**\n * If the domain has the ownership verified.\n *\n * @example true\n */\n verified: boolean;\n /**\n * A list of the current nameservers of the domain.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n nameservers: string[];\n /**\n * A list of the intended nameservers for the domain to point to Vercel DNS.\n *\n * @example ns1.vercel-dns.com\n * @example ns2.vercel-dns.com\n */\n intendedNameservers: string[];\n /**\n * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.\n *\n * @example ns1.nameserver.net\n * @example ns2.nameserver.net\n */\n customNameservers?: string[];\n /**\n * An object containing information of the domain creator, including the user's id, username, and email.\n *\n * @example {\"id\":\"ZspSRT4ljIEEmMHgoDwKWDei\",\"username\":\"vercel_user\",\"email\":\"demo@example.com\"}\n */\n creator: {\n username: string;\n email: string;\n customerId?: string | null;\n isDomainReseller?: boolean;\n id: string;\n };\n /**\n * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.\n *\n * @example 1613602938882\n */\n boughtAt: number | null;\n /**\n * Timestamp in milliseconds when the domain was created in the registry.\n *\n * @example 1613602938882\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.\n *\n * @example 1613602938882\n */\n expiresAt: number | null;\n /**\n * The unique identifier of the domain.\n *\n * @example EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1\n */\n id: string;\n /**\n * The domain name.\n *\n * @example example.com\n */\n name: string;\n /**\n * Timestamp in milliseconds at which the domain was ordered.\n *\n * @example 1613602938882\n */\n orderedAt?: number;\n /**\n * Indicates whether the domain is set to automatically renew.\n *\n * @example true\n */\n renew?: boolean;\n /**\n * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.\n *\n * @example zeit.world\n */\n serviceType: 'zeit.world' | 'external' | 'na';\n /**\n * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.\n *\n * @example 1613602938882\n */\n transferredAt?: number | null;\n /**\n * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.\n *\n * @example 1613602938882\n */\n transferStartedAt?: number;\n };\n};\n\nexport type CreateOrTransferDomainVariables = {\n body?:\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * Whether the domain has the Vercel Edge Network enabled or not.\n *\n * @example true\n */\n cdnEnabled?: boolean;\n zone?: boolean;\n /**\n * The domain operation to perform.\n *\n * @example add\n */\n method?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example move-in\n */\n method: string;\n /**\n * The move-in token from Move Requested email.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n token?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example transfer-in\n */\n method: string;\n /**\n * The authorization code assigned to the domain.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n authCode?: string;\n /**\n * The price you expect to be charged for the required 1 year renewal.\n *\n * @example 8\n */\n expectedPrice?: number;\n };\n queryParams?: CreateOrTransferDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.\n */\nexport const createOrTransferDomain = (variables: CreateOrTransferDomainVariables, signal?: AbortSignal) =>\n fetch<\n CreateOrTransferDomainResponse,\n CreateOrTransferDomainError,\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * Whether the domain has the Vercel Edge Network enabled or not.\n *\n * @example true\n */\n cdnEnabled?: boolean;\n zone?: boolean;\n /**\n * The domain operation to perform.\n *\n * @example add\n */\n method?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example move-in\n */\n method: string;\n /**\n * The move-in token from Move Requested email.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n token?: string;\n }\n | {\n /**\n * The domain name you want to add.\n *\n * @example example.com\n */\n name: string;\n /**\n * The domain operation to perform.\n *\n * @example transfer-in\n */\n method: string;\n /**\n * The authorization code assigned to the domain.\n *\n * @example fdhfr820ad#@FAdlj$$\n */\n authCode?: string;\n /**\n * The price you expect to be charged for the required 1 year renewal.\n *\n * @example 8\n */\n expectedPrice?: number;\n },\n {},\n CreateOrTransferDomainQueryParams,\n {}\n >({ url: '/v5/domains', method: 'post', ...variables, signal });\n\nexport type PatchDomainPathParams = {\n domain?: string;\n};\n\nexport type PatchDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchDomainVariables = {\n body?:\n | {\n /**\n * @example update\n */\n op?: string;\n /**\n * Specifies whether domain should be renewed.\n */\n renew?: boolean;\n /**\n * The custom nameservers for this project.\n *\n * @maxItems 4\n * @minItems 0\n * @uniqueItems true\n */\n customNameservers?: string[];\n /**\n * Specifies whether this is a DNS zone that intends to use Vercel's nameservers.\n */\n zone?: boolean;\n }\n | {\n /**\n * @example move-out\n */\n op?: string;\n /**\n * User or team to move domain to\n */\n destination?: string;\n };\n pathParams?: PatchDomainPathParams;\n queryParams?: PatchDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update or move apex domain.\n */\nexport const patchDomain = (variables: PatchDomainVariables, signal?: AbortSignal) =>\n fetch<\n | {\n moved: boolean;\n }\n | {\n moved: boolean;\n token: string;\n }\n | {\n renew?: boolean;\n customNameservers?: string[];\n zone?: boolean;\n },\n PatchDomainError,\n | {\n /**\n * @example update\n */\n op?: string;\n /**\n * Specifies whether domain should be renewed.\n */\n renew?: boolean;\n /**\n * The custom nameservers for this project.\n *\n * @maxItems 4\n * @minItems 0\n * @uniqueItems true\n */\n customNameservers?: string[];\n /**\n * Specifies whether this is a DNS zone that intends to use Vercel's nameservers.\n */\n zone?: boolean;\n }\n | {\n /**\n * @example move-out\n */\n op?: string;\n /**\n * User or team to move domain to\n */\n destination?: string;\n },\n {},\n PatchDomainQueryParams,\n PatchDomainPathParams\n >({ url: '/v3/domains/{domain}', method: 'patch', ...variables, signal });\n\nexport type DeleteDomainPathParams = {\n /**\n * The name of the domain.\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type DeleteDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteDomainResponse = {\n uid: string;\n};\n\nexport type DeleteDomainVariables = {\n pathParams: DeleteDomainPathParams;\n queryParams?: DeleteDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.\n */\nexport const deleteDomain = (variables: DeleteDomainVariables, signal?: AbortSignal) =>\n fetch<DeleteDomainResponse, DeleteDomainError, undefined, {}, DeleteDomainQueryParams, DeleteDomainPathParams>({\n url: '/v6/domains/{domain}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type GetEdgeConfigsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigsResponse = {\n id?: string;\n createdAt?: number;\n ownerId?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n updatedAt?: number;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type GetEdgeConfigsVariables = {\n queryParams?: GetEdgeConfigsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns all Edge Configs.\n */\nexport const getEdgeConfigs = (variables: GetEdgeConfigsVariables, signal?: AbortSignal) =>\n fetch<GetEdgeConfigsResponse, GetEdgeConfigsError, undefined, {}, GetEdgeConfigsQueryParams, {}>({\n url: '/v1/edge-config',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateEdgeConfigResponse = {\n createdAt?: number;\n updatedAt?: number;\n id?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n ownerId?: string;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type CreateEdgeConfigRequestBody = {\n /**\n * @maxLength 32\n * @pattern ^[\\\\w-]+$\n */\n slug: string;\n items?: {\n [key: string]:\n | (string | number | boolean | null | Record<string, any>)\n | (string | number | boolean | null | Record<string, any>)[];\n };\n};\n\nexport type CreateEdgeConfigVariables = {\n body: CreateEdgeConfigRequestBody;\n queryParams?: CreateEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates an Edge Config.\n */\nexport const createEdgeConfig = (variables: CreateEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<\n CreateEdgeConfigResponse,\n CreateEdgeConfigError,\n CreateEdgeConfigRequestBody,\n {},\n CreateEdgeConfigQueryParams,\n {}\n >({ url: '/v1/edge-config', method: 'post', ...variables, signal });\n\nexport type GetEdgeConfigPathParams = {\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigResponse = {\n createdAt?: number;\n updatedAt?: number;\n id?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n ownerId?: string;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type GetEdgeConfigVariables = {\n pathParams: GetEdgeConfigPathParams;\n queryParams?: GetEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns an Edge Config.\n */\nexport const getEdgeConfig = (variables: GetEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<GetEdgeConfigResponse, GetEdgeConfigError, undefined, {}, GetEdgeConfigQueryParams, GetEdgeConfigPathParams>({\n url: '/v1/edge-config/{edgeConfigId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UpdateEdgeConfigPathParams = {\n edgeConfigId: string;\n};\n\nexport type UpdateEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateEdgeConfigResponse = {\n createdAt?: number;\n updatedAt?: number;\n id?: string;\n /**\n * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).\n */\n slug?: string;\n ownerId?: string;\n digest?: string;\n /**\n * Keeps track of the current state of the Edge Config while it gets transferred.\n */\n transfer?: {\n fromAccountId: string;\n startedAt: number;\n doneAt: number | null;\n };\n schema?: Record<string, any>;\n sizeInBytes: number;\n itemCount: number;\n};\n\nexport type UpdateEdgeConfigRequestBody = {\n /**\n * @maxLength 32\n * @pattern ^[\\\\w-]+$\n */\n slug: string;\n};\n\nexport type UpdateEdgeConfigVariables = {\n body: UpdateEdgeConfigRequestBody;\n pathParams: UpdateEdgeConfigPathParams;\n queryParams?: UpdateEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Updates an Edge Config.\n */\nexport const updateEdgeConfig = (variables: UpdateEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<\n UpdateEdgeConfigResponse,\n UpdateEdgeConfigError,\n UpdateEdgeConfigRequestBody,\n {},\n UpdateEdgeConfigQueryParams,\n UpdateEdgeConfigPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}', method: 'put', ...variables, signal });\n\nexport type DeleteEdgeConfigPathParams = {\n edgeConfigId: string;\n};\n\nexport type DeleteEdgeConfigQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteEdgeConfigError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteEdgeConfigVariables = {\n pathParams: DeleteEdgeConfigPathParams;\n queryParams?: DeleteEdgeConfigQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete an Edge Config by id.\n */\nexport const deleteEdgeConfig = (variables: DeleteEdgeConfigVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteEdgeConfigError, undefined, {}, DeleteEdgeConfigQueryParams, DeleteEdgeConfigPathParams>({\n url: '/v1/edge-config/{edgeConfigId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type GetEdgeConfigItemsPathParams = {\n /**\n * @pattern ^ecfg_\n */\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigItemsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigItemsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigItemsVariables = {\n pathParams: GetEdgeConfigItemsPathParams;\n queryParams?: GetEdgeConfigItemsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns all items of an Edge Config.\n */\nexport const getEdgeConfigItems = (variables: GetEdgeConfigItemsVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigItem,\n GetEdgeConfigItemsError,\n undefined,\n {},\n GetEdgeConfigItemsQueryParams,\n GetEdgeConfigItemsPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'get', ...variables, signal });\n\nexport type PatchEdgeConfigItemsPathParams = {\n /**\n * @pattern ^ecfg_\n */\n edgeConfigId: string;\n};\n\nexport type PatchEdgeConfigItemsQueryParams = {\n edgeConfigId: string;\n dryRun?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchEdgeConfigItemsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchEdgeConfigItemsResponse = {\n status: string;\n};\n\nexport type PatchEdgeConfigItemsRequestBody = {\n items: (\n | {\n operation: void;\n }\n | {\n operation: 'update' | 'upsert';\n }\n | {\n operation: 'update' | 'upsert';\n }\n | {\n operation: void;\n }\n )[];\n definition: void;\n};\n\nexport type PatchEdgeConfigItemsVariables = {\n body: PatchEdgeConfigItemsRequestBody;\n pathParams: PatchEdgeConfigItemsPathParams;\n queryParams: PatchEdgeConfigItemsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update multiple Edge Config Items in batch.\n */\nexport const patchEdgeConfigItems = (variables: PatchEdgeConfigItemsVariables, signal?: AbortSignal) =>\n fetch<\n PatchEdgeConfigItemsResponse,\n PatchEdgeConfigItemsError,\n PatchEdgeConfigItemsRequestBody,\n {},\n PatchEdgeConfigItemsQueryParams,\n PatchEdgeConfigItemsPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'patch', ...variables, signal });\n\nexport type GetEdgeConfigSchemaPathParams = {\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigSchemaQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigSchemaError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigSchemaVariables = {\n pathParams: GetEdgeConfigSchemaPathParams;\n queryParams?: GetEdgeConfigSchemaQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns the schema of an Edge Config.\n */\nexport const getEdgeConfigSchema = (variables: GetEdgeConfigSchemaVariables, signal?: AbortSignal) =>\n fetch<\n Record<string, any> | null,\n GetEdgeConfigSchemaError,\n undefined,\n {},\n GetEdgeConfigSchemaQueryParams,\n GetEdgeConfigSchemaPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'get', ...variables, signal });\n\nexport type PatchEdgeConfigSchemaPathParams = {\n edgeConfigId: string;\n};\n\nexport type PatchEdgeConfigSchemaQueryParams = {\n dryRun?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchEdgeConfigSchemaError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchEdgeConfigSchemaRequestBody = {\n definition: void;\n};\n\nexport type PatchEdgeConfigSchemaVariables = {\n body: PatchEdgeConfigSchemaRequestBody;\n pathParams: PatchEdgeConfigSchemaPathParams;\n queryParams?: PatchEdgeConfigSchemaQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update an Edge Config's schema.\n */\nexport const patchEdgeConfigSchema = (variables: PatchEdgeConfigSchemaVariables, signal?: AbortSignal) =>\n fetch<\n Record<string, any> | null,\n PatchEdgeConfigSchemaError,\n PatchEdgeConfigSchemaRequestBody,\n {},\n PatchEdgeConfigSchemaQueryParams,\n PatchEdgeConfigSchemaPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'post', ...variables, signal });\n\nexport type DeleteEdgeConfigSchemaPathParams = {\n edgeConfigId: string;\n};\n\nexport type DeleteEdgeConfigSchemaQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteEdgeConfigSchemaError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteEdgeConfigSchemaVariables = {\n pathParams: DeleteEdgeConfigSchemaPathParams;\n queryParams?: DeleteEdgeConfigSchemaQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes the schema of existing Edge Config.\n */\nexport const deleteEdgeConfigSchema = (variables: DeleteEdgeConfigSchemaVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteEdgeConfigSchemaError,\n undefined,\n {},\n DeleteEdgeConfigSchemaQueryParams,\n DeleteEdgeConfigSchemaPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'delete', ...variables, signal });\n\nexport type GetEdgeConfigItemPathParams = {\n /**\n * @pattern ^ecfg_\n */\n edgeConfigId: string;\n edgeConfigItemKey: string;\n};\n\nexport type GetEdgeConfigItemQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigItemError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigItemVariables = {\n pathParams: GetEdgeConfigItemPathParams;\n queryParams?: GetEdgeConfigItemQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns a specific Edge Config Item.\n */\nexport const getEdgeConfigItem = (variables: GetEdgeConfigItemVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigItem,\n GetEdgeConfigItemError,\n undefined,\n {},\n GetEdgeConfigItemQueryParams,\n GetEdgeConfigItemPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/item/{edgeConfigItemKey}', method: 'get', ...variables, signal });\n\nexport type GetEdgeConfigTokensPathParams = {\n edgeConfigId: string;\n};\n\nexport type GetEdgeConfigTokensQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigTokensError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigTokensVariables = {\n pathParams: GetEdgeConfigTokensPathParams;\n queryParams?: GetEdgeConfigTokensQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Returns all tokens of an Edge Config.\n */\nexport const getEdgeConfigTokens = (variables: GetEdgeConfigTokensVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigToken,\n GetEdgeConfigTokensError,\n undefined,\n {},\n GetEdgeConfigTokensQueryParams,\n GetEdgeConfigTokensPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'get', ...variables, signal });\n\nexport type DeleteEdgeConfigTokensPathParams = {\n edgeConfigId: string;\n};\n\nexport type DeleteEdgeConfigTokensQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteEdgeConfigTokensError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteEdgeConfigTokensRequestBody = {\n tokens: string[];\n};\n\nexport type DeleteEdgeConfigTokensVariables = {\n body: DeleteEdgeConfigTokensRequestBody;\n pathParams: DeleteEdgeConfigTokensPathParams;\n queryParams?: DeleteEdgeConfigTokensQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes one or more tokens of an existing Edge Config.\n */\nexport const deleteEdgeConfigTokens = (variables: DeleteEdgeConfigTokensVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteEdgeConfigTokensError,\n DeleteEdgeConfigTokensRequestBody,\n {},\n DeleteEdgeConfigTokensQueryParams,\n DeleteEdgeConfigTokensPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'delete', ...variables, signal });\n\nexport type GetEdgeConfigTokenPathParams = {\n edgeConfigId: string;\n token: string;\n};\n\nexport type GetEdgeConfigTokenQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetEdgeConfigTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetEdgeConfigTokenVariables = {\n pathParams: GetEdgeConfigTokenPathParams;\n queryParams?: GetEdgeConfigTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Return meta data about an Edge Config token.\n */\nexport const getEdgeConfigToken = (variables: GetEdgeConfigTokenVariables, signal?: AbortSignal) =>\n fetch<\n Schemas.EdgeConfigToken,\n GetEdgeConfigTokenError,\n undefined,\n {},\n GetEdgeConfigTokenQueryParams,\n GetEdgeConfigTokenPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/token/{token}', method: 'get', ...variables, signal });\n\nexport type CreateEdgeConfigTokenPathParams = {\n edgeConfigId: string;\n};\n\nexport type CreateEdgeConfigTokenQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateEdgeConfigTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateEdgeConfigTokenResponse = {\n token: string;\n id: string;\n};\n\nexport type CreateEdgeConfigTokenRequestBody = {\n /**\n * @maxLength 52\n */\n label: string;\n};\n\nexport type CreateEdgeConfigTokenVariables = {\n body: CreateEdgeConfigTokenRequestBody;\n pathParams: CreateEdgeConfigTokenPathParams;\n queryParams?: CreateEdgeConfigTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Adds a token to an existing Edge Config.\n */\nexport const createEdgeConfigToken = (variables: CreateEdgeConfigTokenVariables, signal?: AbortSignal) =>\n fetch<\n CreateEdgeConfigTokenResponse,\n CreateEdgeConfigTokenError,\n CreateEdgeConfigTokenRequestBody,\n {},\n CreateEdgeConfigTokenQueryParams,\n CreateEdgeConfigTokenPathParams\n >({ url: '/v1/edge-config/{edgeConfigId}/token', method: 'post', ...variables, signal });\n\nexport type ListUserEventsQueryParams = {\n /**\n * Maximum number of items which may be returned.\n *\n * @example 20\n */\n limit?: number;\n /**\n * Timestamp to only include items created since then.\n *\n * @example 2019-12-08T10:00:38.976Z\n */\n since?: string;\n /**\n * Timestamp to only include items created until then.\n *\n * @example 2019-12-09T23:00:38.976Z\n */\n until?: string;\n /**\n * Comma-delimited list of event \\\"types\\\" to filter the results by.\n *\n * @example login,team-member-join,domain-buy\n */\n types?: string;\n /**\n * When retrieving events for a Team, the `userId` parameter may be specified to filter events generated by a specific member of the Team.\n *\n * @example aeIInYVk59zbFF2SxfyxxmuO\n */\n userId?: string;\n /**\n * When set to `true`, the response will include the `payload` field for each event.\n *\n * @example true\n */\n withPayload?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListUserEventsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListUserEventsResponse = {\n /**\n * Array of events generated by the User.\n */\n events: Schemas.UserEvent[];\n};\n\nexport type ListUserEventsVariables = {\n queryParams?: ListUserEventsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of \"events\" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the `teamId` parameter is supplied, then the events that are returned will be in relation to the Team that was specified.\n */\nexport const listUserEvents = (variables: ListUserEventsVariables, signal?: AbortSignal) =>\n fetch<ListUserEventsResponse, ListUserEventsError, undefined, {}, ListUserEventsQueryParams, {}>({\n url: '/v3/events',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetConfigurationsQueryParams = {\n view: 'account' | 'project';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetConfigurationsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetConfigurationsVariables = {\n queryParams: GetConfigurationsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve all configurations for an authenticated integration. When the `project` view is used, configurations generated for the authorization flow will be filtered out of the results.\n */\nexport const getConfigurations = (variables: GetConfigurationsVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team'\n | 'account-plan-downgrade';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n }\n | {\n integration: {\n name: string;\n icon: string;\n category: string;\n isLegacy: boolean;\n flags?: string[];\n assignedBetaLabelAt?: number;\n };\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team'\n | 'account-plan-downgrade';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n }[],\n GetConfigurationsError,\n undefined,\n {},\n GetConfigurationsQueryParams,\n {}\n >({ url: '/v1/integrations/configurations', method: 'get', ...variables, signal });\n\nexport type GetConfigurationPathParams = {\n /**\n * ID of the configuration to check\n *\n * @example icfg_cuwj0AdCdH3BwWT4LPijCC7t\n */\n id: string;\n};\n\nexport type GetConfigurationQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetConfigurationError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetConfigurationVariables = {\n pathParams: GetConfigurationPathParams;\n queryParams?: GetConfigurationQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it.\n */\nexport const getConfiguration = (variables: GetConfigurationVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team'\n | 'account-plan-downgrade';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n }\n | {\n /**\n * A string representing the permission for projects. Possible values are `all` or `selected`.\n *\n * @example all\n */\n projectSelection: 'selected' | 'all';\n /**\n * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.\n *\n * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO\n */\n projects?: string[];\n /**\n * A timestamp that tells you when the configuration was installed successfully\n *\n * @example 1558531915505\n */\n completedAt?: number;\n /**\n * A timestamp that tells you when the configuration was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the configuration\n *\n * @example icfg_3bwCLgxL8qt5kjRLcv2Dit7F\n */\n id: string;\n /**\n * The unique identifier of the app the configuration was created for\n *\n * @example oac_xzpVzcUOgcB1nrVlirtKhbWV\n */\n integrationId: string;\n /**\n * The user or team ID that owns the configuration\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.\n *\n * @example marketplace\n */\n source?: 'marketplace' | 'deploy-button' | 'external';\n removedLogDrainsAt?: number;\n removedProjectEnvsAt?: number;\n removedTokensAt?: number;\n removedWebhooksAt?: number;\n /**\n * The slug of the integration the configuration is created for.\n *\n * @example slack\n */\n slug: string;\n /**\n * When the configuration was created for a team, this will show the ID of the team.\n *\n * @example team_nLlpyC6RE1qxydlFKbrxDlud\n */\n teamId?: string | null;\n type: 'integration-configuration';\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n updatedAt: number;\n /**\n * The ID of the user that created the configuration.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n userId: string;\n /**\n * The resources that are allowed to be accessed by the configuration.\n *\n * @example read:project\n * @example read-write:log-drain\n */\n scopes: string[];\n scopesQueue?: {\n scopes: {\n added: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n upgraded: (\n | 'read:integration-configuration'\n | 'read-write:integration-configuration'\n | 'read:deployment'\n | 'read-write:deployment'\n | 'read-write:deployment-check'\n | 'read:project'\n | 'read-write:project'\n | 'read-write:project-env-vars'\n | 'read-write:global-project-env-vars'\n | 'read:team'\n | 'read:user'\n | 'read-write:log-drain'\n | 'read:domain'\n | 'read-write:domain'\n | 'read-write:edge-config'\n | 'read-write:otel-endpoint'\n | 'read:monitoring'\n | 'read-write:integration-resource'\n )[];\n };\n note: string;\n requestedAt: number;\n confirmedAt?: number;\n }[];\n /**\n * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.\n *\n * @example 1558531915505\n */\n disabledAt?: number;\n /**\n * A timestamp that tells you when the configuration was updated.\n *\n * @example 1558531915505\n */\n deletedAt?: number | null;\n disabledReason?:\n | 'disabled-by-owner'\n | 'feature-not-available'\n | 'disabled-by-admin'\n | 'original-owner-left-the-team'\n | 'account-plan-downgrade';\n /**\n * A timestamp that tells you when the configuration was migrated as part of the Northstar migration. In the future, if we allow integration configurations to be transferred between teams, this field should be cleared upon transfer.\n */\n northstarMigratedAt?: number;\n /**\n * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'\n */\n installationType?: 'marketplace' | 'external';\n canConfigureOpenTelemetry?: boolean;\n },\n GetConfigurationError,\n undefined,\n {},\n GetConfigurationQueryParams,\n GetConfigurationPathParams\n >({ url: '/v1/integrations/configuration/{id}', method: 'get', ...variables, signal });\n\nexport type DeleteConfigurationPathParams = {\n id: string;\n};\n\nexport type DeleteConfigurationQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteConfigurationError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteConfigurationVariables = {\n pathParams: DeleteConfigurationPathParams;\n queryParams?: DeleteConfigurationQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to remove the configuration with the `id` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.\n */\nexport const deleteConfiguration = (variables: DeleteConfigurationVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteConfigurationError,\n undefined,\n {},\n DeleteConfigurationQueryParams,\n DeleteConfigurationPathParams\n >({ url: '/v1/integrations/configuration/{id}', method: 'delete', ...variables, signal });\n\nexport type GetIntegrationLogDrainsQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetIntegrationLogDrainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetIntegrationLogDrainsResponse = {\n /**\n * The oauth2 client application id that created this log drain\n *\n * @example oac_xRhY4LAB7yLhUADD69EvV7ct\n */\n clientId?: string;\n /**\n * The client configuration this log drain was created with\n *\n * @example icfg_cuwj0AdCdH3BwWT4LPijCC7t\n */\n configurationId?: string;\n /**\n * A timestamp that tells you when the log drain was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the log drain. Always prefixed with `ld_`\n *\n * @example ld_nBuA7zCID8g4QZ8g\n */\n id: string;\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat?: 'json' | 'ndjson' | 'syslog';\n /**\n * The name of the log drain\n *\n * @example My first log drain\n */\n name: string;\n /**\n * The identifier of the team or user whose events will trigger the log drain\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectId?: string | null;\n /**\n * The identifier of the projects this log drain is associated with\n *\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectIds?: string[];\n /**\n * The URL to call when logs are generated\n *\n * @example https://example.com/log-drain\n */\n url: string;\n /**\n * The sources from which logs are currently being delivered to this log drain.\n *\n * @example build\n * @example edge\n */\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n /**\n * Whether the log drain was created by an integration or by a user\n *\n * @example integration\n */\n createdFrom?: 'self-served' | 'integration';\n /**\n * The headers to send with the request\n *\n * @example {\"Authorization\": \"Bearer 123\"}\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * The environment of log drain\n *\n * @example production\n */\n environments: ('production' | 'preview')[];\n /**\n * The branch regexp of log drain\n *\n * @example feature/*\n */\n branch?: string;\n /**\n * The sampling rate of log drain\n *\n * @example 0.5\n */\n samplingRate?: number;\n}[];\n\nexport type GetIntegrationLogDrainsVariables = {\n queryParams?: GetIntegrationLogDrainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.\n */\nexport const getIntegrationLogDrains = (variables: GetIntegrationLogDrainsVariables, signal?: AbortSignal) =>\n fetch<\n GetIntegrationLogDrainsResponse,\n GetIntegrationLogDrainsError,\n undefined,\n {},\n GetIntegrationLogDrainsQueryParams,\n {}\n >({ url: '/v2/integrations/log-drains', method: 'get', ...variables, signal });\n\nexport type CreateLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateLogDrainResponse = {\n /**\n * The oauth2 client application id that created this log drain\n *\n * @example oac_xRhY4LAB7yLhUADD69EvV7ct\n */\n clientId?: string;\n /**\n * The client configuration this log drain was created with\n *\n * @example icfg_cuwj0AdCdH3BwWT4LPijCC7t\n */\n configurationId?: string;\n /**\n * A timestamp that tells you when the log drain was created\n *\n * @example 1558531915505\n */\n createdAt: number;\n /**\n * The unique identifier of the log drain. Always prefixed with `ld_`\n *\n * @example ld_nBuA7zCID8g4QZ8g\n */\n id: string;\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat?: 'json' | 'ndjson' | 'syslog';\n /**\n * The name of the log drain\n *\n * @example My first log drain\n */\n name: string;\n /**\n * The identifier of the team or user whose events will trigger the log drain\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n ownerId: string;\n /**\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectId?: string | null;\n /**\n * The identifier of the projects this log drain is associated with\n *\n * @example AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb\n */\n projectIds?: string[];\n /**\n * The URL to call when logs are generated\n *\n * @example https://example.com/log-drain\n */\n url: string;\n /**\n * The sources from which logs are currently being delivered to this log drain.\n *\n * @example build\n * @example edge\n */\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n /**\n * Whether the log drain was created by an integration or by a user\n *\n * @example integration\n */\n createdFrom?: 'self-served' | 'integration';\n /**\n * The headers to send with the request\n *\n * @example {\"Authorization\": \"Bearer 123\"}\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * The environment of log drain\n *\n * @example production\n */\n environments: ('production' | 'preview')[];\n /**\n * The branch regexp of log drain\n *\n * @example feature/*\n */\n branch?: string;\n /**\n * The sampling rate of log drain\n *\n * @example 0.5\n */\n samplingRate?: number;\n};\n\nexport type CreateLogDrainRequestBody = {\n /**\n * The name of the log drain\n *\n * @example My first log drain\n * @maxLength 100\n * @pattern ^[A-z0-9_ -]+$\n */\n name: string;\n /**\n * @minItems 1\n * @maxItems 50\n */\n projectIds?: string[];\n /**\n * A secret to sign log drain notification headers so a consumer can verify their authenticity\n *\n * @example a1Xsfd325fXcs\n * @maxLength 100\n * @pattern ^[A-z0-9_ -]+$\n */\n secret?: string;\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat?: 'json' | 'ndjson' | 'syslog';\n /**\n * The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`, and `syslog+tls:` or `syslog:` when the type is `syslog`.\n *\n * @example https://example.com/log-drain\n * @format uri\n * @pattern ^(https?|syslog\\\\+tls|syslog)://\n */\n url: string;\n /**\n * @uniqueItems true\n * @minItems 1\n */\n sources?: ('static' | 'lambda' | 'build' | 'edge' | 'external')[];\n /**\n * Headers to be sent together with the request\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * @uniqueItems true\n * @minItems 1\n */\n environments?: ('preview' | 'production')[];\n};\n\nexport type CreateLogDrainVariables = {\n body: CreateLogDrainRequestBody;\n queryParams?: CreateLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.\n */\nexport const createLogDrain = (variables: CreateLogDrainVariables, signal?: AbortSignal) =>\n fetch<CreateLogDrainResponse, CreateLogDrainError, CreateLogDrainRequestBody, {}, CreateLogDrainQueryParams, {}>({\n url: '/v2/integrations/log-drains',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type DeleteIntegrationLogDrainPathParams = {\n /**\n * ID of the log drain to be deleted\n */\n id: string;\n};\n\nexport type DeleteIntegrationLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteIntegrationLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteIntegrationLogDrainVariables = {\n pathParams: DeleteIntegrationLogDrainPathParams;\n queryParams?: DeleteIntegrationLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.\n */\nexport const deleteIntegrationLogDrain = (variables: DeleteIntegrationLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteIntegrationLogDrainError,\n undefined,\n {},\n DeleteIntegrationLogDrainQueryParams,\n DeleteIntegrationLogDrainPathParams\n >({ url: '/v1/integrations/log-drains/{id}', method: 'delete', ...variables, signal });\n\nexport type GitNamespacesQueryParams = {\n /**\n * The custom Git host if using a custom Git provider, like GitHub Enterprise Server\n *\n * @example ghes-test.now.systems\n */\n host?: string;\n provider?: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GitNamespacesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GitNamespacesResponse = {\n provider: string;\n slug: string;\n id: string | number;\n ownerType: string;\n name?: string;\n isAccessRestricted?: boolean;\n installationId?: number;\n requireReauth?: boolean;\n}[];\n\nexport type GitNamespacesVariables = {\n queryParams?: GitNamespacesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Lists git namespaces for a supported provider. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider is not provided, it will try to obtain it from the user that authenticated the request.\n */\nexport const gitNamespaces = (variables: GitNamespacesVariables, signal?: AbortSignal) =>\n fetch<GitNamespacesResponse, GitNamespacesError, undefined, {}, GitNamespacesQueryParams, {}>({\n url: '/v1/integrations/git-namespaces',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type SearchRepoQueryParams = {\n query?: string;\n namespaceId?: void | null;\n provider?: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n installationId?: string;\n /**\n * The custom Git host if using a custom Git provider, like GitHub Enterprise Server\n *\n * @example ghes-test.now.systems\n */\n host?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type SearchRepoError = Fetcher.ErrorWrapper<undefined>;\n\nexport type SearchRepoResponse = {\n gitAccount: {\n provider: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n namespaceId: string | number | null;\n };\n repos: {\n id: string | number;\n provider: 'github' | 'github-custom-host' | 'gitlab' | 'bitbucket';\n url: string;\n name: string;\n slug: string;\n namespace: string;\n owner: {\n id: string | number;\n name: string;\n };\n ownerType: 'user' | 'team';\n private: boolean;\n defaultBranch: string;\n updatedAt: number;\n }[];\n};\n\nexport type SearchRepoVariables = {\n queryParams?: SearchRepoQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Lists git repositories linked to a namespace `id` for a supported provider. A specific namespace `id` can be obtained via the `git-namespaces` endpoint. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider or namespace is not provided, it will try to obtain it from the user that authenticated the request.\n */\nexport const searchRepo = (variables: SearchRepoVariables, signal?: AbortSignal) =>\n fetch<SearchRepoResponse, SearchRepoError, undefined, {}, SearchRepoQueryParams, {}>({\n url: '/v1/integrations/search-repo',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetConfigurableLogDrainPathParams = {\n id: string;\n};\n\nexport type GetConfigurableLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetConfigurableLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetConfigurableLogDrainResponse = {\n id: string;\n deliveryFormat: 'json' | 'ndjson' | 'syslog';\n url: string;\n name: string;\n clientId?: string;\n configurationId?: string;\n teamId?: string | null;\n ownerId: string;\n projectIds?: string[];\n createdAt: number;\n deletedAt: number | null;\n updatedAt: number;\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n headers?: {\n [key: string]: string;\n };\n environments: ('production' | 'preview')[];\n status?: 'enabled' | 'disabled' | 'errored';\n disabledAt?: number;\n disabledReason?: 'disabled-by-owner' | 'feature-not-available' | 'account-plan-downgrade' | 'disabled-by-admin';\n disabledBy?: string;\n firstErrorTimestamp?: number;\n samplingRate?: number;\n compression?: 'gzip' | 'zstd' | 'none';\n secret: string;\n createdFrom?: 'self-served';\n};\n\nexport type GetConfigurableLogDrainVariables = {\n pathParams: GetConfigurableLogDrainPathParams;\n queryParams?: GetConfigurableLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.\n */\nexport const getConfigurableLogDrain = (variables: GetConfigurableLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n GetConfigurableLogDrainResponse,\n GetConfigurableLogDrainError,\n undefined,\n {},\n GetConfigurableLogDrainQueryParams,\n GetConfigurableLogDrainPathParams\n >({ url: '/v1/log-drains/{id}', method: 'get', ...variables, signal });\n\nexport type DeleteConfigurableLogDrainPathParams = {\n id: string;\n};\n\nexport type DeleteConfigurableLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteConfigurableLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteConfigurableLogDrainVariables = {\n pathParams: DeleteConfigurableLogDrainPathParams;\n queryParams?: DeleteConfigurableLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.\n */\nexport const deleteConfigurableLogDrain = (variables: DeleteConfigurableLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n DeleteConfigurableLogDrainError,\n undefined,\n {},\n DeleteConfigurableLogDrainQueryParams,\n DeleteConfigurableLogDrainPathParams\n >({ url: '/v1/log-drains/{id}', method: 'delete', ...variables, signal });\n\nexport type GetAllLogDrainsQueryParams = {\n /**\n * @pattern ^[a-zA-z0-9_]+$\n */\n projectId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetAllLogDrainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAllLogDrainsResponse = {\n id: string;\n deliveryFormat: 'json' | 'ndjson' | 'syslog';\n url: string;\n name: string;\n clientId?: string;\n configurationId?: string;\n teamId?: string | null;\n ownerId: string;\n projectIds?: string[];\n createdAt: number;\n deletedAt: number | null;\n updatedAt: number;\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n headers?: {\n [key: string]: string;\n };\n environments: ('production' | 'preview')[];\n status?: 'enabled' | 'disabled' | 'errored';\n disabledAt?: number;\n disabledReason?: 'disabled-by-owner' | 'feature-not-available' | 'account-plan-downgrade' | 'disabled-by-admin';\n disabledBy?: string;\n firstErrorTimestamp?: number;\n samplingRate?: number;\n compression?: 'gzip' | 'zstd' | 'none';\n secret: string;\n createdFrom?: 'self-served';\n}[];\n\nexport type GetAllLogDrainsVariables = {\n queryParams?: GetAllLogDrainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed.\n */\nexport const getAllLogDrains = (variables: GetAllLogDrainsVariables, signal?: AbortSignal) =>\n fetch<GetAllLogDrainsResponse, GetAllLogDrainsError, undefined, {}, GetAllLogDrainsQueryParams, {}>({\n url: '/v1/log-drains',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateConfigurableLogDrainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateConfigurableLogDrainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateConfigurableLogDrainResponse = {\n /**\n * The secret to validate the log-drain payload\n */\n secret?: string;\n id: string;\n deliveryFormat: 'json' | 'ndjson' | 'syslog';\n url: string;\n name: string;\n clientId?: string;\n configurationId?: string;\n teamId?: string | null;\n ownerId: string;\n projectIds?: string[];\n createdAt: number;\n deletedAt: number | null;\n updatedAt: number;\n sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];\n headers?: {\n [key: string]: string;\n };\n environments: ('production' | 'preview')[];\n status?: 'enabled' | 'disabled' | 'errored';\n disabledAt?: number;\n disabledReason?: 'disabled-by-owner' | 'feature-not-available' | 'account-plan-downgrade' | 'disabled-by-admin';\n disabledBy?: string;\n firstErrorTimestamp?: number;\n samplingRate?: number;\n compression?: 'gzip' | 'zstd' | 'none';\n createdFrom?: 'self-served';\n};\n\nexport type CreateConfigurableLogDrainRequestBody = {\n /**\n * The delivery log format\n *\n * @example json\n */\n deliveryFormat: 'json' | 'ndjson';\n /**\n * The log drain url\n *\n * @format uri\n * @pattern ^(http|https)?://\n */\n url: string;\n /**\n * Headers to be sent together with the request\n */\n headers?: {\n [key: string]: string;\n };\n /**\n * @minItems 1\n * @maxItems 50\n */\n projectIds?: string[];\n /**\n * @uniqueItems true\n * @minItems 1\n */\n sources: ('static' | 'lambda' | 'build' | 'edge' | 'external')[];\n /**\n * @uniqueItems true\n * @minItems 1\n */\n environments?: ('preview' | 'production')[];\n /**\n * Custom secret of log drain\n */\n secret?: string;\n /**\n * The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points\n *\n * @minimum 0.01\n * @maximum 1\n */\n samplingRate?: number;\n};\n\nexport type CreateConfigurableLogDrainVariables = {\n body: CreateConfigurableLogDrainRequestBody;\n queryParams?: CreateConfigurableLogDrainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)\n */\nexport const createConfigurableLogDrain = (variables: CreateConfigurableLogDrainVariables, signal?: AbortSignal) =>\n fetch<\n CreateConfigurableLogDrainResponse,\n CreateConfigurableLogDrainError,\n CreateConfigurableLogDrainRequestBody,\n {},\n CreateConfigurableLogDrainQueryParams,\n {}\n >({ url: '/v1/log-drains', method: 'post', ...variables, signal });\n\nexport type GetProjectMembersPathParams = {\n /**\n * The ID or name of the Project.\n *\n * @example prj_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type GetProjectMembersQueryParams = {\n /**\n * Limit how many project members should be returned\n *\n * @example 20\n * @minimum 1\n * @maximum 100\n */\n limit?: number;\n /**\n * Timestamp in milliseconds to only include members added since then.\n *\n * @example 1540095775951\n */\n since?: number;\n /**\n * Timestamp in milliseconds to only include members added until then.\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Search project members by their name, username, and email.\n */\n search?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectMembersError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectMembersVariables = {\n pathParams: GetProjectMembersPathParams;\n queryParams?: GetProjectMembersQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Lists all members of a project.\n */\nexport const getProjectMembers = (variables: GetProjectMembersVariables, signal?: AbortSignal) =>\n fetch<\n | Record<string, any>\n | {\n members: {\n /**\n * ID of the file for the Avatar of this member.\n *\n * @example 123a6c5209bc3778245d011443644c8d27dc2c50\n */\n avatar?: string;\n /**\n * The email of this member.\n *\n * @example jane.doe@example.com\n */\n email: string;\n /**\n * Role of this user in the project.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n /**\n * Role of this user in the project.\n *\n * @example ADMIN\n */\n computedProjectRole: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n /**\n * The ID of this user.\n *\n * @example zTuNVUXEAvvnNN3IaqinkyMw\n */\n uid: string;\n /**\n * The unique username of this user.\n *\n * @example jane-doe\n */\n username: string;\n /**\n * The name of this user.\n *\n * @example Jane Doe\n */\n name?: string;\n /**\n * Timestamp in milliseconds when this member was added.\n *\n * @example 1588720733602\n */\n createdAt: number;\n /**\n * The role of this user in the team.\n *\n * @example CONTRIBUTOR\n */\n teamRole: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n }[];\n pagination: {\n hasNext: boolean;\n /**\n * Amount of items in the current page.\n *\n * @example 20\n */\n count: number;\n /**\n * Timestamp that must be used to request the next page.\n *\n * @example 1540095775951\n */\n next: number | null;\n /**\n * Timestamp that must be used to request the previous page.\n *\n * @example 1540095775951\n */\n prev: number | null;\n };\n },\n GetProjectMembersError,\n undefined,\n {},\n GetProjectMembersQueryParams,\n GetProjectMembersPathParams\n >({ url: '/v1/projects/{idOrName}/members', method: 'get', ...variables, signal });\n\nexport type AddProjectMemberPathParams = {\n /**\n * The ID or name of the Project.\n *\n * @example prj_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n};\n\nexport type AddProjectMemberQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type AddProjectMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type AddProjectMemberResponse = {\n id: string;\n};\n\nexport type AddProjectMemberVariables = {\n body:\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n };\n pathParams: AddProjectMemberPathParams;\n queryParams?: AddProjectMemberQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Adds a new member to the project.\n */\nexport const addProjectMember = (variables: AddProjectMemberVariables, signal?: AbortSignal) =>\n fetch<\n AddProjectMemberResponse,\n AddProjectMemberError,\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email?: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }\n | {\n /**\n * The ID of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid?: string;\n /**\n * The username of the team member that should be added to this project.\n *\n * @maxLength 256\n * @example example\n */\n username?: string;\n /**\n * The email of the team member that should be added to this project.\n *\n * @format email\n * @example entity@example.com\n */\n email: string;\n /**\n * The project role of the member that will be added.\n *\n * @example ADMIN\n */\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n },\n {},\n AddProjectMemberQueryParams,\n AddProjectMemberPathParams\n >({ url: '/v1/projects/{idOrName}/members', method: 'post', ...variables, signal });\n\nexport type RemoveProjectMemberPathParams = {\n /**\n * The ID or name of the Project.\n *\n * @example prj_pavWOn1iLObbXLRiwVvzmPrTWyTf\n */\n idOrName: string;\n /**\n * The user ID of the member.\n *\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n};\n\nexport type RemoveProjectMemberQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveProjectMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveProjectMemberResponse = {\n id: string;\n};\n\nexport type RemoveProjectMemberVariables = {\n pathParams: RemoveProjectMemberPathParams;\n queryParams?: RemoveProjectMemberQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove a member from a specific project\n */\nexport const removeProjectMember = (variables: RemoveProjectMemberVariables, signal?: AbortSignal) =>\n fetch<\n RemoveProjectMemberResponse,\n RemoveProjectMemberError,\n undefined,\n {},\n RemoveProjectMemberQueryParams,\n RemoveProjectMemberPathParams\n >({ url: '/v1/projects/{idOrName}/members/{uid}', method: 'delete', ...variables, signal });\n\nexport type GetProjectsQueryParams = {\n /**\n * Query only projects updated after the given timestamp\n */\n from?: string;\n /**\n * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed\n *\n * @example 1\n */\n gitForkProtection?: '1' | '0';\n /**\n * Limit the number of projects returned\n */\n limit?: string;\n /**\n * Search projects by the name field\n */\n search?: string;\n /**\n * Filter results by repo. Also used for project count\n */\n repo?: string;\n /**\n * Filter results by Repository ID.\n */\n repoId?: string;\n /**\n * Filter results by Repository URL.\n *\n * @example https://github.com/vercel/next.js\n */\n repoUrl?: string;\n /**\n * Filter results by excluding those projects that belong to a repo\n */\n excludeRepos?: string;\n /**\n * Filter results by connected Edge Config ID\n */\n edgeConfigId?: string;\n /**\n * Filter results by connected Edge Config Token ID\n */\n edgeConfigTokenId?: string;\n deprecated?: boolean;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectsResponse = {\n projects: {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n expirationDaysCanceled: number;\n expirationDaysErrored: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetProjectsVariables = {\n queryParams?: GetProjectsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve the list of projects of the authenticated user or team. The list will be paginated and the provided query parameters allow filtering the returned projects.\n */\nexport const getProjects = (variables: GetProjectsVariables, signal?: AbortSignal) =>\n fetch<GetProjectsResponse, GetProjectsError, undefined, {}, GetProjectsQueryParams, {}>({\n url: '/v9/projects',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateProjectResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n expirationDaysCanceled: number;\n expirationDaysErrored: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type CreateProjectRequestBody = {\n /**\n * The build command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n buildCommand?: string | null;\n /**\n * @maxLength 256\n */\n commandForIgnoringBuildStep?: string | null;\n /**\n * The dev command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n devCommand?: string | null;\n /**\n * Collection of ENV Variables the Project will use\n */\n environmentVariables?: {\n /**\n * Name of the ENV variable\n */\n key: string;\n /**\n * Deployment Target or Targets in which the ENV variable will be used\n */\n target: ('production' | 'preview' | 'development') | ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n */\n gitBranch?: string;\n /**\n * Type of the ENV variable\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * Value for the ENV variable\n */\n value: string;\n }[];\n /**\n * The framework that is being used for this project. When `null` is used no framework is selected\n */\n framework?:\n | any\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook';\n /**\n * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed\n */\n gitRepository?: {\n /**\n * The name of the git repository. For example: \\\"vercel/next.js\\\"\n */\n repo: string;\n /**\n * The Git Provider of the repository\n */\n type: 'github' | 'gitlab' | 'bitbucket';\n };\n /**\n * The install command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n installCommand?: string | null;\n /**\n * The desired name for the project\n *\n * @example a-project-name\n * @maxLength 100\n * @pattern ^(?!.*---)[a-z0-9-_.]+$\n */\n name: string;\n /**\n * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.\n *\n * @deprecated true\n */\n skipGitConnectDuringLink?: boolean;\n /**\n * The output directory of the project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n outputDirectory?: string | null;\n /**\n * Specifies whether the source code and logs of the deployments for this project should be public or not\n */\n publicSource?: boolean | null;\n /**\n * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root\n *\n * @maxLength 256\n */\n rootDirectory?: string | null;\n /**\n * The region to deploy Serverless Functions in this project\n *\n * @maxLength 4\n */\n serverlessFunctionRegion?: string | null;\n /**\n * Specifies whether Zero Config Failover is enabled for this project.\n */\n serverlessFunctionZeroConfigFailover?: boolean;\n};\n\nexport type CreateProjectVariables = {\n body: CreateProjectRequestBody;\n queryParams?: CreateProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.\n */\nexport const createProject = (variables: CreateProjectVariables, signal?: AbortSignal) =>\n fetch<CreateProjectResponse, CreateProjectError, CreateProjectRequestBody, {}, CreateProjectQueryParams, {}>({\n url: '/v10/projects',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetProjectPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string | boolean;\n};\n\nexport type GetProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n expirationDaysCanceled: number;\n expirationDaysErrored: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'additional' | 'exclusive';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type GetProjectVariables = {\n pathParams: GetProjectPathParams;\n queryParams?: GetProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get the information for a specific project by passing either the project `id` or `name` in the URL.\n */\nexport const getProject = (variables: GetProjectVariables, signal?: AbortSignal) =>\n fetch<GetProjectResponse, GetProjectError, undefined, {}, GetProjectQueryParams, GetProjectPathParams>({\n url: '/v9/projects/{idOrName}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type UpdateProjectPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n idOrName: string;\n};\n\nexport type UpdateProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateProjectResponse = {\n accountId: string;\n analytics?: {\n id: string;\n canceledAt?: number | null;\n disabledAt: number;\n enabledAt: number;\n paidAt?: number;\n sampleRatePercent?: number | null;\n spendLimitInDollars?: number | null;\n };\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n buildCommand?: string | null;\n commandForIgnoringBuildStep?: string | null;\n connectConfigurationId?: string | null;\n connectBuildsEnabled?: boolean;\n createdAt?: number;\n customerSupportCodeVisibility?: boolean;\n crons?: {\n /**\n * The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.\n */\n enabledAt: number;\n /**\n * The time the feature was disabled for this project.\n */\n disabledAt: number | null;\n updatedAt: number;\n /**\n * The ID of the Deployment from which the definitions originated.\n */\n deploymentId: string | null;\n definitions: {\n /**\n * The hostname that should be used.\n *\n * @example vercel.com\n */\n host: string;\n /**\n * The path that should be called for the cronjob.\n *\n * @example /api/crons/sync-something?hello=world\n */\n path: string;\n /**\n * The cron expression.\n *\n * @example 0 0 * * *\n */\n schedule: string;\n }[];\n };\n dataCache?: {\n userDisabled: boolean;\n storageSizeBytes?: number | null;\n unlimited?: boolean;\n };\n deploymentExpiration?: {\n expirationDays: number;\n expirationDaysProduction: number;\n expirationDaysCanceled: number;\n expirationDaysErrored: number;\n deploymentsToKeep: number;\n } | null;\n devCommand?: string | null;\n directoryListing: boolean;\n installCommand?: string | null;\n env?: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[];\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n gitLFS?: boolean;\n id: string;\n latestDeployments?: {\n alias?: string[];\n aliasAssigned?: number | boolean | null;\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasFinal?: string | null;\n automaticAliases?: string[];\n builds?: {\n use: string;\n src?: string;\n dest?: string;\n }[];\n connectBuildsEnabled?: boolean;\n connectConfigurationId?: string;\n createdAt: number;\n createdIn: string;\n creator: {\n email: string;\n githubLogin?: string;\n gitlabLogin?: string;\n uid: string;\n username: string;\n } | null;\n deletedAt?: number;\n deploymentHostname: string;\n name: string;\n forced?: boolean;\n id: string;\n meta?: {\n [key: string]: string;\n };\n monorepoManager?: string | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n private: boolean;\n readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n readySubstate?: 'STAGED' | 'PROMOTED';\n requestedAt?: number;\n target?: string | null;\n teamId?: string | null;\n type: 'LAMBDAS';\n url: string;\n userId: string;\n withCache?: boolean;\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n checksState?: 'registered' | 'running' | 'completed';\n readyAt?: number;\n buildingAt?: number;\n /**\n * Whether or not preview comments are enabled for the deployment\n *\n * @example false\n */\n previewCommentsEnabled?: boolean;\n oidcTokenClaims?: {\n [key: string]: string | string[];\n };\n }[];\n link?:\n | {\n org?: string;\n repo?: string;\n repoId?: number;\n type?: 'github';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n projectId?: string;\n projectName?: string;\n projectNameWithNamespace?: string;\n projectNamespace?: string;\n projectUrl?: string;\n type?: 'gitlab';\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n }\n | {\n name?: string;\n slug?: string;\n owner?: string;\n type?: 'bitbucket';\n uuid?: string;\n workspaceUuid?: string;\n createdAt?: number;\n deployHooks: {\n createdAt?: number;\n id: string;\n name: string;\n ref: string;\n url: string;\n }[];\n gitCredentialId?: string;\n updatedAt?: number;\n sourceless?: boolean;\n productionBranch?: string;\n };\n name: string;\n nodeVersion: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n optionsAllowlist?: {\n paths: {\n value: string;\n }[];\n } | null;\n outputDirectory?: string | null;\n passiveConnectConfigurationId?: string | null;\n passwordProtection?: Record<string, any> | null;\n productionDeploymentsFastLane?: boolean;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n serverlessFunctionZeroConfigFailover?: boolean;\n skewProtectionBoundaryAt?: number;\n skewProtectionMaxAge?: number;\n skipGitConnectDuringLink?: boolean;\n sourceFilesOutsideRootDirectory?: boolean;\n ssoProtection?: {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n targets?: {\n [key: string]: string | string[];\n };\n transferCompletedAt?: number;\n transferStartedAt?: number;\n transferToAccountId?: string;\n transferredFromAccountId?: string;\n updatedAt?: number;\n live?: boolean;\n enablePreviewFeedback?: boolean | null;\n permissions?: {\n accessGroup?: Schemas.ACLAction[];\n aliasGlobal?: Schemas.ACLAction[];\n analyticsSampling?: Schemas.ACLAction[];\n analyticsUsage?: Schemas.ACLAction[];\n auditLog?: Schemas.ACLAction[];\n billingAddress?: Schemas.ACLAction[];\n billingInformation?: Schemas.ACLAction[];\n billingInvoice?: Schemas.ACLAction[];\n billingInvoiceEmailRecipient?: Schemas.ACLAction[];\n billingInvoiceLanguage?: Schemas.ACLAction[];\n billingPlan?: Schemas.ACLAction[];\n billingPurchaseOrder?: Schemas.ACLAction[];\n billingTaxId?: Schemas.ACLAction[];\n blob?: Schemas.ACLAction[];\n budget?: Schemas.ACLAction[];\n cacheArtifact?: Schemas.ACLAction[];\n cacheArtifactUsageEvent?: Schemas.ACLAction[];\n codeChecks?: Schemas.ACLAction[];\n concurrentBuilds?: Schemas.ACLAction[];\n connect?: Schemas.ACLAction[];\n connectConfiguration?: Schemas.ACLAction[];\n domain?: Schemas.ACLAction[];\n domainAcceptDelegation?: Schemas.ACLAction[];\n domainAuthCodes?: Schemas.ACLAction[];\n domainCertificate?: Schemas.ACLAction[];\n domainCheckConfig?: Schemas.ACLAction[];\n domainMove?: Schemas.ACLAction[];\n domainPurchase?: Schemas.ACLAction[];\n domainRecord?: Schemas.ACLAction[];\n domainTransferIn?: Schemas.ACLAction[];\n event?: Schemas.ACLAction[];\n ownEvent?: Schemas.ACLAction[];\n sensitiveEnvironmentVariablePolicy?: Schemas.ACLAction[];\n fileUpload?: Schemas.ACLAction[];\n gitRepository?: Schemas.ACLAction[];\n ipBlocking?: Schemas.ACLAction[];\n integration?: Schemas.ACLAction[];\n integrationAccount?: Schemas.ACLAction[];\n integrationConfiguration?: Schemas.ACLAction[];\n integrationConfigurationTransfer?: Schemas.ACLAction[];\n integrationConfigurationProjects?: Schemas.ACLAction[];\n integrationVercelConfigurationOverride?: Schemas.ACLAction[];\n integrationStore?: Schemas.ACLAction[];\n integrationEvent?: Schemas.ACLAction[];\n integrationResourceSecrets?: Schemas.ACLAction[];\n marketplaceBillingData?: Schemas.ACLAction[];\n jobGlobal?: Schemas.ACLAction[];\n logDrain?: Schemas.ACLAction[];\n Monitoring?: Schemas.ACLAction[];\n monitoringSettings?: Schemas.ACLAction[];\n monitoringQuery?: Schemas.ACLAction[];\n monitoringChart?: Schemas.ACLAction[];\n monitoringAlert?: Schemas.ACLAction[];\n notificationDeploymentFailed?: Schemas.ACLAction[];\n notificationDomainConfiguration?: Schemas.ACLAction[];\n notificationDomainExpire?: Schemas.ACLAction[];\n notificationDomainMoved?: Schemas.ACLAction[];\n notificationDomainPurchase?: Schemas.ACLAction[];\n notificationDomainRenewal?: Schemas.ACLAction[];\n notificationDomainTransfer?: Schemas.ACLAction[];\n notificationDomainUnverified?: Schemas.ACLAction[];\n NotificationMonitoringAlert?: Schemas.ACLAction[];\n notificationPaymentFailed?: Schemas.ACLAction[];\n notificationUsageAlert?: Schemas.ACLAction[];\n notificationCustomerBudget?: Schemas.ACLAction[];\n notificationStatementOfReasons?: Schemas.ACLAction[];\n oauth2Connection?: Schemas.ACLAction[];\n openTelemetryEndpoint?: Schemas.ACLAction[];\n paymentMethod?: Schemas.ACLAction[];\n permissions?: Schemas.ACLAction[];\n postgres?: Schemas.ACLAction[];\n previewDeploymentSuffix?: Schemas.ACLAction[];\n proTrialOnboarding?: Schemas.ACLAction[];\n sharedEnvVars?: Schemas.ACLAction[];\n sharedEnvVarsProduction?: Schemas.ACLAction[];\n space?: Schemas.ACLAction[];\n spaceRun?: Schemas.ACLAction[];\n passwordProtectionInvoiceItem?: Schemas.ACLAction[];\n rateLimit?: Schemas.ACLAction[];\n redis?: Schemas.ACLAction[];\n repository?: Schemas.ACLAction[];\n remoteCaching?: Schemas.ACLAction[];\n samlConfig?: Schemas.ACLAction[];\n secret?: Schemas.ACLAction[];\n redisStoreTokenSet?: Schemas.ACLAction[];\n blobStoreTokenSet?: Schemas.ACLAction[];\n postgresStoreTokenSet?: Schemas.ACLAction[];\n integrationStoreTokenSet?: Schemas.ACLAction[];\n supportCase?: Schemas.ACLAction[];\n supportCaseComment?: Schemas.ACLAction[];\n dataCacheBillingSettings?: Schemas.ACLAction[];\n team?: Schemas.ACLAction[];\n teamAccessRequest?: Schemas.ACLAction[];\n teamFellowMembership?: Schemas.ACLAction[];\n teamInvite?: Schemas.ACLAction[];\n teamInviteCode?: Schemas.ACLAction[];\n teamJoin?: Schemas.ACLAction[];\n teamOwnMembership?: Schemas.ACLAction[];\n teamOwnMembershipDisconnectSAML?: Schemas.ACLAction[];\n token?: Schemas.ACLAction[];\n usage?: Schemas.ACLAction[];\n usageCycle?: Schemas.ACLAction[];\n user?: Schemas.ACLAction[];\n userConnection?: Schemas.ACLAction[];\n webAnalyticsPlan?: Schemas.ACLAction[];\n webAuthn?: Schemas.ACLAction[];\n edgeConfig?: Schemas.ACLAction[];\n edgeConfigItem?: Schemas.ACLAction[];\n edgeConfigSchema?: Schemas.ACLAction[];\n edgeConfigToken?: Schemas.ACLAction[];\n webhook?: Schemas.ACLAction[];\n ['webhook-event']?: Schemas.ACLAction[];\n endpointVerification?: Schemas.ACLAction[];\n projectTransferIn?: Schemas.ACLAction[];\n oauth2Application?: Schemas.ACLAction[];\n aliasProject?: Schemas.ACLAction[];\n aliasProtectionBypass?: Schemas.ACLAction[];\n productionAliasProtectionBypass?: Schemas.ACLAction[];\n connectConfigurationLink?: Schemas.ACLAction[];\n dataCacheNamespace?: Schemas.ACLAction[];\n deployment?: Schemas.ACLAction[];\n deploymentCheck?: Schemas.ACLAction[];\n deploymentCheckPreview?: Schemas.ACLAction[];\n deploymentCheckReRunFromProductionBranch?: Schemas.ACLAction[];\n deploymentProductionGit?: Schemas.ACLAction[];\n deploymentPreview?: Schemas.ACLAction[];\n deploymentPrivate?: Schemas.ACLAction[];\n deploymentPromote?: Schemas.ACLAction[];\n deploymentRollback?: Schemas.ACLAction[];\n environments?: Schemas.ACLAction[];\n logs?: Schemas.ACLAction[];\n logsPreset?: Schemas.ACLAction[];\n passwordProtection?: Schemas.ACLAction[];\n optionsAllowlist?: Schemas.ACLAction[];\n job?: Schemas.ACLAction[];\n project?: Schemas.ACLAction[];\n projectAccessGroup?: Schemas.ACLAction[];\n projectAnalyticsSampling?: Schemas.ACLAction[];\n projectDeploymentHook?: Schemas.ACLAction[];\n projectDomain?: Schemas.ACLAction[];\n projectDomainMove?: Schemas.ACLAction[];\n projectDomainCheckConfig?: Schemas.ACLAction[];\n projectEnvVars?: Schemas.ACLAction[];\n projectEnvVarsProduction?: Schemas.ACLAction[];\n projectEnvVarsUnownedByIntegration?: Schemas.ACLAction[];\n projectId?: Schemas.ACLAction[];\n projectIntegrationConfiguration?: Schemas.ACLAction[];\n projectLink?: Schemas.ACLAction[];\n projectMember?: Schemas.ACLAction[];\n projectMonitoring?: Schemas.ACLAction[];\n projectPermissions?: Schemas.ACLAction[];\n projectProductionBranch?: Schemas.ACLAction[];\n projectTransfer?: Schemas.ACLAction[];\n projectTransferOut?: Schemas.ACLAction[];\n projectProtectionBypass?: Schemas.ACLAction[];\n projectUsage?: Schemas.ACLAction[];\n projectAnalyticsUsage?: Schemas.ACLAction[];\n projectSupportCase?: Schemas.ACLAction[];\n projectSupportCaseComment?: Schemas.ACLAction[];\n projectDeploymentExpiration?: Schemas.ACLAction[];\n seawallConfig?: Schemas.ACLAction[];\n skewProtection?: Schemas.ACLAction[];\n analytics?: Schemas.ACLAction[];\n trustedIps?: Schemas.ACLAction[];\n webAnalytics?: Schemas.ACLAction[];\n sharedEnvVarConnection?: Schemas.ACLAction[];\n };\n lastRollbackTarget?: Record<string, any> | null;\n lastAliasRequest?: {\n fromDeploymentId: string;\n toDeploymentId: string;\n jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';\n requestedAt: number;\n type: 'promote' | 'rollback';\n } | null;\n hasFloatingAliases?: boolean;\n protectionBypass?: {\n [key: string]: {\n createdAt: number;\n createdBy: string;\n scope: 'automation-bypass';\n };\n };\n hasActiveBranches?: boolean;\n trustedIps?:\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n addresses: {\n value: string;\n note?: string;\n }[];\n protectionMode: 'exclusive' | 'additional';\n }\n | {\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews' | 'production';\n }\n | null;\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n paused?: boolean;\n concurrencyBucketName?: string;\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n security?: {\n attackModeEnabled?: boolean;\n attackModeUpdatedAt?: number;\n firewallEnabled?: boolean;\n firewallUpdatedAt?: number;\n attackModeActiveUntil?: number | null;\n firewallConfigVersion?: number;\n firewallRoutes?: {\n src?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n has?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n missing?: {\n type:\n | 'host'\n | 'method'\n | 'path'\n | 'header'\n | 'cookie'\n | 'query'\n | 'ip_address'\n | 'protocol'\n | 'scheme'\n | 'region';\n key?: string;\n value?:\n | string\n | {\n re?: string;\n eq?: string;\n neq?: string;\n inc?: string[];\n ninc?: string[];\n pre?: string;\n suf?: string;\n gt?: number;\n gte?: number;\n lt?: number;\n lte?: number;\n };\n }[];\n dest?: string;\n status?: number;\n handle?: 'init' | 'finalize';\n mitigate?: {\n action: 'deny' | 'challenge' | 'log' | 'bypass' | 'rate_limit';\n rule_id: string;\n erl?: {\n algo: 'fixed_window' | 'token_bucket';\n window: number;\n limit: number;\n keys: string[];\n };\n };\n }[];\n firewallSeawallEnabled?: boolean;\n ja3Enabled?: boolean;\n ja4Enabled?: boolean;\n };\n oidcTokenConfig?: {\n enabled: boolean;\n };\n};\n\nexport type UpdateProjectRequestBody = {\n autoExposeSystemEnvs?: boolean;\n autoAssignCustomDomains?: boolean;\n autoAssignCustomDomainsUpdatedBy?: string;\n /**\n * The build command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n buildCommand?: string | null;\n /**\n * @maxLength 256\n */\n commandForIgnoringBuildStep?: string | null;\n /**\n * Specifies whether customer support can see git source for a deployment\n */\n customerSupportCodeVisibility?: boolean;\n /**\n * The dev command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n devCommand?: string | null;\n directoryListing?: boolean;\n /**\n * The framework that is being used for this project. When `null` is used no framework is selected\n */\n framework?:\n | any\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n /**\n * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed\n */\n gitForkProtection?: boolean;\n /**\n * Specifies whether Git LFS is enabled for this project.\n */\n gitLFS?: boolean;\n /**\n * The install command for this project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n installCommand?: string | null;\n /**\n * The desired name for the project\n *\n * @example a-project-name\n * @maxLength 100\n * @pattern ^(?!.*---)[a-z0-9-_.]+$\n */\n name?: string;\n nodeVersion?: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x';\n /**\n * The output directory of the project. When `null` is used this value will be automatically detected\n *\n * @maxLength 256\n */\n outputDirectory?: string | null;\n /**\n * Specifies whether the source code and logs of the deployments for this project should be public or not\n */\n publicSource?: boolean | null;\n /**\n * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root\n *\n * @maxLength 256\n */\n rootDirectory?: string | null;\n /**\n * The region to deploy Serverless Functions in this project\n *\n * @maxLength 4\n */\n serverlessFunctionRegion?: string | null;\n /**\n * Specifies whether Zero Config Failover is enabled for this project.\n */\n serverlessFunctionZeroConfigFailover?: boolean;\n /**\n * Deployments created before this absolute datetime have Skew Protection disabled. Value is in milliseconds since epoch to match \\\"createdAt\\\" fields.\n *\n * @minimum 0\n */\n skewProtectionBoundaryAt?: number;\n /**\n * Deployments created before this rolling window have Skew Protection disabled. Value is in seconds to match \\\"revalidate\\\" fields.\n *\n * @minimum 0\n */\n skewProtectionMaxAge?: number;\n /**\n * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.\n *\n * @deprecated true\n */\n skipGitConnectDuringLink?: boolean;\n /**\n * Indicates if there are source files outside of the root directory\n */\n sourceFilesOutsideRootDirectory?: boolean;\n /**\n * Opt-in to Preview comments on the project level\n */\n enablePreviewFeedback?: boolean | null;\n /**\n * Allows to protect project deployments with a password\n */\n passwordProtection?: {\n /**\n * Specify if the password will apply to every Deployment Target or just Preview\n */\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n /**\n * The password that will be used to protect Project Deployments\n *\n * @maxLength 72\n */\n password?: string | null;\n } | null;\n /**\n * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team\n */\n ssoProtection?: {\n /**\n * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview\n *\n * @default preview\n */\n deploymentType: 'all' | 'preview' | 'prod_deployment_urls_and_all_previews';\n } | null;\n /**\n * Restricts access to deployments based on the incoming request IP address\n */\n trustedIps?: {\n /**\n * Specify if the Trusted IPs will apply to every Deployment Target or just Preview\n */\n deploymentType: 'all' | 'preview' | 'production' | 'prod_deployment_urls_and_all_previews';\n /**\n * @minItems 1\n */\n addresses: {\n /**\n * The IP addresses that are allowlisted. Supports IPv4 addresses and CIDR notations. IPv6 is not supported\n */\n value: string;\n /**\n * An optional note explaining what the IP address or subnet is used for\n *\n * @maxLength 20\n */\n note?: string;\n }[];\n /**\n * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param)\n */\n protectionMode: 'exclusive' | 'additional';\n } | null;\n /**\n * Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests\n */\n optionsAllowlist?: {\n /**\n * @minItems 1\n * @maxItems 5\n */\n paths: {\n /**\n * The regex path that should not be protected by Deployment Protection\n *\n * @pattern ^/.*\n */\n value: string;\n }[];\n } | null;\n};\n\nexport type UpdateProjectVariables = {\n body?: UpdateProjectRequestBody;\n pathParams: UpdateProjectPathParams;\n queryParams?: UpdateProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update the fields of a project using either its `name` or `id`.\n */\nexport const updateProject = (variables: UpdateProjectVariables, signal?: AbortSignal) =>\n fetch<\n UpdateProjectResponse,\n UpdateProjectError,\n UpdateProjectRequestBody,\n {},\n UpdateProjectQueryParams,\n UpdateProjectPathParams\n >({ url: '/v9/projects/{idOrName}', method: 'patch', ...variables, signal });\n\nexport type DeleteProjectPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n idOrName: string;\n};\n\nexport type DeleteProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteProjectVariables = {\n pathParams: DeleteProjectPathParams;\n queryParams?: DeleteProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a specific project by passing either the project `id` or `name` in the URL.\n */\nexport const deleteProject = (variables: DeleteProjectVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteProjectError, undefined, {}, DeleteProjectQueryParams, DeleteProjectPathParams>({\n url: '/v9/projects/{idOrName}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type GetProjectDomainsPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string | number;\n};\n\nexport type GetProjectDomainsQueryParams = {\n /**\n * Filters only production domains when set to `true`.\n *\n * @default false\n */\n production?: 'true' | 'false';\n /**\n * Filters domains based on specific branch.\n */\n gitBranch?: string;\n /**\n * Excludes redirect project domains when \\\"false\\\". Includes redirect project domains when \\\"true\\\" (default).\n *\n * @default true\n */\n redirects?: 'true' | 'false';\n /**\n * Filters domains based on their redirect target.\n *\n * @example example.com\n */\n redirect?: string;\n /**\n * Filters domains based on their verification status.\n */\n verified?: 'true' | 'false';\n /**\n * Maximum number of domains to list from a request (max 100).\n *\n * @example 20\n */\n limit?: number;\n /**\n * Get domains created after this JavaScript timestamp.\n *\n * @example 1609499532000\n */\n since?: number;\n /**\n * Get domains created before this JavaScript timestamp.\n *\n * @example 1612264332000\n */\n until?: number;\n /**\n * Domains sort order by createdAt\n *\n * @default DESC\n */\n order?: 'ASC' | 'DESC';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectDomainsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectDomainsResponse = {\n domains: {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetProjectDomainsVariables = {\n pathParams: GetProjectDomainsPathParams;\n queryParams?: GetProjectDomainsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve the domains associated with a given project by passing either the project `id` or `name` in the URL.\n */\nexport const getProjectDomains = (variables: GetProjectDomainsVariables, signal?: AbortSignal) =>\n fetch<\n GetProjectDomainsResponse,\n GetProjectDomainsError,\n undefined,\n {},\n GetProjectDomainsQueryParams,\n GetProjectDomainsPathParams\n >({ url: '/v9/projects/{idOrName}/domains', method: 'get', ...variables, signal });\n\nexport type GetProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n domain: string;\n};\n\nexport type GetProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type GetProjectDomainVariables = {\n pathParams: GetProjectDomainPathParams;\n queryParams?: GetProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get project domain by project id/name and domain name.\n */\nexport const getProjectDomain = (variables: GetProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n GetProjectDomainResponse,\n GetProjectDomainError,\n undefined,\n {},\n GetProjectDomainQueryParams,\n GetProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}', method: 'get', ...variables, signal });\n\nexport type UpdateProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n domain: string;\n};\n\nexport type UpdateProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UpdateProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type UpdateProjectDomainRequestBody = {\n /**\n * Git branch to link the project domain\n *\n * @example null\n * @maxLength 250\n */\n gitBranch?: string | null;\n /**\n * The unique custom environment identifier within the project\n */\n customEnvironmentId?: string;\n /**\n * Target destination domain for redirect\n *\n * @example foobar.com\n */\n redirect?: string | null;\n /**\n * Status code for domain redirect\n *\n * @example 307\n */\n redirectStatusCode?: any | 301 | 302 | 307 | 308 | null;\n};\n\nexport type UpdateProjectDomainVariables = {\n body?: UpdateProjectDomainRequestBody;\n pathParams: UpdateProjectDomainPathParams;\n queryParams?: UpdateProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update a project domain's configuration, including the name, git branch and redirect of the domain.\n */\nexport const updateProjectDomain = (variables: UpdateProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n UpdateProjectDomainResponse,\n UpdateProjectDomainError,\n UpdateProjectDomainRequestBody,\n {},\n UpdateProjectDomainQueryParams,\n UpdateProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}', method: 'patch', ...variables, signal });\n\nexport type RemoveProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n domain: string;\n};\n\nexport type RemoveProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveProjectDomainVariables = {\n pathParams: RemoveProjectDomainPathParams;\n queryParams?: RemoveProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove a domain from a project by passing the domain name and by specifying the project by either passing the project `id` or `name` in the URL.\n */\nexport const removeProjectDomain = (variables: RemoveProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n Record<string, any>,\n RemoveProjectDomainError,\n undefined,\n {},\n RemoveProjectDomainQueryParams,\n RemoveProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}', method: 'delete', ...variables, signal });\n\nexport type AddProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n */\n idOrName: string;\n};\n\nexport type AddProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type AddProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type AddProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type AddProjectDomainRequestBody = {\n /**\n * The project domain name\n *\n * @example www.example.com\n */\n name: string;\n /**\n * Git branch to link the project domain\n *\n * @example null\n * @maxLength 250\n */\n gitBranch?: string | null;\n /**\n * Target destination domain for redirect\n *\n * @example foobar.com\n */\n redirect?: string | null;\n /**\n * Status code for domain redirect\n *\n * @example 307\n */\n redirectStatusCode?: any | 301 | 302 | 307 | 308 | null;\n};\n\nexport type AddProjectDomainVariables = {\n body: AddProjectDomainRequestBody;\n pathParams: AddProjectDomainPathParams;\n queryParams?: AddProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Add a domain to the project by passing its domain name and by specifying the project by either passing the project `id` or `name` in the URL. If the domain is not yet verified to be used on this project, the request will return `verified = false`, and the domain will need to be verified according to the `verification` challenge via `POST /projects/:idOrName/domains/:domain/verify`. If the domain already exists on the project, the request will fail with a `400` status code.\n */\nexport const addProjectDomain = (variables: AddProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n AddProjectDomainResponse,\n AddProjectDomainError,\n AddProjectDomainRequestBody,\n {},\n AddProjectDomainQueryParams,\n AddProjectDomainPathParams\n >({ url: '/v10/projects/{idOrName}/domains', method: 'post', ...variables, signal });\n\nexport type VerifyProjectDomainPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n idOrName: string;\n /**\n * The domain name you want to verify\n *\n * @example example.com\n */\n domain: string;\n};\n\nexport type VerifyProjectDomainQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type VerifyProjectDomainError = Fetcher.ErrorWrapper<undefined>;\n\nexport type VerifyProjectDomainResponse = {\n name: string;\n apexName: string;\n projectId: string;\n redirect?: string | null;\n redirectStatusCode?: 307 | 301 | 302 | 308 | null;\n gitBranch?: string | null;\n customEnvironmentId?: string | null;\n updatedAt?: number;\n createdAt?: number;\n /**\n * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.\n */\n verified: boolean;\n /**\n * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.\n */\n verification?: {\n type: string;\n domain: string;\n value: string;\n reason: string;\n }[];\n};\n\nexport type VerifyProjectDomainVariables = {\n pathParams: VerifyProjectDomainPathParams;\n queryParams?: VerifyProjectDomainQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge.\n */\nexport const verifyProjectDomain = (variables: VerifyProjectDomainVariables, signal?: AbortSignal) =>\n fetch<\n VerifyProjectDomainResponse,\n VerifyProjectDomainError,\n undefined,\n {},\n VerifyProjectDomainQueryParams,\n VerifyProjectDomainPathParams\n >({ url: '/v9/projects/{idOrName}/domains/{domain}/verify', method: 'post', ...variables, signal });\n\nexport type FilterProjectEnvsPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n};\n\nexport type FilterProjectEnvsQueryParams = {\n /**\n * If defined, the git branch of the environment variable to filter the results (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string;\n /**\n * If true, the environment variable value will be decrypted\n *\n * @example true\n * @deprecated true\n */\n decrypt?: 'true' | 'false';\n /**\n * The source that is calling the endpoint.\n *\n * @example vercel-cli:pull\n */\n source?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type FilterProjectEnvsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type FilterProjectEnvsVariables = {\n pathParams: FilterProjectEnvsPathParams;\n queryParams?: FilterProjectEnvsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve the environment variables for a given project by passing either the project `id` or `name` in the URL.\n */\nexport const filterProjectEnvs = (variables: FilterProjectEnvsVariables, signal?: AbortSignal) =>\n fetch<\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }\n | {\n envs: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }[];\n pagination: Schemas.Pagination;\n }\n | {\n envs: {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }[];\n },\n FilterProjectEnvsError,\n undefined,\n {},\n FilterProjectEnvsQueryParams,\n FilterProjectEnvsPathParams\n >({ url: '/v9/projects/{idOrName}/env', method: 'get', ...variables, signal });\n\nexport type GetProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n /**\n * The unique ID for the environment variable to get the decrypted value.\n */\n id: string;\n};\n\nexport type GetProjectEnvQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetProjectEnvVariables = {\n pathParams: GetProjectEnvPathParams;\n queryParams?: GetProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve the environment variable for a given project.\n */\nexport const getProjectEnv = (variables: GetProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n | {\n decrypted: boolean;\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n comment?: string;\n customEnvironmentIds?: string[];\n }\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'secret' | 'system' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n },\n GetProjectEnvError,\n undefined,\n {},\n GetProjectEnvQueryParams,\n GetProjectEnvPathParams\n >({ url: '/v1/projects/{idOrName}/env/{id}', method: 'get', ...variables, signal });\n\nexport type CreateProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n};\n\nexport type CreateProjectEnvQueryParams = {\n /**\n * Allow override of environment variable if it already exists\n *\n * @example true\n */\n upsert?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateProjectEnvResponse = {\n created:\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key?: string;\n value?: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n system?: boolean;\n }[];\n failed: {\n error: {\n code: string;\n message: string;\n key?: string;\n envVarId?: string;\n envVarKey?: string;\n action?: string;\n link?: string;\n value?:\n | string\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[];\n gitBranch?: string;\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n project?: string;\n };\n }[];\n};\n\nexport type CreateProjectEnvVariables = {\n body?:\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )[];\n pathParams: CreateProjectEnvPathParams;\n queryParams?: CreateProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Create one ore more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL.\n */\nexport const createProjectEnv = (variables: CreateProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n CreateProjectEnvResponse,\n CreateProjectEnvError,\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )\n | (\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n | {\n /**\n * The name of the environment variable\n *\n * @example API_URL\n */\n key?: string;\n /**\n * The value of the environment variable\n *\n * @example https://api.vercel.com\n */\n value?: string;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * A comment to add context on what this environment variable is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n }\n )[],\n {},\n CreateProjectEnvQueryParams,\n CreateProjectEnvPathParams\n >({ url: '/v10/projects/{idOrName}/env', method: 'post', ...variables, signal });\n\nexport type RemoveProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n /**\n * The unique environment variable identifier\n *\n * @example XMbOEya1gUUO1ir4\n */\n id: string;\n};\n\nexport type RemoveProjectEnvQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveProjectEnvVariables = {\n pathParams: RemoveProjectEnvPathParams;\n queryParams?: RemoveProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL.\n */\nexport const removeProjectEnv = (variables: RemoveProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }[]\n | {\n system?: boolean;\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n }\n | {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n },\n RemoveProjectEnvError,\n undefined,\n {},\n RemoveProjectEnvQueryParams,\n RemoveProjectEnvPathParams\n >({ url: '/v9/projects/{idOrName}/env/{id}', method: 'delete', ...variables, signal });\n\nexport type EditProjectEnvPathParams = {\n /**\n * The unique project identifier or the project name\n *\n * @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA\n */\n idOrName: string;\n /**\n * The unique environment variable identifier\n *\n * @example XMbOEya1gUUO1ir4\n */\n id: string;\n};\n\nexport type EditProjectEnvQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type EditProjectEnvError = Fetcher.ErrorWrapper<undefined>;\n\nexport type EditProjectEnvResponse = {\n target?:\n | ('production' | 'preview' | 'development' | 'preview' | 'development')[]\n | ('production' | 'preview' | 'development' | 'preview' | 'development');\n type: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';\n /**\n * This is used to identiy variables that have been migrated from type secret to sensitive.\n */\n sunsetSecretId?: string;\n id?: string;\n key: string;\n value: string;\n configurationId?: string | null;\n createdAt?: number;\n updatedAt?: number;\n createdBy?: string | null;\n updatedBy?: string | null;\n gitBranch?: string;\n edgeConfigId?: string | null;\n edgeConfigTokenId?: string | null;\n contentHint?:\n | {\n type: 'redis-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-url';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-token';\n storeId: string;\n }\n | {\n type: 'redis-rest-api-read-only-token';\n storeId: string;\n }\n | {\n type: 'blob-read-write-token';\n storeId: string;\n }\n | {\n type: 'postgres-url';\n storeId: string;\n }\n | {\n type: 'postgres-url-non-pooling';\n storeId: string;\n }\n | {\n type: 'postgres-prisma-url';\n storeId: string;\n }\n | {\n type: 'postgres-user';\n storeId: string;\n }\n | {\n type: 'postgres-host';\n storeId: string;\n }\n | {\n type: 'postgres-password';\n storeId: string;\n }\n | {\n type: 'postgres-database';\n storeId: string;\n }\n | {\n type: 'postgres-url-no-ssl';\n storeId: string;\n }\n | {\n type: 'integration-store-secret';\n storeId: string;\n }\n | null;\n /**\n * Similar to `contentHints`, but should not be exposed to the user.\n */\n internalContentHint?: {\n type: 'flags-secret';\n /**\n * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.\n */\n encryptedValue: string;\n } | null;\n /**\n * Whether `value` is decrypted.\n */\n decrypted?: boolean;\n comment?: string;\n customEnvironmentIds?: string[];\n};\n\nexport type EditProjectEnvRequestBody = {\n /**\n * The name of the environment variable\n *\n * @example GITHUB_APP_ID\n */\n key?: string;\n /**\n * The target environment of the environment variable\n *\n * @example preview\n */\n target?: ('production' | 'preview' | 'development')[];\n /**\n * If defined, the git branch of the environment variable (must have target=preview)\n *\n * @maxLength 250\n * @example feature-1\n */\n gitBranch?: string | null;\n /**\n * The type of environment variable\n *\n * @example plain\n */\n type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';\n /**\n * The value of the environment variable\n *\n * @example bkWIjbnxcvo78\n */\n value?: string;\n customEnvironmentIds?: string[];\n /**\n * A comment to add context on what this env var is for\n *\n * @example database connection string for production\n * @maxLength 500\n */\n comment?: string;\n};\n\nexport type EditProjectEnvVariables = {\n body?: EditProjectEnvRequestBody;\n pathParams: EditProjectEnvPathParams;\n queryParams?: EditProjectEnvQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Edit a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL.\n */\nexport const editProjectEnv = (variables: EditProjectEnvVariables, signal?: AbortSignal) =>\n fetch<\n EditProjectEnvResponse,\n EditProjectEnvError,\n EditProjectEnvRequestBody,\n {},\n EditProjectEnvQueryParams,\n EditProjectEnvPathParams\n >({ url: '/v9/projects/{idOrName}/env/{id}', method: 'patch', ...variables, signal });\n\nexport type RequestPromotePathParams = {\n projectId: string;\n deploymentId: string;\n};\n\nexport type RequestPromoteQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RequestPromoteError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RequestPromoteVariables = {\n pathParams: RequestPromotePathParams;\n queryParams?: RequestPromoteQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows users to promote a deployment to production. Note: This does NOT rebuild the deployment. If you need that, then call create-deployments endpoint.\n */\nexport const requestPromote = (variables: RequestPromoteVariables, signal?: AbortSignal) =>\n fetch<undefined, RequestPromoteError, undefined, {}, RequestPromoteQueryParams, RequestPromotePathParams>({\n url: '/v10/projects/{projectId}/promote/{deploymentId}',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type ListPromoteAliasesPathParams = {\n projectId: string;\n};\n\nexport type ListPromoteAliasesQueryParams = {\n /**\n * Maximum number of aliases to list from a request (max 100).\n *\n * @example 20\n * @maximum 100\n */\n limit?: number;\n /**\n * Get aliases created after this epoch timestamp.\n *\n * @example 1609499532000\n */\n since?: number;\n /**\n * Get aliases created before this epoch timestamp.\n *\n * @example 1612264332000\n */\n until?: number;\n /**\n * Filter results down to aliases that failed to map to the requested deployment\n */\n failedOnly?: boolean;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListPromoteAliasesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListPromoteAliasesVariables = {\n pathParams: ListPromoteAliasesPathParams;\n queryParams?: ListPromoteAliasesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a list of aliases related to the last promote request with their mapping status\n */\nexport const listPromoteAliases = (variables: ListPromoteAliasesVariables, signal?: AbortSignal) =>\n fetch<\n | Record<string, any>\n | {\n aliases: {\n status: string;\n alias: string;\n id: string;\n }[];\n pagination: Schemas.Pagination;\n },\n ListPromoteAliasesError,\n undefined,\n {},\n ListPromoteAliasesQueryParams,\n ListPromoteAliasesPathParams\n >({ url: '/v1/projects/{projectId}/promote/aliases', method: 'get', ...variables, signal });\n\nexport type PauseProjectPathParams = {\n /**\n * The unique project identifier\n */\n projectId: string;\n};\n\nexport type PauseProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PauseProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PauseProjectVariables = {\n pathParams: PauseProjectPathParams;\n queryParams?: PauseProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Pause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project disables auto assigning custom production domains and blocks the active Production Deployment then the request will return with 200 status code.\n */\nexport const pauseProject = (variables: PauseProjectVariables, signal?: AbortSignal) =>\n fetch<undefined, PauseProjectError, undefined, {}, PauseProjectQueryParams, PauseProjectPathParams>({\n url: '/v1/projects/{projectId}/pause',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UnpauseProjectPathParams = {\n /**\n * The unique project identifier\n */\n projectId: string;\n};\n\nexport type UnpauseProjectQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UnpauseProjectError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UnpauseProjectVariables = {\n pathParams: UnpauseProjectPathParams;\n queryParams?: UnpauseProjectQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Unpause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project enables auto assigning custom production domains and unblocks the active Production Deployment then the request will return with 200 status code.\n */\nexport const unpauseProject = (variables: UnpauseProjectVariables, signal?: AbortSignal) =>\n fetch<undefined, UnpauseProjectError, undefined, {}, UnpauseProjectQueryParams, UnpauseProjectPathParams>({\n url: '/v1/projects/{projectId}/unpause',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetTeamMembersQueryParams = {\n /**\n * Limit how many teams should be returned\n *\n * @example 20\n * @minimum 1\n */\n limit?: number;\n /**\n * Timestamp in milliseconds to only include members added since then.\n *\n * @example 1540095775951\n */\n since?: number;\n /**\n * Timestamp in milliseconds to only include members added until then.\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Search team members by their name, username, and email.\n */\n search?: string;\n /**\n * Only return members with the specified team role.\n *\n * @example OWNER\n */\n role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER' | 'BILLING' | 'CONTRIBUTOR';\n /**\n * Exclude members who belong to the specified project.\n */\n excludeProject?: string;\n /**\n * Include team members who are eligible to be members of the specified project.\n */\n eligibleMembersForProjectId?: string;\n};\n\nexport type GetTeamMembersError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamMembersResponse = {\n members: {\n /**\n * ID of the file for the Avatar of this member.\n *\n * @example 123a6c5209bc3778245d011443644c8d27dc2c50\n */\n avatar?: string;\n /**\n * Boolean that indicates if this member was confirmed by an owner.\n *\n * @example true\n */\n confirmed: boolean;\n /**\n * The email of this member.\n *\n * @example jane.doe@example.com\n */\n email: string;\n /**\n * Information about the GitHub account for this user.\n */\n github?: {\n login?: string;\n };\n /**\n * Information about the GitLab account of this user.\n */\n gitlab?: {\n login?: string;\n };\n /**\n * Information about the Bitbucket account of this user.\n */\n bitbucket?: {\n login?: string;\n };\n /**\n * Role of this user in the team.\n *\n * @example OWNER\n */\n role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n /**\n * The ID of this user.\n *\n * @example zTuNVUXEAvvnNN3IaqinkyMw\n */\n uid: string;\n /**\n * The unique username of this user.\n *\n * @example jane-doe\n */\n username: string;\n /**\n * The name of this user.\n *\n * @example Jane Doe\n */\n name?: string;\n /**\n * Timestamp in milliseconds when this member was added.\n *\n * @example 1588720733602\n */\n createdAt: number;\n /**\n * Timestamp in milliseconds for when this team member was accepted by an owner.\n *\n * @example 1588820733602\n */\n accessRequestedAt?: number;\n /**\n * Map with information about the members origin if they joined by requesting access.\n */\n joinedFrom?: {\n origin:\n | 'teams'\n | 'link'\n | 'mail'\n | 'import'\n | 'github'\n | 'gitlab'\n | 'bitbucket'\n | 'saml'\n | 'dsync'\n | 'feedback'\n | 'organization-teams';\n commitId?: string;\n repoId?: string;\n repoPath?: string;\n gitUserId?: string | number;\n gitUserLogin?: string;\n ssoUserId?: string;\n ssoConnectedAt?: number;\n idpUserId?: string;\n dsyncUserId?: string;\n dsyncConnectedAt?: number;\n };\n /**\n * Array of project memberships\n */\n projects?: {\n name?: string;\n id?: string;\n role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n }[];\n }[];\n emailInviteCodes?: {\n accessGroups?: string[];\n id: string;\n email?: string;\n role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n isDSyncUser: boolean;\n createdAt?: number;\n expired?: boolean;\n projects?: {\n [key: string]: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';\n };\n }[];\n pagination: {\n hasNext: boolean;\n /**\n * Amount of items in the current page.\n *\n * @example 20\n */\n count: number;\n /**\n * Timestamp that must be used to request the next page.\n *\n * @example 1540095775951\n */\n next: number | null;\n /**\n * Timestamp that must be used to request the previous page.\n *\n * @example 1540095775951\n */\n prev: number | null;\n };\n};\n\nexport type GetTeamMembersVariables = {\n queryParams?: GetTeamMembersQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a paginated list of team members for the provided team.\n */\nexport const getTeamMembers = (variables: GetTeamMembersVariables, signal?: AbortSignal) =>\n fetch<GetTeamMembersResponse, GetTeamMembersError, undefined, {}, GetTeamMembersQueryParams, {}>({\n url: '/v2/teams/{teamId}/members',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type InviteUserToTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type InviteUserToTeamRequestBody = {\n /**\n * The id of the user to invite\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n uid?: string;\n /**\n * The email address of the user to invite\n *\n * @format email\n * @example john@example.com\n */\n email?: string;\n /**\n * The role of the user to invite\n *\n * @default MEMBER\n * @default VIEWER\n * @example MEMBER\n * @example VIEWER\n */\n role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 64\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * Sets the project roles for the invited user\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER';\n }[];\n};\n\nexport type InviteUserToTeamVariables = {\n body?: InviteUserToTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.\n */\nexport const inviteUserToTeam = (variables: InviteUserToTeamVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * The ID of the invited user\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf\n */\n uid: string;\n /**\n * The username of the invited user\n *\n * @example john-doe\n */\n username: string;\n /**\n * The email of the invited user. Not included if the user was invited via their UID.\n *\n * @example john@user.co\n */\n email?: string;\n /**\n * The role used for the invitation\n *\n * @example MEMBER\n */\n role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n }\n | {\n uid: string;\n username: string;\n role: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR';\n },\n InviteUserToTeamError,\n InviteUserToTeamRequestBody,\n {},\n {},\n {}\n >({ url: '/v1/teams/{teamId}/members', method: 'post', ...variables, signal });\n\nexport type RequestAccessToTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RequestAccessToTeamResponse = {\n teamSlug: string;\n teamName: string;\n confirmed?: boolean;\n joinedFrom?: {\n origin:\n | 'import'\n | 'teams'\n | 'github'\n | 'gitlab'\n | 'bitbucket'\n | 'feedback'\n | 'organization-teams'\n | 'mail'\n | 'link'\n | 'saml'\n | 'dsync';\n commitId?: string;\n repoId?: string;\n repoPath?: string;\n gitUserId?: string | number;\n gitUserLogin?: string;\n ssoUserId?: string;\n ssoConnectedAt?: number;\n idpUserId?: string;\n dsyncUserId?: string;\n dsyncConnectedAt?: number;\n };\n accessRequestedAt?: number;\n github: {\n login?: string;\n } | null;\n gitlab: {\n login?: string;\n } | null;\n bitbucket: {\n login?: string;\n } | null;\n};\n\nexport type RequestAccessToTeamRequestBody = {\n joinedFrom: {\n /**\n * The origin of the request.\n *\n * @example github\n */\n origin: 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'feedback' | 'organization-teams';\n /**\n * The commit sha if the origin is a git provider.\n *\n * @example f498d25d8bd654b578716203be73084b31130cd7\n */\n commitId?: string;\n /**\n * The ID of the repository for the given Git provider.\n *\n * @example 67753070\n */\n repoId?: string;\n /**\n * The path to the repository for the given Git provider.\n *\n * @example jane-doe/example\n */\n repoPath?: string;\n /**\n * The ID of the Git account of the user who requests access.\n *\n * @example 103053343\n */\n gitUserId?: string | number;\n /**\n * The login name for the Git account of the user who requests access.\n *\n * @example jane-doe\n */\n gitUserLogin?: string;\n };\n};\n\nexport type RequestAccessToTeamVariables = {\n body: RequestAccessToTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.\n */\nexport const requestAccessToTeam = (variables: RequestAccessToTeamVariables, signal?: AbortSignal) =>\n fetch<RequestAccessToTeamResponse, RequestAccessToTeamError, RequestAccessToTeamRequestBody, {}, {}, {}>({\n url: '/v1/teams/{teamId}/request',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetTeamAccessRequestPathParams = {\n userId?: string;\n};\n\nexport type GetTeamAccessRequestError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamAccessRequestResponse = {\n /**\n * The slug of the team.\n *\n * @example my-team\n */\n teamSlug: string;\n /**\n * The name of the team.\n *\n * @example My Team\n */\n teamName: string;\n /**\n * Current status of the membership. Will be `true` if confirmed, if pending it'll be `false`.\n *\n * @example false\n */\n confirmed: boolean;\n /**\n * A map that describes the origin from where the user joined.\n */\n joinedFrom: {\n origin:\n | 'mail'\n | 'link'\n | 'import'\n | 'teams'\n | 'github'\n | 'gitlab'\n | 'bitbucket'\n | 'saml'\n | 'dsync'\n | 'feedback'\n | 'organization-teams';\n commitId?: string;\n repoId?: string;\n repoPath?: string;\n gitUserId?: string | number;\n gitUserLogin?: string;\n ssoUserId?: string;\n ssoConnectedAt?: number;\n idpUserId?: string;\n dsyncUserId?: string;\n dsyncConnectedAt?: number;\n };\n /**\n * Timestamp in milliseconds when the user requested access to the team.\n *\n * @example 1588720733602\n */\n accessRequestedAt: number;\n /**\n * Map of the connected GitHub account.\n */\n github: {\n login?: string;\n } | null;\n /**\n * Map of the connected GitLab account.\n */\n gitlab: {\n login?: string;\n } | null;\n /**\n * Map of the connected Bitbucket account.\n */\n bitbucket: {\n login?: string;\n } | null;\n};\n\nexport type GetTeamAccessRequestVariables = {\n pathParams?: GetTeamAccessRequestPathParams;\n} & FetcherExtraProps;\n\n/**\n * Check the status of a join request. It'll respond with a 404 if the request has been declined. If no `userId` path segment was provided, this endpoint will instead return the status of the authenticated user.\n */\nexport const getTeamAccessRequest = (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) =>\n fetch<GetTeamAccessRequestResponse, GetTeamAccessRequestError, undefined, {}, {}, GetTeamAccessRequestPathParams>({\n url: '/v1/teams/{teamId}/request/{userId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type JoinTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type JoinTeamResponse = {\n /**\n * The ID of the team the user joined.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId: string;\n /**\n * The slug of the team the user joined.\n *\n * @example my-team\n */\n slug: string;\n /**\n * The name of the team the user joined.\n *\n * @example My Team\n */\n name: string;\n /**\n * The origin of how the user joined.\n *\n * @example email\n */\n from: string;\n};\n\nexport type JoinTeamRequestBody = {\n /**\n * The invite code to join the team.\n *\n * @example fisdh38aejkeivn34nslfore9vjtn4ls\n */\n inviteCode?: string;\n};\n\nexport type JoinTeamVariables = {\n body?: JoinTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Join a team with a provided invite code or team ID.\n */\nexport const joinTeam = (variables: JoinTeamVariables, signal?: AbortSignal) =>\n fetch<JoinTeamResponse, JoinTeamError, JoinTeamRequestBody, {}, {}, {}>({\n url: '/v1/teams/{teamId}/members/teams/join',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UpdateTeamMemberPathParams = {\n /**\n * The ID of the member.\n *\n * @example ndfasllgPyCtREAqxxdyFKb\n */\n uid: string;\n};\n\nexport type UpdateTeamMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UpdateTeamMemberResponse = {\n /**\n * ID of the team.\n */\n id: string;\n};\n\nexport type UpdateTeamMemberRequestBody = {\n /**\n * Accept a user who requested access to the team.\n *\n * @example true\n */\n confirmed?: true;\n /**\n * The role in the team of the member.\n *\n * @default MEMBER\n * @default VIEWER\n * @example MEMBER\n * @example VIEWER\n */\n role?: string;\n projects?: {\n /**\n * The ID of the project.\n *\n * @maxLength 256\n * @example prj_ndlgr43fadlPyCtREAqxxdyFK\n */\n projectId: string;\n /**\n * The project role of the member that will be added. \\\"null\\\" will remove this project level role.\n *\n * @example ADMIN\n */\n role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;\n }[];\n joinedFrom?: {\n ssoUserId?: null;\n };\n};\n\nexport type UpdateTeamMemberVariables = {\n body?: UpdateTeamMemberRequestBody;\n pathParams: UpdateTeamMemberPathParams;\n} & FetcherExtraProps;\n\n/**\n * Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. The authenticated user must be an `OWNER` of the Team.\n */\nexport const updateTeamMember = (variables: UpdateTeamMemberVariables, signal?: AbortSignal) =>\n fetch<\n UpdateTeamMemberResponse,\n UpdateTeamMemberError,\n UpdateTeamMemberRequestBody,\n {},\n {},\n UpdateTeamMemberPathParams\n >({ url: '/v1/teams/{teamId}/members/{uid}', method: 'patch', ...variables, signal });\n\nexport type RemoveTeamMemberPathParams = {\n /**\n * The user ID of the member.\n *\n * @example ndlgr43fadlPyCtREAqxxdyFK\n */\n uid: string;\n};\n\nexport type RemoveTeamMemberQueryParams = {\n /**\n * The ID of the team to set as the new default team for the Northstar user.\n *\n * @example team_nllPyCtREAqxxdyFKbbMDlxd\n */\n newDefaultTeamId?: string;\n};\n\nexport type RemoveTeamMemberError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveTeamMemberResponse = {\n /**\n * ID of the team.\n */\n id: string;\n};\n\nexport type RemoveTeamMemberVariables = {\n pathParams: RemoveTeamMemberPathParams;\n queryParams?: RemoveTeamMemberQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.\n */\nexport const removeTeamMember = (variables: RemoveTeamMemberVariables, signal?: AbortSignal) =>\n fetch<\n RemoveTeamMemberResponse,\n RemoveTeamMemberError,\n undefined,\n {},\n RemoveTeamMemberQueryParams,\n RemoveTeamMemberPathParams\n >({ url: '/v1/teams/{teamId}/members/{uid}', method: 'delete', ...variables, signal });\n\nexport type GetTeamPathParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n};\n\nexport type GetTeamQueryParams = {\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamVariables = {\n pathParams?: GetTeamPathParams;\n queryParams?: GetTeamQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get information for the Team specified by the `teamId` parameter.\n */\nexport const getTeam = (variables: GetTeamVariables, signal?: AbortSignal) =>\n fetch<Schemas.Team, GetTeamError, undefined, {}, GetTeamQueryParams, GetTeamPathParams>({\n url: '/v2/teams/{teamId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type PatchTeamPathParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId: string;\n};\n\nexport type PatchTeamQueryParams = {\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type PatchTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type PatchTeamRequestBody = {\n /**\n * The hash value of an uploaded image.\n *\n * @format regex\n */\n avatar?: string;\n /**\n * A short text that describes the team.\n *\n * @maxLength 140\n * @example Our mission is to make cloud computing accessible to everyone\n */\n description?: string;\n /**\n * @format regex\n * @example example.com\n */\n emailDomain?: string | null;\n /**\n * The name of the team.\n *\n * @maxLength 256\n * @example My Team\n */\n name?: string;\n /**\n * Suffix that will be used for all preview deployments.\n *\n * @format hostname\n * @example example.dev\n */\n previewDeploymentSuffix?: string | null;\n /**\n * Create a new invite code and replace the current one.\n *\n * @example true\n */\n regenerateInviteCode?: boolean;\n saml?: {\n /**\n * Require that members of the team use SAML Single Sign-On.\n *\n * @example true\n */\n enforced?: boolean;\n /**\n * Directory groups to role or access group mappings.\n */\n roles?: {\n [key: string]:\n | ('OWNER' | 'MEMBER' | 'DEVELOPER' | 'BILLING' | 'VIEWER' | 'CONTRIBUTOR')\n | {\n /**\n * @pattern ^ag_[A-z0-9_ -]+$\n */\n accessGroupId: string;\n };\n };\n };\n /**\n * A new slug for the team.\n *\n * @example my-team\n */\n slug?: string;\n /**\n * Enable preview comments: one of on, off or default.\n *\n * @example on\n */\n enablePreviewFeedback?: string;\n /**\n * Sensitive environment variable policy: one of on, off or default.\n *\n * @example on\n */\n sensitiveEnvironmentVariablePolicy?: string;\n /**\n * Whether or not remote caching is enabled for the team\n */\n remoteCaching?: {\n /**\n * Enable or disable remote caching for the team.\n *\n * @example true\n */\n enabled?: boolean;\n };\n /**\n * Display or hide IP addresses in Monitoring queries.\n *\n * @example false\n */\n hideIpAddresses?: boolean;\n};\n\nexport type PatchTeamVariables = {\n body?: PatchTeamRequestBody;\n pathParams: PatchTeamPathParams;\n queryParams?: PatchTeamQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team.\n */\nexport const patchTeam = (variables: PatchTeamVariables, signal?: AbortSignal) =>\n fetch<Schemas.Team, PatchTeamError, PatchTeamRequestBody, {}, PatchTeamQueryParams, PatchTeamPathParams>({\n url: '/v2/teams/{teamId}',\n method: 'patch',\n ...variables,\n signal\n });\n\nexport type GetTeamsQueryParams = {\n /**\n * Maximum number of Teams which may be returned.\n *\n * @example 20\n */\n limit?: number;\n /**\n * Timestamp (in milliseconds) to only include Teams created since then.\n *\n * @example 1540095775951\n */\n since?: number;\n /**\n * Timestamp (in milliseconds) to only include Teams created until then.\n *\n * @example 1540095775951\n */\n until?: number;\n};\n\nexport type GetTeamsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetTeamsResponse = {\n teams: (Schemas.Team | Schemas.TeamLimited)[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetTeamsVariables = {\n queryParams?: GetTeamsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a paginated list of all the Teams the authenticated User is a member of.\n */\nexport const getTeams = (variables: GetTeamsVariables, signal?: AbortSignal) =>\n fetch<GetTeamsResponse, GetTeamsError, undefined, {}, GetTeamsQueryParams, {}>({\n url: '/v2/teams',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateTeamResponse = {\n /**\n * Id of the created team\n *\n * @example team_nLlpyC6RE1qxqglFKbrMxlud\n */\n id: string;\n slug: string;\n billing: {\n currency?: 'usd' | 'eur';\n cancelation?: number | null;\n period: {\n start: number;\n end: number;\n } | null;\n contract?: {\n start: number;\n end: number;\n } | null;\n plan: 'pro' | 'enterprise' | 'hobby';\n planIteration?: string;\n platform?: 'stripe' | 'stripeTestMode';\n orbCustomerId?: string;\n syncedAt?: number;\n programType?: 'startup' | 'agency';\n trial?: {\n start: number;\n end: number;\n } | null;\n email?: string | null;\n tax?: {\n type: string;\n id: string;\n } | null;\n language?: string | null;\n address?: {\n line1?: string;\n line2?: string;\n postalCode?: string;\n city?: string;\n country?: string;\n state?: string;\n } | null;\n name?: string | null;\n invoiceItems?: {\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n pro?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n enterprise?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n analytics?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n concurrentBuilds?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n monitoring?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n passwordProtection?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n previewDeploymentSuffix?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n saml?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n teamSeats?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n /**\n * Will be used to create an invoice item. The price must be in cents: 2000 for $20.\n */\n webAnalytics?: {\n tier?: number;\n price: number;\n quantity: number;\n /**\n * The highest quantity in the current period. Used to render the correct enable/disable UI for add-ons.\n */\n highestQuantity?: number;\n name?: string;\n hidden: boolean;\n createdAt?: number;\n disabledAt?: number | null;\n frequency?: {\n interval: 'month';\n intervalCount: 2 | 1 | 3 | 6 | 12;\n };\n maxQuantity?: number;\n };\n analyticsUsage?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n artifacts?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n bandwidth?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobStores?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalAdvancedRequests?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalAvgSizeInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalGetResponseObjectSizeInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n blobTotalSimpleRequests?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n buildMinute?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n dataCacheRead?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n dataCacheRevalidation?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n dataCacheWrite?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeConfigRead?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeConfigWrite?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeFunctionExecutionUnits?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeMiddlewareInvocations?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeRequest?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n edgeRequestAdditionalCpuDuration?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n fastDataTransfer?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n fastOriginTransfer?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n functionDuration?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n functionInvocation?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n logDrainsVolume?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n monitoringMetric?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresComputeTime?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresDataStorage?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresDataTransfer?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresDatabase?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n postgresWrittenData?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n serverlessFunctionExecution?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n sourceImages?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalBandwidthInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalCommands?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalDailyAvgStorageInBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n storageRedisTotalDatabases?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n wafOwaspExcessBytes?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n wafOwaspRequests?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n webAnalyticsEvent?: {\n matrix?: {\n defaultUnitPrice: string;\n dimensionPrices: {\n [key: string]: string;\n };\n };\n tier?: number;\n price: number;\n batch: number;\n threshold: number;\n name?: string;\n hidden: boolean;\n disabledAt?: number | null;\n enabledAt?: number | null;\n };\n } | null;\n invoiceSettings?: {\n footer?: string;\n };\n subscriptions?:\n | {\n id: string;\n trial: {\n start: number;\n end: number;\n } | null;\n period: {\n start: number;\n end: number;\n };\n frequency: {\n interval: 'month' | 'day' | 'week' | 'year';\n intervalCount: number;\n };\n discount: {\n id: string;\n coupon: {\n id: string;\n name: string | null;\n amountOff: number | null;\n percentageOff: number | null;\n durationInMonths: number | null;\n duration: 'forever' | 'repeating' | 'once';\n };\n } | null;\n items: {\n id: string;\n priceId: string;\n productId: string;\n amount: number;\n quantity: number;\n }[];\n }[]\n | null;\n controls?: {\n analyticsSampleRateInPercent?: number | null;\n analyticsSpendLimitInDollars?: number | null;\n } | null;\n purchaseOrder?: string | null;\n status?: 'active' | 'trialing' | 'overdue' | 'expired' | 'canceled';\n pricingExperiment?: 'august-2022';\n orbMigrationScheduledAt?: number | null;\n forceOrbMigration?: boolean | null;\n };\n};\n\nexport type CreateTeamRequestBody = {\n /**\n * The desired slug for the Team\n *\n * @example a-random-team\n * @maxLength 48\n */\n slug: string;\n /**\n * The desired name for the Team. It will be generated from the provided slug if nothing is provided\n *\n * @example A Random Team\n * @maxLength 256\n */\n name?: string;\n /**\n * Attribution information for the session or current page\n */\n attribution?: {\n /**\n * Session referrer\n */\n sessionReferrer?: string;\n /**\n * Session landing page\n */\n landingPage?: string;\n /**\n * Referrer to the signup page\n */\n pageBeforeConversionPage?: string;\n utm?: {\n /**\n * UTM source\n */\n utmSource?: string;\n /**\n * UTM medium\n */\n utmMedium?: string;\n /**\n * UTM campaign\n */\n utmCampaign?: string;\n /**\n * UTM term\n */\n utmTerm?: string;\n };\n };\n};\n\nexport type CreateTeamVariables = {\n body: CreateTeamRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.\n */\nexport const createTeam = (variables: CreateTeamVariables, signal?: AbortSignal) =>\n fetch<CreateTeamResponse, CreateTeamError, CreateTeamRequestBody, {}, {}, {}>({\n url: '/v1/teams',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type DeleteTeamPathParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId: string;\n};\n\nexport type DeleteTeamQueryParams = {\n /**\n * Id of the team to be set as the new default team\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n newDefaultTeamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteTeamError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteTeamResponse = {\n /**\n * The ID of the deleted Team\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n id: string;\n /**\n * Signifies whether the default team update has failed, when newDefaultTeamId is provided in request query.\n *\n * @example true\n */\n newDefaultTeamIdError?: boolean;\n};\n\nexport type DeleteTeamRequestBody = {\n /**\n * Optional array of objects that describe the reason why the team is being deleted.\n */\n reasons?: {\n /**\n * Idenitifier slug of the reason why the team is being deleted.\n */\n slug: string;\n /**\n * Description of the reason why the team is being deleted.\n */\n description: string;\n }[];\n};\n\nexport type DeleteTeamVariables = {\n body?: DeleteTeamRequestBody;\n pathParams: DeleteTeamPathParams;\n queryParams?: DeleteTeamQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete a team under your account. You need to send a `DELETE` request with the desired team `id`. An optional array of reasons for deletion may also be sent.\n */\nexport const deleteTeam = (variables: DeleteTeamVariables, signal?: AbortSignal) =>\n fetch<DeleteTeamResponse, DeleteTeamError, DeleteTeamRequestBody, {}, DeleteTeamQueryParams, DeleteTeamPathParams>({\n url: '/v1/teams/{teamId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type DeleteTeamInviteCodePathParams = {\n /**\n * The Team invite code ID.\n *\n * @example 2wn2hudbr4chb1ecywo9dvzo7g9sscs6mzcz8htdde0txyom4l\n */\n inviteId: string;\n};\n\nexport type DeleteTeamInviteCodeError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteTeamInviteCodeResponse = {\n /**\n * ID of the team.\n */\n id: string;\n};\n\nexport type DeleteTeamInviteCodeVariables = {\n pathParams: DeleteTeamInviteCodePathParams;\n} & FetcherExtraProps;\n\n/**\n * Delete an active Team invite code.\n */\nexport const deleteTeamInviteCode = (variables: DeleteTeamInviteCodeVariables, signal?: AbortSignal) =>\n fetch<DeleteTeamInviteCodeResponse, DeleteTeamInviteCodeError, undefined, {}, {}, DeleteTeamInviteCodePathParams>({\n url: '/v1/teams/{teamId}/invites/{inviteId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type UploadFileQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UploadFileHeaders = {\n /**\n * The file size in bytes\n */\n ['Content-Length']?: number;\n /**\n * The file SHA1 used to check the integrity\n *\n * @maxLength 40\n */\n ['x-vercel-digest']?: string;\n /**\n * The file SHA1 used to check the integrity\n *\n * @deprecated true\n * @maxLength 40\n */\n ['x-now-digest']?: string;\n /**\n * The file size as an alternative to `Content-Length`\n *\n * @deprecated true\n */\n ['x-now-size']?: number;\n};\n\nexport type UploadFileError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UploadFileVariables = {\n headers?: UploadFileHeaders;\n queryParams?: UploadFileQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Before you create a deployment you need to upload the required files for that deployment. To do it, you need to first upload each file to this endpoint. Once that's completed, you can create a new deployment with the uploaded files. The file content must be placed inside the body of the request. In the case of a successful response you'll receive a status code 200 with an empty body.\n */\nexport const uploadFile = (variables: UploadFileVariables, signal?: AbortSignal) =>\n fetch<\n | {\n /**\n * Array of URLs where the file was updated\n *\n * @example example-upload.aws.com\n */\n urls: string[];\n }\n | Record<string, any>,\n UploadFileError,\n undefined,\n UploadFileHeaders,\n UploadFileQueryParams,\n {}\n >({ url: '/v2/files', method: 'post', ...variables, signal });\n\nexport type GetAuthUserError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAuthUserResponse = {\n user: Schemas.AuthUser | Schemas.AuthUserLimited;\n};\n\nexport type GetAuthUserVariables = FetcherExtraProps;\n\n/**\n * Retrieves information related to the currently authenticated User.\n */\nexport const getAuthUser = (variables: GetAuthUserVariables, signal?: AbortSignal) =>\n fetch<GetAuthUserResponse, GetAuthUserError, undefined, {}, {}, {}>({\n url: '/v2/user',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type RequestDeleteError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RequestDeleteResponse = {\n /**\n * Unique identifier of the User who has initiated deletion.\n */\n id: string;\n /**\n * Email address of the User who has initiated deletion.\n */\n email: string;\n /**\n * User deletion progress status.\n *\n * @example Verification email sent\n */\n message: string;\n};\n\nexport type RequestDeleteRequestBody = {\n /**\n * Optional array of objects that describe the reason why the User account is being deleted.\n */\n reasons?: {\n /**\n * Idenitifier slug of the reason why the User account is being deleted.\n */\n slug: string;\n /**\n * Description of the reason why the User account is being deleted.\n */\n description: string;\n }[];\n};\n\nexport type RequestDeleteVariables = {\n body?: RequestDeleteRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Initiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process.\n */\nexport const requestDelete = (variables: RequestDeleteVariables, signal?: AbortSignal) =>\n fetch<RequestDeleteResponse, RequestDeleteError, RequestDeleteRequestBody, {}, {}, {}>({\n url: '/v1/user',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListAuthTokensError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAuthTokensResponse = {\n tokens: Schemas.AuthToken[];\n testingToken?: Schemas.AuthToken;\n pagination: Schemas.Pagination;\n};\n\nexport type ListAuthTokensVariables = FetcherExtraProps;\n\n/**\n * Retrieve a list of the current User's authentication tokens.\n */\nexport const listAuthTokens = (variables: ListAuthTokensVariables, signal?: AbortSignal) =>\n fetch<ListAuthTokensResponse, ListAuthTokensError, undefined, {}, {}, {}>({\n url: '/v5/user/tokens',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateAuthTokenQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateAuthTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateAuthTokenResponse = {\n token: Schemas.AuthToken;\n /**\n * The authentication token's actual value. This token is only provided in this response, and can never be retrieved again in the future. Be sure to save it somewhere safe!\n *\n * @example uRKJSTt0L4RaSkiMj41QTkxM\n */\n bearerToken: string;\n};\n\nexport type CreateAuthTokenVariables = {\n body?:\n | {\n name: string;\n expiresAt?: number;\n }\n | {\n type: 'oauth2-token';\n name: string;\n clientId?: string;\n installationId?: string;\n expiresAt?: number;\n };\n queryParams?: CreateAuthTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates and returns a new authentication token for the currently authenticated User. The `bearerToken` property is only provided once, in the response body, so be sure to save it on the client for use with API requests.\n */\nexport const createAuthToken = (variables: CreateAuthTokenVariables, signal?: AbortSignal) =>\n fetch<\n CreateAuthTokenResponse,\n CreateAuthTokenError,\n | {\n name: string;\n expiresAt?: number;\n }\n | {\n type: 'oauth2-token';\n name: string;\n clientId?: string;\n installationId?: string;\n expiresAt?: number;\n },\n {},\n CreateAuthTokenQueryParams,\n {}\n >({ url: '/v3/user/tokens', method: 'post', ...variables, signal });\n\nexport type GetAuthTokenPathParams = {\n /**\n * The identifier of the token to retrieve. The special value \\\"current\\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with.\n *\n * @example 5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391\n */\n tokenId: string;\n};\n\nexport type GetAuthTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAuthTokenResponse = {\n token: Schemas.AuthToken;\n};\n\nexport type GetAuthTokenVariables = {\n pathParams: GetAuthTokenPathParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieve metadata about an authentication token belonging to the currently authenticated User.\n */\nexport const getAuthToken = (variables: GetAuthTokenVariables, signal?: AbortSignal) =>\n fetch<GetAuthTokenResponse, GetAuthTokenError, undefined, {}, {}, GetAuthTokenPathParams>({\n url: '/v5/user/tokens/{tokenId}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteAuthTokenPathParams = {\n /**\n * The identifier of the token to invalidate. The special value \\\"current\\\" may be supplied, which invalidates the token that the HTTP request was authenticated with.\n *\n * @example 5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391\n */\n tokenId: string;\n};\n\nexport type DeleteAuthTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteAuthTokenResponse = {\n /**\n * The unique identifier of the token that was deleted.\n *\n * @example 5d9f2ebd38ddca62e5d51e9c1704c72530bdc8bfdd41e782a6687c48399e8391\n */\n tokenId: string;\n};\n\nexport type DeleteAuthTokenVariables = {\n pathParams: DeleteAuthTokenPathParams;\n} & FetcherExtraProps;\n\n/**\n * Invalidate an authentication token, such that it will no longer be valid for future HTTP requests.\n */\nexport const deleteAuthToken = (variables: DeleteAuthTokenVariables, signal?: AbortSignal) =>\n fetch<DeleteAuthTokenResponse, DeleteAuthTokenError, undefined, {}, {}, DeleteAuthTokenPathParams>({\n url: '/v3/user/tokens/{tokenId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type CreateWebhookQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateWebhookError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateWebhookResponse = {\n /**\n * The webhook secret used to sign the payload\n */\n secret: string;\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n};\n\nexport type CreateWebhookRequestBody = {\n /**\n * @format uri\n * @pattern ^https?://\n */\n url: string;\n /**\n * @minItems 1\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * @minItems 1\n * @maxItems 50\n */\n projectIds?: string[];\n};\n\nexport type CreateWebhookVariables = {\n body: CreateWebhookRequestBody;\n queryParams?: CreateWebhookQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a webhook\n */\nexport const createWebhook = (variables: CreateWebhookVariables, signal?: AbortSignal) =>\n fetch<CreateWebhookResponse, CreateWebhookError, CreateWebhookRequestBody, {}, CreateWebhookQueryParams, {}>({\n url: '/v1/webhooks',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type GetWebhooksQueryParams = {\n /**\n * @pattern ^[a-zA-z0-9_]+$\n */\n projectId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetWebhooksError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetWebhooksVariables = {\n queryParams?: GetWebhooksQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a list of webhooks\n */\nexport const getWebhooks = (variables: GetWebhooksVariables, signal?: AbortSignal) =>\n fetch<\n | {\n projectsMetadata:\n | {\n id: string;\n name: string;\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n latestDeployment?: string;\n }[]\n | null;\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n }[]\n | {\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n }[],\n GetWebhooksError,\n undefined,\n {},\n GetWebhooksQueryParams,\n {}\n >({ url: '/v1/webhooks', method: 'get', ...variables, signal });\n\nexport type GetWebhookPathParams = {\n id: string;\n};\n\nexport type GetWebhookQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetWebhookError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetWebhookResponse = {\n /**\n * The webhooks events\n *\n * @example deployment.created\n */\n events: (\n | 'budget.reached'\n | 'budget.reset'\n | 'domain.created'\n | 'deployment.created'\n | 'deployment.error'\n | 'deployment.canceled'\n | 'deployment.succeeded'\n | 'deployment.ready'\n | 'deployment.check-rerequested'\n | 'integration-configuration.permission-upgraded'\n | 'integration-configuration.removed'\n | 'integration-configuration.scope-change-confirmed'\n | 'project.created'\n | 'project.removed'\n | 'deployment-checks-completed'\n | 'deployment-ready'\n | 'deployment-prepared'\n | 'deployment-error'\n | 'deployment-check-rerequested'\n | 'deployment-canceled'\n | 'project-created'\n | 'project-removed'\n | 'domain-created'\n | 'deployment'\n | 'integration-configuration-permission-updated'\n | 'integration-configuration-removed'\n | 'integration-configuration-scope-change-confirmed'\n | 'test-webhook'\n )[];\n /**\n * The webhook id\n *\n * @example account_hook_GflD6EYyo7F4ViYS\n */\n id: string;\n /**\n * A string with the URL of the webhook\n *\n * @example https://my-webhook.com\n */\n url: string;\n /**\n * The unique ID of the team the webhook belongs to\n *\n * @example ZspSRT4ljIEEmMHgoDwKWDei\n */\n ownerId: string;\n /**\n * A number containing the date when the webhook was created in in milliseconds\n *\n * @example 1567024758130\n */\n createdAt: number;\n /**\n * A number containing the date when the webhook was updated in in milliseconds\n *\n * @example 1567024758130\n */\n updatedAt: number;\n /**\n * The ID of the projects the webhook is associated with\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectIds?: string[];\n};\n\nexport type GetWebhookVariables = {\n pathParams: GetWebhookPathParams;\n queryParams?: GetWebhookQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get a webhook\n */\nexport const getWebhook = (variables: GetWebhookVariables, signal?: AbortSignal) =>\n fetch<GetWebhookResponse, GetWebhookError, undefined, {}, GetWebhookQueryParams, GetWebhookPathParams>({\n url: '/v1/webhooks/{id}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteWebhookPathParams = {\n id: string;\n};\n\nexport type DeleteWebhookQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteWebhookError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteWebhookVariables = {\n pathParams: DeleteWebhookPathParams;\n queryParams?: DeleteWebhookQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Deletes a webhook\n */\nexport const deleteWebhook = (variables: DeleteWebhookVariables, signal?: AbortSignal) =>\n fetch<undefined, DeleteWebhookError, undefined, {}, DeleteWebhookQueryParams, DeleteWebhookPathParams>({\n url: '/v1/webhooks/{id}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListAliasesQueryParams = {\n /**\n * Get only aliases of the given domain name\n *\n * @example my-test-domain.com\n * @maxItems 20\n */\n domain?: string[] | string;\n /**\n * Get only aliases created after the provided timestamp\n *\n * @deprecated true\n * @example 1540095775951\n */\n from?: number;\n /**\n * Maximum number of aliases to list from a request\n *\n * @example 10\n */\n limit?: number;\n /**\n * Filter aliases from the given `projectId`\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId?: string;\n /**\n * Get aliases created after this JavaScript timestamp\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Get aliases created before this JavaScript timestamp\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Get aliases that would be rolled back for the given deployment\n *\n * @example dpl_XXX\n */\n rollbackDeploymentId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListAliasesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListAliasesResponse = {\n aliases: {\n /**\n * The alias name, it could be a `.vercel.app` subdomain or a custom domain\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * The date when the alias was created in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n createdAt?: number;\n /**\n * Information of the user who created the alias\n */\n creator?: {\n /**\n * ID of the user who created the alias\n *\n * @example 96SnxkFiMyVKsK3pnoHfx3Hz\n */\n uid: string;\n /**\n * Email of the user who created the alias\n *\n * @example john-doe@gmail.com\n */\n email: string;\n /**\n * Username of the user who created the alias\n *\n * @example john-doe\n */\n username: string;\n };\n /**\n * The date when the alias was deleted in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n deletedAt?: number;\n /**\n * A map with the deployment ID, URL and metadata\n */\n deployment?: {\n /**\n * The deployment unique identifier\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n id: string;\n /**\n * The deployment unique URL\n *\n * @example my-instant-deployment-3ij3cxz9qr.now.sh\n */\n url: string;\n /**\n * The deployment metadata\n *\n * @example {}\n */\n meta?: string;\n };\n /**\n * The deployment ID\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n deploymentId: string | null;\n /**\n * The unique identifier of the project\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId: string | null;\n /**\n * Target destination domain for redirect when the alias is a redirect\n */\n redirect?: string | null;\n /**\n * Status code to be used on redirect\n */\n redirectStatusCode?: 301 | 302 | 307 | 308 | null;\n /**\n * The unique identifier of the alias\n */\n uid: string;\n /**\n * The date when the alias was updated in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n updatedAt?: number;\n /**\n * The protection bypass for the alias\n */\n protectionBypass?: {\n [key: string]:\n | {\n createdAt: number;\n createdBy: string;\n scope: 'shareable-link';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n access: 'requested' | 'granted';\n scope: 'user';\n }\n | {\n createdAt: number;\n createdBy: string;\n scope: 'alias-protection-override';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n scope: 'email_invite';\n };\n };\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type ListAliasesVariables = {\n queryParams?: ListAliasesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves a list of aliases for the authenticated User or Team. When `domain` is provided, only aliases for that domain will be returned. When `projectId` is provided, it will only return the given project aliases.\n */\nexport const listAliases = (variables: ListAliasesVariables, signal?: AbortSignal) =>\n fetch<ListAliasesResponse, ListAliasesError, undefined, {}, ListAliasesQueryParams, {}>({\n url: '/v4/aliases',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type GetAliasPathParams = {\n /**\n * The alias or alias ID to be retrieved\n *\n * @example example.vercel.app\n */\n idOrAlias: string;\n};\n\nexport type GetAliasQueryParams = {\n /**\n * Get the alias only if it was created after the provided timestamp\n *\n * @deprecated true\n * @example 1540095775951\n */\n from?: number;\n /**\n * Get the alias only if it is assigned to the provided project ID\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId?: string;\n /**\n * Get the alias only if it was created after this JavaScript timestamp\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Get the alias only if it was created before this JavaScript timestamp\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetAliasError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetAliasResponse = {\n /**\n * The alias name, it could be a `.vercel.app` subdomain or a custom domain\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * The date when the alias was created in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n createdAt?: number;\n /**\n * Information of the user who created the alias\n */\n creator?: {\n /**\n * ID of the user who created the alias\n *\n * @example 96SnxkFiMyVKsK3pnoHfx3Hz\n */\n uid: string;\n /**\n * Email of the user who created the alias\n *\n * @example john-doe@gmail.com\n */\n email: string;\n /**\n * Username of the user who created the alias\n *\n * @example john-doe\n */\n username: string;\n };\n /**\n * The date when the alias was deleted in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n deletedAt?: number;\n /**\n * A map with the deployment ID, URL and metadata\n */\n deployment?: {\n /**\n * The deployment unique identifier\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n id: string;\n /**\n * The deployment unique URL\n *\n * @example my-instant-deployment-3ij3cxz9qr.now.sh\n */\n url: string;\n /**\n * The deployment metadata\n *\n * @example {}\n */\n meta?: string;\n };\n /**\n * The deployment ID\n *\n * @example dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx\n */\n deploymentId: string | null;\n /**\n * The unique identifier of the project\n *\n * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB\n */\n projectId: string | null;\n /**\n * Target destination domain for redirect when the alias is a redirect\n */\n redirect?: string | null;\n /**\n * Status code to be used on redirect\n */\n redirectStatusCode?: 301 | 302 | 307 | 308 | null;\n /**\n * The unique identifier of the alias\n */\n uid: string;\n /**\n * The date when the alias was updated in milliseconds since the UNIX epoch\n *\n * @example 1540095775941\n */\n updatedAt?: number;\n /**\n * The protection bypass for the alias\n */\n protectionBypass?: {\n [key: string]:\n | {\n createdAt: number;\n createdBy: string;\n scope: 'shareable-link';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n access: 'requested' | 'granted';\n scope: 'user';\n }\n | {\n createdAt: number;\n createdBy: string;\n scope: 'alias-protection-override';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n scope: 'email_invite';\n };\n };\n};\n\nexport type GetAliasVariables = {\n pathParams: GetAliasPathParams;\n queryParams?: GetAliasQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves an Alias for the given host name or alias ID.\n */\nexport const getAlias = (variables: GetAliasVariables, signal?: AbortSignal) =>\n fetch<GetAliasResponse, GetAliasError, undefined, {}, GetAliasQueryParams, GetAliasPathParams>({\n url: '/v4/aliases/{idOrAlias}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteAliasPathParams = {\n /**\n * The ID or alias that will be removed\n *\n * @example 2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n aliasId: string;\n};\n\nexport type DeleteAliasQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteAliasError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteAliasResponse = {\n status: 'SUCCESS';\n};\n\nexport type DeleteAliasVariables = {\n pathParams: DeleteAliasPathParams;\n queryParams?: DeleteAliasQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Delete an Alias with the specified ID.\n */\nexport const deleteAlias = (variables: DeleteAliasVariables, signal?: AbortSignal) =>\n fetch<DeleteAliasResponse, DeleteAliasError, undefined, {}, DeleteAliasQueryParams, DeleteAliasPathParams>({\n url: '/v2/aliases/{aliasId}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type ListDeploymentAliasesPathParams = {\n /**\n * The ID of the deployment the aliases should be listed for\n *\n * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa\n */\n id: string;\n};\n\nexport type ListDeploymentAliasesQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListDeploymentAliasesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListDeploymentAliasesResponse = {\n /**\n * A list of the aliases assigned to the deployment\n */\n aliases: {\n /**\n * The unique identifier of the alias\n *\n * @example 2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n uid: string;\n /**\n * The alias name, it could be a `.vercel.app` subdomain or a custom domain\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * Target destination domain for redirect when the alias is a redirect\n */\n redirect?: string | null;\n /**\n * The protection bypass for the alias\n */\n protectionBypass?: {\n [key: string]:\n | {\n createdAt: number;\n createdBy: string;\n scope: 'shareable-link';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n access: 'requested' | 'granted';\n scope: 'user';\n }\n | {\n createdAt: number;\n createdBy: string;\n scope: 'alias-protection-override';\n }\n | {\n createdAt: number;\n lastUpdatedAt: number;\n lastUpdatedBy: string;\n scope: 'email_invite';\n };\n };\n }[];\n};\n\nexport type ListDeploymentAliasesVariables = {\n pathParams: ListDeploymentAliasesPathParams;\n queryParams?: ListDeploymentAliasesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.\n */\nexport const listDeploymentAliases = (variables: ListDeploymentAliasesVariables, signal?: AbortSignal) =>\n fetch<\n ListDeploymentAliasesResponse,\n ListDeploymentAliasesError,\n undefined,\n {},\n ListDeploymentAliasesQueryParams,\n ListDeploymentAliasesPathParams\n >({ url: '/v2/deployments/{id}/aliases', method: 'get', ...variables, signal });\n\nexport type AssignAliasPathParams = {\n /**\n * The ID of the deployment the aliases should be listed for\n *\n * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa\n */\n id: string;\n};\n\nexport type AssignAliasQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type AssignAliasError = Fetcher.ErrorWrapper<undefined>;\n\nexport type AssignAliasResponse = {\n /**\n * The unique identifier of the alias\n *\n * @example 2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n uid: string;\n /**\n * The assigned alias name\n *\n * @example my-alias.vercel.app\n */\n alias: string;\n /**\n * The date when the alias was created\n *\n * @format date-time\n * @example 2017-04-26T23:00:34.232Z\n */\n created: string;\n /**\n * The unique identifier of the previously aliased deployment, only received when the alias was used before\n *\n * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa\n */\n oldDeploymentId?: string | null;\n};\n\nexport type AssignAliasRequestBody = {\n /**\n * The alias we want to assign to the deployment defined in the URL\n *\n * @example my-alias.vercel.app\n */\n alias?: string;\n /**\n * The redirect property will take precedence over the deployment id from the URL and consists of a hostname (like test.com) to which the alias should redirect using status code 307\n *\n * @example null\n */\n redirect?: string | null;\n};\n\nexport type AssignAliasVariables = {\n body?: AssignAliasRequestBody;\n pathParams: AssignAliasPathParams;\n queryParams?: AssignAliasQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Creates a new alias for the deployment with the given deployment ID. The authenticated user or team must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.\n */\nexport const assignAlias = (variables: AssignAliasVariables, signal?: AbortSignal) =>\n fetch<\n AssignAliasResponse,\n AssignAliasError,\n AssignAliasRequestBody,\n {},\n AssignAliasQueryParams,\n AssignAliasPathParams\n >({ url: '/v2/deployments/{id}/aliases', method: 'post', ...variables, signal });\n\nexport type GetCertByIdPathParams = {\n /**\n * The cert id\n */\n id: string;\n};\n\nexport type GetCertByIdQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetCertByIdError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetCertByIdResponse = {\n id: string;\n createdAt: number;\n expiresAt: number;\n autoRenew: boolean;\n cns: string[];\n};\n\nexport type GetCertByIdVariables = {\n pathParams: GetCertByIdPathParams;\n queryParams?: GetCertByIdQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Get cert by id\n */\nexport const getCertById = (variables: GetCertByIdVariables, signal?: AbortSignal) =>\n fetch<GetCertByIdResponse, GetCertByIdError, undefined, {}, GetCertByIdQueryParams, GetCertByIdPathParams>({\n url: '/v7/certs/{id}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type RemoveCertPathParams = {\n /**\n * The cert id to remove\n */\n id: string;\n};\n\nexport type RemoveCertQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RemoveCertError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RemoveCertVariables = {\n pathParams: RemoveCertPathParams;\n queryParams?: RemoveCertQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Remove cert\n */\nexport const removeCert = (variables: RemoveCertVariables, signal?: AbortSignal) =>\n fetch<Record<string, any>, RemoveCertError, undefined, {}, RemoveCertQueryParams, RemoveCertPathParams>({\n url: '/v7/certs/{id}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport type IssueCertQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type IssueCertError = Fetcher.ErrorWrapper<undefined>;\n\nexport type IssueCertResponse = {\n id: string;\n createdAt: number;\n expiresAt: number;\n autoRenew: boolean;\n cns: string[];\n};\n\nexport type IssueCertRequestBody = {\n /**\n * The common names the cert should be issued for\n */\n cns?: string[];\n};\n\nexport type IssueCertVariables = {\n body?: IssueCertRequestBody;\n queryParams?: IssueCertQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Issue a new cert\n */\nexport const issueCert = (variables: IssueCertVariables, signal?: AbortSignal) =>\n fetch<IssueCertResponse, IssueCertError, IssueCertRequestBody, {}, IssueCertQueryParams, {}>({\n url: '/v7/certs',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type UploadCertQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type UploadCertError = Fetcher.ErrorWrapper<undefined>;\n\nexport type UploadCertResponse = {\n id: string;\n createdAt: number;\n expiresAt: number;\n autoRenew: boolean;\n cns: string[];\n};\n\nexport type UploadCertRequestBody = {\n /**\n * The certificate authority\n */\n ca: string;\n /**\n * The certificate key\n */\n key: string;\n /**\n * The certificate\n */\n cert: string;\n /**\n * Skip validation of the certificate\n */\n skipValidation?: boolean;\n};\n\nexport type UploadCertVariables = {\n body: UploadCertRequestBody;\n queryParams?: UploadCertQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Upload a cert\n */\nexport const uploadCert = (variables: UploadCertVariables, signal?: AbortSignal) =>\n fetch<UploadCertResponse, UploadCertError, UploadCertRequestBody, {}, UploadCertQueryParams, {}>({\n url: '/v7/certs',\n method: 'put',\n ...variables,\n signal\n });\n\nexport type ListDeploymentFilesPathParams = {\n /**\n * The unique deployment identifier\n */\n id: string;\n};\n\nexport type ListDeploymentFilesQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type ListDeploymentFilesError = Fetcher.ErrorWrapper<undefined>;\n\nexport type ListDeploymentFilesResponse = Schemas.FileTree[];\n\nexport type ListDeploymentFilesVariables = {\n pathParams: ListDeploymentFilesPathParams;\n queryParams?: ListDeploymentFilesQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve the file structure of a deployment by supplying the deployment unique identifier.\n */\nexport const listDeploymentFiles = (variables: ListDeploymentFilesVariables, signal?: AbortSignal) =>\n fetch<\n ListDeploymentFilesResponse,\n ListDeploymentFilesError,\n undefined,\n {},\n ListDeploymentFilesQueryParams,\n ListDeploymentFilesPathParams\n >({ url: '/v6/deployments/{id}/files', method: 'get', ...variables, signal });\n\nexport type GetDeploymentFileContentsPathParams = {\n /**\n * The unique deployment identifier\n */\n id: string;\n /**\n * The unique file identifier\n */\n fileId: string;\n};\n\nexport type GetDeploymentFileContentsQueryParams = {\n /**\n * Path to the file to fetch (only for Git deployments)\n */\n path?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentFileContentsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentFileContentsVariables = {\n pathParams: GetDeploymentFileContentsPathParams;\n queryParams?: GetDeploymentFileContentsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64.\n */\nexport const getDeploymentFileContents = (variables: GetDeploymentFileContentsVariables, signal?: AbortSignal) =>\n fetch<\n undefined,\n GetDeploymentFileContentsError,\n undefined,\n {},\n GetDeploymentFileContentsQueryParams,\n GetDeploymentFileContentsPathParams\n >({ url: '/v7/deployments/{id}/files/{fileId}', method: 'get', ...variables, signal });\n\nexport type GetDeploymentsQueryParams = {\n /**\n * Name of the deployment.\n *\n * @example docs\n */\n app?: string;\n /**\n * Gets the deployment created after this Date timestamp. (default: current time)\n *\n * @example 1612948664566\n * @deprecated true\n */\n from?: number;\n /**\n * Maximum number of deployments to list from a request.\n *\n * @example 10\n */\n limit?: number;\n /**\n * Filter deployments from the given `projectId`.\n *\n * @example QmXGTs7mvAMMC7WW5ebrM33qKG32QK3h4vmQMjmY\n */\n projectId?: string;\n /**\n * Filter deployments based on the environment.\n *\n * @example production\n */\n target?: 'production' | 'preview';\n /**\n * Gets the deployment created before this Date timestamp. (default: current time)\n *\n * @example 1612948664566\n * @deprecated true\n */\n to?: number;\n /**\n * Filter out deployments based on users who have created the deployment.\n *\n * @example kr1PsOIzqEL5Xg6M4VZcZosf,K4amb7K9dAt5R2vBJWF32bmY\n */\n users?: string;\n /**\n * Get Deployments created after this JavaScript timestamp.\n *\n * @example 1540095775941\n */\n since?: number;\n /**\n * Get Deployments created before this JavaScript timestamp.\n *\n * @example 1540095775951\n */\n until?: number;\n /**\n * Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)\n *\n * @example BUILDING,READY\n */\n state?: string;\n /**\n * Filter deployments based on their rollback candidacy\n */\n rollbackCandidate?: boolean;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetDeploymentsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetDeploymentsResponse = {\n pagination: Schemas.Pagination;\n deployments: {\n /**\n * The unique identifier of the deployment.\n *\n * @example dpl_2euZBFqxYdDMDG1jTrHFnNZ2eUVa\n */\n uid: string;\n /**\n * The name of the deployment.\n *\n * @example docs\n */\n name: string;\n /**\n * The URL of the deployment.\n *\n * @example docs-9jaeg38me.vercel.app\n */\n url: string;\n /**\n * Timestamp of when the deployment got created.\n *\n * @example 1609492210000\n */\n created: number;\n /**\n * Timestamp of when the deployment got deleted.\n *\n * @example 1609492210000\n */\n deleted?: number;\n /**\n * Timestamp of when the deployment was undeleted.\n *\n * @example 1609492210000\n */\n undeleted?: number;\n /**\n * The source of the deployment.\n *\n * @example cli\n */\n source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo';\n /**\n * In which state is the deployment.\n *\n * @example READY\n */\n state?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED' | 'DELETED';\n /**\n * In which state is the deployment.\n *\n * @example READY\n */\n readyState?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';\n /**\n * The type of the deployment.\n *\n * @example LAMBDAS\n */\n type: 'LAMBDAS';\n /**\n * Metadata information of the user who created the deployment.\n */\n creator: {\n /**\n * The unique identifier of the user.\n *\n * @example eLrCnEgbKhsHyfbiNR7E8496\n */\n uid: string;\n /**\n * The email address of the user.\n *\n * @example example@example.com\n */\n email?: string;\n /**\n * The username of the user.\n *\n * @example johndoe\n */\n username?: string;\n /**\n * The GitHub login of the user.\n *\n * @example johndoe\n */\n githubLogin?: string;\n /**\n * The GitLab login of the user.\n *\n * @example johndoe\n */\n gitlabLogin?: string;\n };\n /**\n * Metadata information from the Git provider.\n */\n meta?: {\n [key: string]: string;\n };\n /**\n * On which environment has the deployment been deployed to.\n *\n * @example production\n */\n target?: 'production' | 'staging' | null;\n /**\n * An error object in case aliasing of the deployment failed.\n */\n aliasError?: {\n code: string;\n message: string;\n } | null;\n aliasAssigned?: number | boolean | null;\n /**\n * Timestamp of when the deployment got created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * Timestamp of when the deployment started building at.\n *\n * @example 1609492210000\n */\n buildingAt?: number;\n /**\n * Timestamp of when the deployment got ready.\n *\n * @example 1609492210000\n */\n ready?: number;\n /**\n * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic\n */\n readySubstate?: 'STAGED' | 'PROMOTED';\n /**\n * State of all registered checks\n */\n checksState?: 'registered' | 'running' | 'completed';\n /**\n * Conclusion for checks\n */\n checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';\n /**\n * Vercel URL to inspect the deployment.\n *\n * @example https://vercel.com/acme/nextjs/J1hXN00qjUeoYfpEEf7dnDtpSiVq\n */\n inspectorUrl: string | null;\n /**\n * Deployment can be used for instant rollback\n */\n isRollbackCandidate?: boolean | null;\n /**\n * The project settings which was used for this deployment\n */\n projectSettings?: {\n framework?:\n | 'blitzjs'\n | 'nextjs'\n | 'gatsby'\n | 'remix'\n | 'astro'\n | 'hexo'\n | 'eleventy'\n | 'docusaurus-2'\n | 'docusaurus'\n | 'preact'\n | 'solidstart-1'\n | 'solidstart'\n | 'dojo'\n | 'ember'\n | 'vue'\n | 'scully'\n | 'ionic-angular'\n | 'angular'\n | 'polymer'\n | 'svelte'\n | 'sveltekit'\n | 'sveltekit-1'\n | 'ionic-react'\n | 'create-react-app'\n | 'gridsome'\n | 'umijs'\n | 'sapper'\n | 'saber'\n | 'stencil'\n | 'nuxtjs'\n | 'redwoodjs'\n | 'hugo'\n | 'jekyll'\n | 'brunch'\n | 'middleman'\n | 'zola'\n | 'hydrogen'\n | 'vite'\n | 'vitepress'\n | 'vuepress'\n | 'parcel'\n | 'sanity'\n | 'storybook'\n | null;\n gitForkProtection?: boolean;\n customerSupportCodeVisibility?: boolean;\n gitLFS?: boolean;\n devCommand?: string | null;\n installCommand?: string | null;\n buildCommand?: string | null;\n nodeVersion?: '20.x' | '18.x' | '16.x' | '14.x' | '12.x' | '10.x' | '8.10.x';\n outputDirectory?: string | null;\n publicSource?: boolean | null;\n rootDirectory?: string | null;\n serverlessFunctionRegion?: string | null;\n sourceFilesOutsideRootDirectory?: boolean;\n commandForIgnoringBuildStep?: string | null;\n createdAt?: number;\n speedInsights?: {\n id: string;\n enabledAt?: number;\n disabledAt?: number;\n canceledAt?: number;\n hasData?: boolean;\n paidAt?: number;\n };\n webAnalytics?: {\n id: string;\n disabledAt?: number;\n canceledAt?: number;\n enabledAt?: number;\n hasData?: boolean;\n };\n skipGitConnectDuringLink?: boolean;\n /**\n * Since June '23\n */\n gitComments?: {\n /**\n * Whether the Vercel bot should comment on PRs\n */\n onPullRequest: boolean;\n /**\n * Whether the Vercel bot should comment on commits\n */\n onCommit: boolean;\n };\n };\n /**\n * The flag saying if Vercel Connect configuration is used for builds\n */\n connectBuildsEnabled?: boolean;\n /**\n * The ID of Vercel Connect configuration used for this deployment\n */\n connectConfigurationId?: string;\n /**\n * The ID of Vercel Connect configuration used for this deployment's passive functions\n */\n passiveConnectConfigurationId?: string;\n }[];\n};\n\nexport type GetDeploymentsVariables = {\n queryParams?: GetDeploymentsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the `url` property will have a value of `null`.\n */\nexport const getDeployments = (variables: GetDeploymentsVariables, signal?: AbortSignal) =>\n fetch<GetDeploymentsResponse, GetDeploymentsError, undefined, {}, GetDeploymentsQueryParams, {}>({\n url: '/v6/deployments',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type VerifyTokenQueryParams = {\n /**\n * Email to verify the login.\n */\n email?: string;\n /**\n * The token returned when the login was requested.\n */\n token: string;\n /**\n * The desired name for the token. It will be displayed on the user account details.\n *\n * @example Your Client App Name\n */\n tokenName?: string;\n /**\n * The SAML Profile ID, when connecting a SAML Profile to a Team member for the first time.\n */\n ssoUserId?: string;\n /**\n * The name of this user's team.\n */\n teamName?: string;\n /**\n * The slug for this user's team.\n */\n teamSlug?: string;\n /**\n * The plan for this user's team (pro or hobby).\n */\n teamPlan?: 'pro' | 'hobby';\n /**\n * Referrer to the session.\n */\n sessionReferrer?: string;\n /**\n * The page on which the user started their session.\n */\n landingPage?: string;\n /**\n * The page that sent the user to the signup page.\n */\n pageBeforeConversionPage?: string;\n utmSource?: string;\n utmMedium?: string;\n utmCampaign?: string;\n utmTerm?: string;\n oppId?: string;\n};\n\nexport type VerifyTokenError = Fetcher.ErrorWrapper<undefined>;\n\nexport type VerifyTokenResponse = {\n /**\n * The user authentication token that can be used to perform API requests.\n *\n * @example 1ioXyz9Ue4xdCYGROet1dlKd\n */\n token: string;\n /**\n * Email address of the authenticated user.\n *\n * @example amy@example.com\n */\n email: string;\n /**\n * When completing SAML Single Sign-On authentication, this will be the ID of the Team that was authenticated for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string;\n};\n\nexport type VerifyTokenVariables = {\n queryParams: VerifyTokenQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Verify the user accepted the login request and get a authentication token. The user email address and the token received after requesting the login must be added to the URL as a query string with the names `email` and `token`.\n */\nexport const verifyToken = (variables: VerifyTokenVariables, signal?: AbortSignal) =>\n fetch<VerifyTokenResponse, VerifyTokenError, undefined, {}, VerifyTokenQueryParams, {}>({\n url: '/registration/verify',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type EmailLoginError = Fetcher.ErrorWrapper<undefined>;\n\nexport type EmailLoginRequestBody = {\n /**\n * The user email.\n *\n * @example user@mail.com\n */\n email: string;\n /**\n * The desired name for the token. It will be displayed on the user account details.\n *\n * @example Your Client App Name\n */\n tokenName?: string;\n};\n\nexport type EmailLoginVariables = {\n body: EmailLoginRequestBody;\n} & FetcherExtraProps;\n\n/**\n * Request a new login for a user to get a token. This will respond with a verification token and send an email to confirm the request. Once confirmed you can use the verification token to get an authentication token.\n */\nexport const emailLogin = (variables: EmailLoginVariables, signal?: AbortSignal) =>\n fetch<\n | {\n token: string;\n securityCode: string;\n }\n | {\n /**\n * The token used to verify the user accepted the login request\n *\n * @example T1dmvPu36nmyYisXAs7IRzcR\n */\n token: string;\n /**\n * The code the user is going to receive on the email. **Must** be displayed to the user so they can verify the request is the correct.\n *\n * @example Practical Saola\n */\n securityCode: string;\n },\n EmailLoginError,\n EmailLoginRequestBody,\n {},\n {},\n {}\n >({ url: '/registration', method: 'post', ...variables, signal });\n\nexport type DeleteDeploymentPathParams = {\n /**\n * The ID of the deployment to be deleted\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n id: string;\n};\n\nexport type DeleteDeploymentQueryParams = {\n /**\n * A Deployment or Alias URL. In case it is passed, the ID will be ignored\n *\n * @example https://files-orcin-xi.vercel.app/\n */\n url?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteDeploymentError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteDeploymentResponse = {\n /**\n * The removed deployment ID.\n *\n * @example dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd\n */\n uid: string;\n /**\n * A constant with the final state of the deployment.\n */\n state: 'DELETED';\n};\n\nexport type DeleteDeploymentVariables = {\n pathParams: DeleteDeploymentPathParams;\n queryParams?: DeleteDeploymentQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This API allows you to delete a deployment, either by supplying its `id` in the URL or the `url` of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments.\n */\nexport const deleteDeployment = (variables: DeleteDeploymentVariables, signal?: AbortSignal) =>\n fetch<\n DeleteDeploymentResponse,\n DeleteDeploymentError,\n undefined,\n {},\n DeleteDeploymentQueryParams,\n DeleteDeploymentPathParams\n >({ url: '/v13/deployments/{id}', method: 'delete', ...variables, signal });\n\nexport type GetSecretsQueryParams = {\n /**\n * Filter out secrets based on comma separated secret ids.\n *\n * @example sec_RKc5iV0rV3ZSrFrHiruRno7k,sec_fGc5iV0rV3ZSrFrHiruRnouQ\n * @deprecated true\n */\n id?: string;\n /**\n * Filter out secrets that belong to a project.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n * @deprecated true\n */\n projectId?: string;\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetSecretsError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetSecretsResponse = {\n secrets: {\n /**\n * The date when the secret was created.\n *\n * @format date-time\n * @example 2021-02-10T13:11:49.180Z\n */\n created: string;\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The unique identifier of the team the secret was created for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string | null;\n /**\n * The unique identifier of the secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The unique identifier of the user who created the secret.\n *\n * @example 2qDDuGFTWXBLDNnqZfWPDp1A\n */\n userId?: string;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * Timestamp for when the secret was created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * The unique identifier of the project which the secret belongs to.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n projectId?: string;\n /**\n * Indicates whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n }[];\n pagination: Schemas.Pagination;\n};\n\nexport type GetSecretsVariables = {\n queryParams?: GetSecretsQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves the active Vercel secrets for the authenticated user or team. By default it returns 20 secrets. The rest can be retrieved using the pagination options. The body will contain an entry for each secret.\n */\nexport const getSecrets = (variables: GetSecretsVariables, signal?: AbortSignal) =>\n fetch<GetSecretsResponse, GetSecretsError, undefined, {}, GetSecretsQueryParams, {}>({\n url: '/v3/secrets',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type CreateSecretQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type CreateSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type CreateSecretResponse = {\n value: {\n type?: 'Buffer';\n data?: number[];\n };\n /**\n * The date when the secret was created.\n *\n * @format date-time\n * @example 2021-02-10T13:11:49.180Z\n */\n created: string;\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The unique identifier of the team the secret was created for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string | null;\n /**\n * The unique identifier of the secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The unique identifier of the user who created the secret.\n *\n * @example 2qDDuGFTWXBLDNnqZfWPDp1A\n */\n userId?: string;\n /**\n * Timestamp for when the secret was created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * The unique identifier of the project which the secret belongs to.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n projectId?: string;\n /**\n * Indicates whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n};\n\nexport type CreateSecretRequestBody = {\n /**\n * The name of the secret (max 100 characters).\n *\n * @example my-api-key\n * @maximum 100\n */\n name: string;\n /**\n * The value of the new secret.\n *\n * @example some secret value\n */\n value: string;\n /**\n * Whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n /**\n * Associate a secret to a project.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n * @deprecated true\n */\n projectId?: string;\n};\n\nexport type CreateSecretVariables = {\n body: CreateSecretRequestBody;\n queryParams?: CreateSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Allows to create a new secret.\n */\nexport const createSecret = (variables: CreateSecretVariables, signal?: AbortSignal) =>\n fetch<CreateSecretResponse, CreateSecretError, CreateSecretRequestBody, {}, CreateSecretQueryParams, {}>({\n url: '/v2/secrets/{name}',\n method: 'post',\n ...variables,\n signal\n });\n\nexport type RenameSecretPathParams = {\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n};\n\nexport type RenameSecretQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type RenameSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type RenameSecretResponse = {\n uid: string;\n name: string;\n /**\n * @format date-time\n */\n created: string;\n oldName: string;\n};\n\nexport type RenameSecretRequestBody = {\n /**\n * The name of the new secret.\n *\n * @example my-api-key\n * @maximum 100\n */\n name: string;\n};\n\nexport type RenameSecretVariables = {\n body: RenameSecretRequestBody;\n pathParams: RenameSecretPathParams;\n queryParams?: RenameSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Enables to edit the name of a secret. The name has to be unique to the user or team’s secrets.\n */\nexport const renameSecret = (variables: RenameSecretVariables, signal?: AbortSignal) =>\n fetch<\n RenameSecretResponse,\n RenameSecretError,\n RenameSecretRequestBody,\n {},\n RenameSecretQueryParams,\n RenameSecretPathParams\n >({ url: '/v2/secrets/{name}', method: 'patch', ...variables, signal });\n\nexport type GetSecretPathParams = {\n /**\n * The name or the unique identifier to which the secret belongs to.\n *\n * @example sec_RKc5iV0rV3ZSrFrHiruRno7k\n */\n idOrName: string;\n};\n\nexport type GetSecretQueryParams = {\n /**\n * Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.\n *\n * @example true\n */\n decrypt?: 'true' | 'false';\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type GetSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type GetSecretResponse = {\n /**\n * The date when the secret was created.\n *\n * @format date-time\n * @example 2021-02-10T13:11:49.180Z\n */\n created: string;\n /**\n * The name of the secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The unique identifier of the team the secret was created for.\n *\n * @example team_LLHUOMOoDlqOp8wPE4kFo9pE\n */\n teamId?: string | null;\n /**\n * The unique identifier of the secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The unique identifier of the user who created the secret.\n *\n * @example 2qDDuGFTWXBLDNnqZfWPDp1A\n */\n userId?: string;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * Timestamp for when the secret was created.\n *\n * @example 1609492210000\n */\n createdAt?: number;\n /**\n * The unique identifier of the project which the secret belongs to.\n *\n * @example prj_2WjyKQmM8ZnGcJsPWMrHRHrE\n */\n projectId?: string;\n /**\n * Indicates whether the secret value can be decrypted after it has been created.\n *\n * @example true\n */\n decryptable?: boolean;\n};\n\nexport type GetSecretVariables = {\n pathParams: GetSecretPathParams;\n queryParams?: GetSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * Retrieves the information for a specific secret by passing either the secret id or name in the URL.\n */\nexport const getSecret = (variables: GetSecretVariables, signal?: AbortSignal) =>\n fetch<GetSecretResponse, GetSecretError, undefined, {}, GetSecretQueryParams, GetSecretPathParams>({\n url: '/v3/secrets/{idOrName}',\n method: 'get',\n ...variables,\n signal\n });\n\nexport type DeleteSecretPathParams = {\n /**\n * The name or the unique identifier to which the secret belongs to.\n *\n * @example sec_RKc5iV0rV3ZSrFrHiruRno7k\n */\n idOrName: string;\n};\n\nexport type DeleteSecretQueryParams = {\n /**\n * The Team identifier to perform the request on behalf of.\n */\n teamId?: string;\n /**\n * The Team slug to perform the request on behalf of.\n */\n slug?: string;\n};\n\nexport type DeleteSecretError = Fetcher.ErrorWrapper<undefined>;\n\nexport type DeleteSecretResponse = {\n /**\n * The unique identifier of the deleted secret.\n *\n * @example sec_XCG7t7AIHuO2SBA8667zNUiM\n */\n uid: string;\n /**\n * The name of the deleted secret.\n *\n * @example my-api-key\n */\n name: string;\n /**\n * The date when the secret was created.\n *\n * @example 2021-02-10T13:11:49.180Z\n */\n created: number;\n};\n\nexport type DeleteSecretVariables = {\n pathParams: DeleteSecretPathParams;\n queryParams?: DeleteSecretQueryParams;\n} & FetcherExtraProps;\n\n/**\n * This deletes the user or team’s secret defined in the URL.\n */\nexport const deleteSecret = (variables: DeleteSecretVariables, signal?: AbortSignal) =>\n fetch<DeleteSecretResponse, DeleteSecretError, undefined, {}, DeleteSecretQueryParams, DeleteSecretPathParams>({\n url: '/v2/secrets/{idOrName}',\n method: 'delete',\n ...variables,\n signal\n });\n\nexport const operationsByTag = {\n accessGroups: {\n readAccessGroup,\n updateAccessGroup,\n deleteAccessGroup,\n listAccessGroupMembers,\n listAccessGroups,\n createAccessGroup,\n listAccessGroupProjects\n },\n artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, artifactQuery },\n checks: { createCheck, getAllChecks, getCheck, updateCheck, rerequestCheck },\n projects: {\n updateProjectDataCache,\n getProjects,\n createProject,\n getProject,\n updateProject,\n deleteProject,\n getProjectDomains,\n getProjectDomain,\n updateProjectDomain,\n removeProjectDomain,\n addProjectDomain,\n verifyProjectDomain,\n filterProjectEnvs,\n getProjectEnv,\n createProjectEnv,\n removeProjectEnv,\n editProjectEnv,\n requestPromote,\n listPromoteAliases,\n pauseProject,\n unpauseProject\n },\n deployments: {\n getDeploymentEvents,\n getDeployment,\n createDeployment,\n cancelDeployment,\n uploadFile,\n listDeploymentFiles,\n getDeploymentFileContents,\n getDeployments,\n deleteDeployment\n },\n domains: {\n buyDomain,\n checkDomainPrice,\n checkDomainStatus,\n getDomainTransfer,\n getDomainConfig,\n getDomain,\n getDomains,\n createOrTransferDomain,\n patchDomain,\n deleteDomain\n },\n dns: { getRecords, createRecord, updateRecord, removeRecord },\n edgeConfig: {\n getEdgeConfigs,\n createEdgeConfig,\n getEdgeConfig,\n updateEdgeConfig,\n deleteEdgeConfig,\n getEdgeConfigItems,\n patchEdgeConfigItems,\n getEdgeConfigSchema,\n patchEdgeConfigSchema,\n deleteEdgeConfigSchema,\n getEdgeConfigItem,\n getEdgeConfigTokens,\n deleteEdgeConfigTokens,\n getEdgeConfigToken,\n createEdgeConfigToken\n },\n user: { listUserEvents, getAuthUser, requestDelete },\n integrations: { getConfigurations, getConfiguration, deleteConfiguration, gitNamespaces, searchRepo },\n logDrains: {\n getIntegrationLogDrains,\n createLogDrain,\n deleteIntegrationLogDrain,\n getConfigurableLogDrain,\n deleteConfigurableLogDrain,\n getAllLogDrains,\n createConfigurableLogDrain\n },\n projectMembers: { getProjectMembers, addProjectMember, removeProjectMember },\n teams: {\n getTeamMembers,\n inviteUserToTeam,\n requestAccessToTeam,\n getTeamAccessRequest,\n joinTeam,\n updateTeamMember,\n removeTeamMember,\n getTeam,\n patchTeam,\n getTeams,\n createTeam,\n deleteTeam,\n deleteTeamInviteCode\n },\n authentication: { listAuthTokens, createAuthToken, getAuthToken, deleteAuthToken, verifyToken, emailLogin },\n webhooks: { createWebhook, getWebhooks, getWebhook, deleteWebhook },\n aliases: { listAliases, getAlias, deleteAlias, listDeploymentAliases, assignAlias },\n certs: { getCertById, removeCert, issueCert, uploadCert },\n secrets: { getSecrets, createSecret, renameSecret, getSecret, deleteSecret }\n};\n","export type RequestInit = {\n body?: string | FormData | undefined;\n headers?: Record<string, string> | undefined;\n method?: string | undefined;\n signal?: any | undefined;\n};\n\nexport type Response = {\n ok: boolean;\n status: number;\n url: string;\n json(): Promise<any>;\n text(): Promise<string>;\n headers?:\n | {\n get(name: string): string | null;\n }\n | undefined;\n};\n\n// Typed only the subset of the spec we actually use (to be able to build a simple mock)\nexport type FetchImpl = (url: string, init?: RequestInit | undefined) => Promise<Response>;\n\nexport function formEncoded<T extends Record<string, string>>(data: T): string {\n return Object.entries(data)\n .map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)\n .join('&');\n}\n","import { operationsByTag } from './api/components';\nimport { operationsByPath } from './api/extra';\nimport { FetcherExtraProps, fetch as vercelFetch } from './api/fetcher';\nimport { FetchImpl, formEncoded } from './utils/fetch';\nimport { RequiredKeys } from './utils/types';\n\nexport interface VercelApiOptions {\n token: string | null;\n fetch?: FetchImpl;\n}\n\ntype ApiProxy = {\n [Tag in keyof typeof operationsByTag]: {\n [Method in keyof (typeof operationsByTag)[Tag]]: (typeof operationsByTag)[Tag][Method] extends infer Operation extends (\n ...args: any\n ) => any\n ? Omit<Parameters<Operation>[0], keyof FetcherExtraProps> extends infer Params\n ? RequiredKeys<Params> extends never\n ? (params?: Params) => ReturnType<Operation>\n : (params: Params) => ReturnType<Operation>\n : never\n : never;\n };\n};\n\ntype RequestEndpointParams<T extends keyof typeof operationsByPath> = Omit<\n Parameters<(typeof operationsByPath)[T]>[0],\n keyof FetcherExtraProps\n>;\n\ntype RequestEndpointResult<T extends keyof typeof operationsByPath> = ReturnType<(typeof operationsByPath)[T]>;\n\nexport class VercelApi {\n #token: string | null;\n #fetch: FetchImpl;\n\n constructor(options: VercelApiOptions) {\n this.#token = options.token;\n\n this.#fetch = options.fetch || (fetch as FetchImpl);\n if (!this.#fetch) throw new Error('Fetch is required');\n }\n\n get api() {\n const token = this.#token;\n const fetchImpl = this.#fetch;\n\n return new Proxy(\n {},\n {\n get: (_target, namespace: keyof typeof operationsByTag) => {\n if (operationsByTag[namespace] === undefined) {\n return undefined;\n }\n\n return new Proxy(\n {},\n {\n get: (_target, operation: keyof (typeof operationsByTag)[keyof typeof operationsByTag]) => {\n if (operationsByTag[namespace][operation] === undefined) {\n return undefined;\n }\n\n const method = operationsByTag[namespace][operation] as any;\n\n return async (params: Record<string, unknown>) => {\n return await method({ ...params, token, fetchImpl });\n };\n }\n }\n );\n }\n }\n ) as ApiProxy;\n }\n\n get auth() {\n return {\n accessToken: async ({\n code,\n redirectUri,\n clientId,\n clientSecret\n }: AccessTokenOptions): Promise<AccessTokenResult> => {\n const result: {\n access_token: string;\n token_type: string;\n installation_id: string;\n user_id: string;\n team_id: string | null;\n } = await vercelFetch({\n method: 'POST',\n url: `/v2/oauth/access_token`,\n token: null,\n fetchImpl: this.#fetch,\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n body: formEncoded({ code, redirect_uri: redirectUri, client_id: clientId, client_secret: clientSecret })\n });\n\n return {\n accessToken: result.access_token,\n tokenType: result.token_type,\n installationId: result.installation_id,\n userId: result.user_id,\n teamId: result.team_id\n };\n }\n };\n }\n\n public async request<Endpoint extends keyof typeof operationsByPath>(\n endpoint: Endpoint,\n params: RequestEndpointParams<Endpoint>\n ) {\n const [method = '', url = ''] = endpoint.split(' ');\n const extraParams = (params || {}) as Record<string, unknown>;\n\n const result = await vercelFetch({ ...extraParams, method, url, token: this.#token, fetchImpl: this.#fetch });\n return result as RequestEndpointResult<Endpoint>;\n }\n}\n\ntype AccessTokenOptions = {\n redirectUri: string;\n code: string;\n clientId: string;\n clientSecret: string;\n};\n\ntype AccessTokenResult = {\n accessToken: string;\n tokenType: string;\n installationId: string;\n userId: string;\n teamId: string | null;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,SAAS,SAAY,OAAyC;AAC5D,SAAO,UAAU,QAAQ,UAAU;AACrC;AAEO,SAAS,cAAiB,KAA8D;AAC7F,SAAO,OAAO,YAAY,OAAO,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC,EAAE,KAAK,MAAM,SAAS,KAAK,CAAC,CAAC;AACtF;;;ACEA,IAAM,UAAU;AAchB,eAAsBA,OAOpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAA+E;AAC7E,MAAI;AACF,UAAM,iBAA8B,cAAc;AAAA,MAChD,gBAAgB;AAAA,MAChB,eAAe,QAAQ,UAAU,KAAK,KAAK;AAAA,MAC3C,GAAG;AAAA,IACL,CAAC;AAQD,QAAI,eAAe,cAAc,GAAG,YAAY,EAAE,SAAS,qBAAqB,GAAG;AACjF,aAAO,eAAe,cAAc;AAAA,IACtC;AAEA,UAAM,UACJ,gBAAgB,WACZ,OACA,eAAe,cAAc,MAAM,qBACnC,KAAK,UAAU,IAAI,IAClB;AAEP,UAAM,WAAW,MAAM,UAAU,GAAG,OAAO,GAAG,WAAW,KAAK,aAAa,UAAU,CAAC,IAAI;AAAA,MACxF;AAAA,MACA,QAAQ,OAAO,YAAY;AAAA,MAC3B,MAAM;AAAA,MACN,SAAS;AAAA,IACX,CAAC;AAED,QAAI,CAAC,SAAS,IAAI;AAChB,UAAI;AACJ,UAAI;AACF,gBAAQ,MAAM,SAAS,KAAK;AAAA,MAC9B,SAAS,GAAG;AACV,gBAAQ;AAAA,UACN,QAAQ;AAAA,UACR,SAAS,aAAa,QAAQ,qBAAqB,EAAE,OAAO,MAAM;AAAA,QACpE;AAAA,MACF;AAEA,YAAM;AAAA,IACR;AAEA,QAAI,SAAS,SAAS,IAAI,cAAc,GAAG,SAAS,MAAM,GAAG;AAC3D,aAAO,MAAM,SAAS,KAAK;AAAA,IAC7B,OAAO;AAEL,aAAQ,MAAM,SAAS,KAAK;AAAA,IAC9B;AAAA,EACF,SAAS,GAAG;AACV,QAAI,cAAqB;AAAA,MACvB,MAAM;AAAA,MACN,SAAS,aAAa,QAAQ,kBAAkB,EAAE,OAAO,MAAM;AAAA,MAC/D,OAAO;AAAA,IACT;AACA,UAAM;AAAA,EACR;AACF;AAEA,IAAM,aAAa,CAAC,KAAa,cAAsC,CAAC,GAAG,aAAqC,CAAC,MAAM;AACrH,MAAI,QAAQ,IAAI,gBAAgB,WAAW,EAAE,SAAS;AACtD,MAAI;AAAO,YAAQ,IAAI,KAAK;AAC5B,SAAO,IAAI,QAAQ,YAAY,CAAC,QAAQ,WAAW,IAAI,MAAM,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI;AAChF;;;ACzBO,IAAM,kBAAkB,CAAC,WAAqC,WACnEC,OAOE,EAAE,KAAK,gCAAgC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA8DzE,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAOE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA2B1E,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAAmH;AAAA,EACjH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgEI,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA8DjF,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA4DE,EAAE,KAAK,qBAAqB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAwF9D,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAOE,EAAE,KAAK,qBAAqB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA8D/D,IAAM,0BAA0B,CAAC,WAA6C,WACnFA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAqElF,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0BI,IAAM,SAAS,CAAC,WAA4B,WACjDA,OAAyE;AAAA,EACvE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8EI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAOE,EAAE,KAAK,wBAAwB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAmDjE,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,wBAAwB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA6CjE,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA6G;AAAA,EAC3G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAyHI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA8EnF,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqFI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAA+F;AAAA,EAC7F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAoNI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAOE,EAAE,KAAK,mDAAmD,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAsC9F,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAoH;AAAA,EAClH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4tBI,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,uCAAuC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAuLlF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAsC7E,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAgzBE,EAAE,KAAK,8BAA8B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2yBvE,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oBAAoB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAiiB9D,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,gCAAgC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAsD3E,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAA6F;AAAA,EAC3F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAiDI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAwCE,EAAE,KAAK,gCAAgC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAqXzE,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAqWE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA2G1E,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAOE,EAAE,KAAK,kCAAkC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAkC7E,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA8G;AAAA,EAC5G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgCI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAyCI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAmDI,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAOE,EAAE,KAAK,+BAA+B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAyIxE,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAAmG;AAAA,EACjG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAiJI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAqF;AAAA,EACnF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkMI,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAyEE,EAAE,KAAK,eAAe,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA4DzD,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAiDE,EAAE,KAAK,wBAAwB,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAoCnE,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA6CI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2DI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,mBAAmB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAkD7D,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAmH;AAAA,EACjH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2DI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,kCAAkC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2B3E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAAgH;AAAA,EAC9G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,qBAAqB,CAAC,WAAwC,WACzEA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAuDjF,IAAM,uBAAuB,CAAC,WAA0C,WAC7EA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AA2BnF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAiClF,IAAM,wBAAwB,CAAC,WAA2C,WAC/EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA2BnF,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA+BrF,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAOE,EAAE,KAAK,2DAA2D,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2BpG,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAgClF,IAAM,yBAAyB,CAAC,WAA4C,WACjFA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA4BrF,IAAM,qBAAqB,CAAC,WAAwC,WACzEA,OAOE,EAAE,KAAK,gDAAgD,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAwCzF,IAAM,wBAAwB,CAAC,WAA2C,WAC/EA,OAOE,EAAE,KAAK,wCAAwC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAiElF,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuBI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAgUE,EAAE,KAAK,mCAAmC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAgC5E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA+TE,EAAE,KAAK,uCAAuC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2BhF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,uCAAuC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA0HnF,IAAM,0BAA0B,CAAC,WAA6C,WACnFA,OAOE,EAAE,KAAK,+BAA+B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAiLxE,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiH;AAAA,EAC/G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,4BAA4B,CAAC,WAA+C,WACvFA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAwChF,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA8F;AAAA,EAC5F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAqF;AAAA,EACnF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAwDI,IAAM,0BAA0B,CAAC,WAA6C,WACnFA,OAOE,EAAE,KAAK,uBAAuB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA2BhE,IAAM,6BAA6B,CAAC,WAAgD,WACzFA,OAOE,EAAE,KAAK,uBAAuB,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAuDnE,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAAoG;AAAA,EAClG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuGI,IAAM,6BAA6B,CAAC,WAAgD,WACzFA,OAOE,EAAE,KAAK,kBAAkB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAwD5D,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAsFE,EAAE,KAAK,mCAAmC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA4H5E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA6FE,EAAE,KAAK,mCAAmC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA0C7E,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,yCAAyC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA0vBrF,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAo2BI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA6G;AAAA,EAC3G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAktBI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAm7BI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAOE,EAAE,KAAK,2BAA2B,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAgCtE,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4GI,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OAOE,EAAE,KAAK,mCAAmC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA6D5E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,4CAA4C,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAwFrF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,4CAA4C,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAoCvF,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,4CAA4C,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAoFxF,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA+D9E,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,mDAAmD,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAoD7F,IAAM,oBAAoB,CAAC,WAAuC,WACvEA,OA2SE,EAAE,KAAK,+BAA+B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAoCxE,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAgME,EAAE,KAAK,oCAAoC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAka7E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OA0KE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAsC1E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAoSE,EAAE,KAAK,oCAAoC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AAiLhF,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AA4B/E,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkDI,IAAM,qBAAqB,CAAC,WAAwC,WACzEA,OAeE,EAAE,KAAK,4CAA4C,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA8BrF,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAAoG;AAAA,EAClG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAA0G;AAAA,EACxG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAoMI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAmDI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAqCE,EAAE,KAAK,8BAA8B,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AA4FxE,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAAyG;AAAA,EACvG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAuFI,IAAM,uBAAuB,CAAC,WAA0C,WAC7EA,OAAkH;AAAA,EAChH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA+CI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAAwE;AAAA,EACtE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgEI,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AAqC/E,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,oCAAoC,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA0BhF,IAAM,UAAU,CAAC,WAA6B,WACnDA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4HI,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAAyG;AAAA,EACvG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqCI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAA+E;AAAA,EAC7E,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAi9BI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAA8E;AAAA,EAC5E,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgEI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAmH;AAAA,EACjH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2BI,IAAM,uBAAuB,CAAC,WAA0C,WAC7EA,OAAkH;AAAA,EAChH,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAiDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAeE,EAAE,KAAK,aAAa,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAavD,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAoE;AAAA,EAClE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4CI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAuF;AAAA,EACrF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAeI,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAA0E;AAAA,EACxE,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4CI,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAiBE,EAAE,KAAK,mBAAmB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAwB7D,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA0F;AAAA,EACxF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA6BI,IAAM,kBAAkB,CAAC,WAAqC,WACnEA,OAAmG;AAAA,EACjG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAmJI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAA6G;AAAA,EAC3G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0BI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OA4ME,EAAE,KAAK,gBAAgB,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAqGzD,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA2BI,IAAM,gBAAgB,CAAC,WAAmC,WAC/DA,OAAuG;AAAA,EACrG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0MI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8LI,IAAM,WAAW,CAAC,WAA8B,WACrDA,OAA+F;AAAA,EAC7F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAoCI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAA2G;AAAA,EACzG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4FI,IAAM,wBAAwB,CAAC,WAA2C,WAC/EA,OAOE,EAAE,KAAK,gCAAgC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AA4EzE,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAOE,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAsC1E,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAA2G;AAAA,EACzG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA8BI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAwG;AAAA,EACtG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAsCI,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAA6F;AAAA,EAC3F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkDI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAgCI,IAAM,sBAAsB,CAAC,WAAyC,WAC3EA,OAOE,EAAE,KAAK,8BAA8B,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAsCvE,IAAM,4BAA4B,CAAC,WAA+C,WACvFA,OAOE,EAAE,KAAK,uCAAuC,QAAQ,OAAO,GAAG,WAAW,OAAO,CAAC;AAkWhF,IAAM,iBAAiB,CAAC,WAAoC,WACjEA,OAAiG;AAAA,EAC/F,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAkFI,IAAM,cAAc,CAAC,WAAiC,WAC3DA,OAAwF;AAAA,EACtF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA0BI,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAwBE,EAAE,KAAK,iBAAiB,QAAQ,QAAQ,GAAG,WAAW,OAAO,CAAC;AAmD3D,IAAM,mBAAmB,CAAC,WAAsC,WACrEA,OAOE,EAAE,KAAK,yBAAyB,QAAQ,UAAU,GAAG,WAAW,OAAO,CAAC;AA+FrE,IAAM,aAAa,CAAC,WAAgC,WACzDA,OAAqF;AAAA,EACnF,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AA4GI,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAAyG;AAAA,EACvG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqDI,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAOE,EAAE,KAAK,sBAAsB,QAAQ,SAAS,GAAG,WAAW,OAAO,CAAC;AA8FjE,IAAM,YAAY,CAAC,WAA+B,WACvDA,OAAmG;AAAA,EACjG,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAqDI,IAAM,eAAe,CAAC,WAAkC,WAC7DA,OAA+G;AAAA,EAC7G,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,GAAG;AAAA,EACH;AACF,CAAC;AAEI,IAAM,kBAAkB;AAAA,EAC7B,cAAc;AAAA,IACZ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,WAAW,EAAE,cAAc,QAAQ,gBAAgB,kBAAkB,cAAc;AAAA,EACnF,QAAQ,EAAE,aAAa,cAAc,UAAU,aAAa,eAAe;AAAA,EAC3E,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,aAAa;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,SAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,KAAK,EAAE,YAAY,cAAc,cAAc,aAAa;AAAA,EAC5D,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,MAAM,EAAE,gBAAgB,aAAa,cAAc;AAAA,EACnD,cAAc,EAAE,mBAAmB,kBAAkB,qBAAqB,eAAe,WAAW;AAAA,EACpG,WAAW;AAAA,IACT;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,gBAAgB,EAAE,mBAAmB,kBAAkB,oBAAoB;AAAA,EAC3E,OAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,gBAAgB,EAAE,gBAAgB,iBAAiB,cAAc,iBAAiB,aAAa,WAAW;AAAA,EAC1G,UAAU,EAAE,eAAe,aAAa,YAAY,cAAc;AAAA,EAClE,SAAS,EAAE,aAAa,UAAU,aAAa,uBAAuB,YAAY;AAAA,EAClF,OAAO,EAAE,aAAa,YAAY,WAAW,WAAW;AAAA,EACxD,SAAS,EAAE,YAAY,cAAc,cAAc,WAAW,aAAa;AAC7E;;;ACromBO,SAAS,YAA8C,MAAiB;AAC7E,SAAO,OAAO,QAAQ,IAAI,EACvB,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,GAAG,mBAAmB,GAAG,CAAC,IAAI,mBAAmB,KAAK,CAAC,EAAE,EAC/E,KAAK,GAAG;AACb;;;AC3BA;AAgCO,IAAM,YAAN,MAAgB;AAAA,EAIrB,YAAY,SAA2B;AAHvC;AACA;AAGE,uBAAK,QAAS,QAAQ;AAEtB,uBAAK,QAAS,QAAQ,SAAU;AAChC,QAAI,CAAC,mBAAK;AAAQ,YAAM,IAAI,MAAM,mBAAmB;AAAA,EACvD;AAAA,EAEA,IAAI,MAAM;AACR,UAAM,QAAQ,mBAAK;AACnB,UAAM,YAAY,mBAAK;AAEvB,WAAO,IAAI;AAAA,MACT,CAAC;AAAA,MACD;AAAA,QACE,KAAK,CAAC,SAAS,cAA4C;AACzD,cAAI,gBAAgB,SAAS,MAAM,QAAW;AAC5C,mBAAO;AAAA,UACT;AAEA,iBAAO,IAAI;AAAA,YACT,CAAC;AAAA,YACD;AAAA,cACE,KAAK,CAACC,UAAS,cAA4E;AACzF,oBAAI,gBAAgB,SAAS,EAAE,SAAS,MAAM,QAAW;AACvD,yBAAO;AAAA,gBACT;AAEA,sBAAM,SAAS,gBAAgB,SAAS,EAAE,SAAS;AAEnD,uBAAO,OAAO,WAAoC;AAChD,yBAAO,MAAM,OAAO,EAAE,GAAG,QAAQ,OAAO,UAAU,CAAC;AAAA,gBACrD;AAAA,cACF;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,IAAI,OAAO;AACT,WAAO;AAAA,MACL,aAAa,OAAO;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,MAAsD;AACpD,cAAM,SAMF,MAAMC,OAAY;AAAA,UACpB,QAAQ;AAAA,UACR,KAAK;AAAA,UACL,OAAO;AAAA,UACP,WAAW,mBAAK;AAAA,UAChB,SAAS,EAAE,gBAAgB,oCAAoC;AAAA,UAC/D,MAAM,YAAY,EAAE,MAAM,cAAc,aAAa,WAAW,UAAU,eAAe,aAAa,CAAC;AAAA,QACzG,CAAC;AAED,eAAO;AAAA,UACL,aAAa,OAAO;AAAA,UACpB,WAAW,OAAO;AAAA,UAClB,gBAAgB,OAAO;AAAA,UACvB,QAAQ,OAAO;AAAA,UACf,QAAQ,OAAO;AAAA,QACjB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,MAAa,QACX,UACA,QACA;AACA,UAAM,CAAC,SAAS,IAAI,MAAM,EAAE,IAAI,SAAS,MAAM,GAAG;AAClD,UAAM,cAAe,UAAU,CAAC;AAEhC,UAAM,SAAS,MAAMA,OAAY,EAAE,GAAG,aAAa,QAAQ,KAAK,OAAO,mBAAK,SAAQ,WAAW,mBAAK,QAAO,CAAC;AAC5G,WAAO;AAAA,EACT;AACF;AAvFE;AACA;","names":["fetch","fetch","_target","fetch"]}
|