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 WebhookWebhooksUpdateGlobals = { /** * The ID of your Unify application */ appId?: string | undefined; }; export type WebhookWebhooksUpdateRequest = { /** * JWT Webhook token that represents the unifiedApi and applicationId associated to the event source. */ id: string; updateWebhookRequest: components.UpdateWebhookRequest; }; export type WebhookWebhooksUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Webhooks */ updateWebhookResponse?: components.UpdateWebhookResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const WebhookWebhooksUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type WebhookWebhooksUpdateGlobals$Outbound = { appId?: string | undefined; }; /** @internal */ export declare const WebhookWebhooksUpdateGlobals$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 WebhookWebhooksUpdateGlobals$ { /** @deprecated use `WebhookWebhooksUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksUpdateGlobals$Outbound` instead. */ type Outbound = WebhookWebhooksUpdateGlobals$Outbound; } export declare function webhookWebhooksUpdateGlobalsToJSON(webhookWebhooksUpdateGlobals: WebhookWebhooksUpdateGlobals): string; export declare function webhookWebhooksUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WebhookWebhooksUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type WebhookWebhooksUpdateRequest$Outbound = { id: string; UpdateWebhookRequest: components.UpdateWebhookRequest$Outbound; }; /** @internal */ export declare const WebhookWebhooksUpdateRequest$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 WebhookWebhooksUpdateRequest$ { /** @deprecated use `WebhookWebhooksUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksUpdateRequest$Outbound` instead. */ type Outbound = WebhookWebhooksUpdateRequest$Outbound; } export declare function webhookWebhooksUpdateRequestToJSON(webhookWebhooksUpdateRequest: WebhookWebhooksUpdateRequest): string; export declare function webhookWebhooksUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WebhookWebhooksUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type WebhookWebhooksUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateWebhookResponse?: components.UpdateWebhookResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const WebhookWebhooksUpdateResponse$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 WebhookWebhooksUpdateResponse$ { /** @deprecated use `WebhookWebhooksUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WebhookWebhooksUpdateResponse$Outbound` instead. */ type Outbound = WebhookWebhooksUpdateResponse$Outbound; } export declare function webhookWebhooksUpdateResponseToJSON(webhookWebhooksUpdateResponse: WebhookWebhooksUpdateResponse): string; export declare function webhookWebhooksUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookwebhooksupdate.d.ts.map