UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

47 lines 1.94 kB
import * as z from "zod/v3"; export type RemoveRepositoryPermissionRequestBody = { /** * ID of a team that is granted access to a repository. */ teamId?: string | undefined; /** * Slug of a team that is granted access to a repository. */ teamSlug?: string | undefined; }; export type RemoveRepositoryPermissionRequest = { /** * Project ID. Missing or empty values return HTTP 400. */ projectId: string; idOrName: string; /** * The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** * The Team slug to perform the request on behalf of. */ slug?: string | undefined; requestBody?: RemoveRepositoryPermissionRequestBody | undefined; }; /** @internal */ export type RemoveRepositoryPermissionRequestBody$Outbound = { teamId?: string | undefined; teamSlug?: string | undefined; }; /** @internal */ export declare const RemoveRepositoryPermissionRequestBody$outboundSchema: z.ZodType<RemoveRepositoryPermissionRequestBody$Outbound, z.ZodTypeDef, RemoveRepositoryPermissionRequestBody>; export declare function removeRepositoryPermissionRequestBodyToJSON(removeRepositoryPermissionRequestBody: RemoveRepositoryPermissionRequestBody): string; /** @internal */ export type RemoveRepositoryPermissionRequest$Outbound = { projectId: string; idOrName: string; teamId?: string | undefined; slug?: string | undefined; RequestBody?: RemoveRepositoryPermissionRequestBody$Outbound | undefined; }; /** @internal */ export declare const RemoveRepositoryPermissionRequest$outboundSchema: z.ZodType<RemoveRepositoryPermissionRequest$Outbound, z.ZodTypeDef, RemoveRepositoryPermissionRequest>; export declare function removeRepositoryPermissionRequestToJSON(removeRepositoryPermissionRequest: RemoveRepositoryPermissionRequest): string; //# sourceMappingURL=removerepositorypermissionop.d.ts.map