import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type WebhookWebhooksOneGlobals = { /** * The ID of your Unify application */ appId?: string | undefined; }; export type WebhookWebhooksOneRequest = { /** * JWT Webhook token that represents the unifiedApi and applicationId associated to the event source. */ id: string; }; export type WebhookWebhooksOneResponse = { httpMeta: components.HTTPMetadata; /** * Webhooks */ getWebhookResponse?: components.GetWebhookResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const WebhookWebhooksOneGlobals$inboundSchema: z.ZodType; /** @internal */ export type WebhookWebhooksOneGlobals$Outbound = { appId?: string | undefined; }; /** @internal */ export declare const WebhookWebhooksOneGlobals$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace WebhookWebhooksOneGlobals$ { /** @deprecated use `WebhookWebhooksOneGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksOneGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksOneGlobals$Outbound` instead. */ type Outbound = WebhookWebhooksOneGlobals$Outbound; } export declare function webhookWebhooksOneGlobalsToJSON(webhookWebhooksOneGlobals: WebhookWebhooksOneGlobals): string; export declare function webhookWebhooksOneGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WebhookWebhooksOneRequest$inboundSchema: z.ZodType; /** @internal */ export type WebhookWebhooksOneRequest$Outbound = { id: string; }; /** @internal */ export declare const WebhookWebhooksOneRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace WebhookWebhooksOneRequest$ { /** @deprecated use `WebhookWebhooksOneRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksOneRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksOneRequest$Outbound` instead. */ type Outbound = WebhookWebhooksOneRequest$Outbound; } export declare function webhookWebhooksOneRequestToJSON(webhookWebhooksOneRequest: WebhookWebhooksOneRequest): string; export declare function webhookWebhooksOneRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WebhookWebhooksOneResponse$inboundSchema: z.ZodType; /** @internal */ export type WebhookWebhooksOneResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; GetWebhookResponse?: components.GetWebhookResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const WebhookWebhooksOneResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace WebhookWebhooksOneResponse$ { /** @deprecated use `WebhookWebhooksOneResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksOneResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksOneResponse$Outbound` instead. */ type Outbound = WebhookWebhooksOneResponse$Outbound; } export declare function webhookWebhooksOneResponseToJSON(webhookWebhooksOneResponse: WebhookWebhooksOneResponse): string; export declare function webhookWebhooksOneResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookwebhooksone.d.ts.map