@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>
36 lines • 1.91 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetObservabilityConfigurationProjectsRequest = {
/**
* 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;
};
export type DisabledProjects = {
id: string;
name?: string | undefined;
disabledAt: number;
};
export type GetObservabilityConfigurationProjectsResponseBody = {
disabledProjects: Array<DisabledProjects>;
};
/** @internal */
export type GetObservabilityConfigurationProjectsRequest$Outbound = {
teamId?: string | undefined;
slug?: string | undefined;
};
/** @internal */
export declare const GetObservabilityConfigurationProjectsRequest$outboundSchema: z.ZodType<GetObservabilityConfigurationProjectsRequest$Outbound, z.ZodTypeDef, GetObservabilityConfigurationProjectsRequest>;
export declare function getObservabilityConfigurationProjectsRequestToJSON(getObservabilityConfigurationProjectsRequest: GetObservabilityConfigurationProjectsRequest): string;
/** @internal */
export declare const DisabledProjects$inboundSchema: z.ZodType<DisabledProjects, z.ZodTypeDef, unknown>;
export declare function disabledProjectsFromJSON(jsonString: string): SafeParseResult<DisabledProjects, SDKValidationError>;
/** @internal */
export declare const GetObservabilityConfigurationProjectsResponseBody$inboundSchema: z.ZodType<GetObservabilityConfigurationProjectsResponseBody, z.ZodTypeDef, unknown>;
export declare function getObservabilityConfigurationProjectsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetObservabilityConfigurationProjectsResponseBody, SDKValidationError>;
//# sourceMappingURL=getobservabilityconfigurationprojectsop.d.ts.map