attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
53 lines • 3.34 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type DeleteV2WebhooksWebhookIdRequest = {
webhookId: string;
};
/**
* Success
*/
export type DeleteV2WebhooksWebhookIdResponse = {};
/** @internal */
export declare const DeleteV2WebhooksWebhookIdRequest$inboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type DeleteV2WebhooksWebhookIdRequest$Outbound = {
webhook_id: string;
};
/** @internal */
export declare const DeleteV2WebhooksWebhookIdRequest$outboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdRequest$Outbound, z.ZodTypeDef, DeleteV2WebhooksWebhookIdRequest>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace DeleteV2WebhooksWebhookIdRequest$ {
/** @deprecated use `DeleteV2WebhooksWebhookIdRequest$inboundSchema` instead. */
const inboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdRequest, z.ZodTypeDef, unknown>;
/** @deprecated use `DeleteV2WebhooksWebhookIdRequest$outboundSchema` instead. */
const outboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdRequest$Outbound, z.ZodTypeDef, DeleteV2WebhooksWebhookIdRequest>;
/** @deprecated use `DeleteV2WebhooksWebhookIdRequest$Outbound` instead. */
type Outbound = DeleteV2WebhooksWebhookIdRequest$Outbound;
}
export declare function deleteV2WebhooksWebhookIdRequestToJSON(deleteV2WebhooksWebhookIdRequest: DeleteV2WebhooksWebhookIdRequest): string;
export declare function deleteV2WebhooksWebhookIdRequestFromJSON(jsonString: string): SafeParseResult<DeleteV2WebhooksWebhookIdRequest, SDKValidationError>;
/** @internal */
export declare const DeleteV2WebhooksWebhookIdResponse$inboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type DeleteV2WebhooksWebhookIdResponse$Outbound = {};
/** @internal */
export declare const DeleteV2WebhooksWebhookIdResponse$outboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdResponse$Outbound, z.ZodTypeDef, DeleteV2WebhooksWebhookIdResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace DeleteV2WebhooksWebhookIdResponse$ {
/** @deprecated use `DeleteV2WebhooksWebhookIdResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `DeleteV2WebhooksWebhookIdResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<DeleteV2WebhooksWebhookIdResponse$Outbound, z.ZodTypeDef, DeleteV2WebhooksWebhookIdResponse>;
/** @deprecated use `DeleteV2WebhooksWebhookIdResponse$Outbound` instead. */
type Outbound = DeleteV2WebhooksWebhookIdResponse$Outbound;
}
export declare function deleteV2WebhooksWebhookIdResponseToJSON(deleteV2WebhooksWebhookIdResponse: DeleteV2WebhooksWebhookIdResponse): string;
export declare function deleteV2WebhooksWebhookIdResponseFromJSON(jsonString: string): SafeParseResult<DeleteV2WebhooksWebhookIdResponse, SDKValidationError>;
//# sourceMappingURL=deletev2webhookswebhookid.d.ts.map